Carlo Cabrera
a88d65acc7
cmd/list: list casks only if one is installed
2021-03-22 14:12:42 +00:00
Carlo Cabrera
8538970567
cmd/list: delineate formulae and casks
...
Listing everything without qualifying which is which is confusing for
some users.
Fixes #10897 .
2021-03-22 13:13:04 +00:00
Rylan Polster
0b214da4eb
tap: cleanup remote_repo
method
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-03-22 08:54:38 -04:00
Nanda H Krishna
a045cd7a61
Merge pull request #10867 from nandahkrishna/electron-builder-strategy
...
livecheck/strategy: add ElectronBuilder strategy
2021-03-22 17:41:43 +05:30
Mike McQuaid
0c98e3756d
Merge pull request #10891 from MikeMcQuaid/github_packages_skopeo
...
github_packages: use skopeo.
2021-03-22 12:04:14 +00:00
nandahkrishna
15102a3234
livecheck/strategy/electron_builder: address changes from review
...
Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2021-03-22 12:52:43 +05:30
Markus Reiter
169d8aca4c
Only raise Timeout::Error
if timeout
is specified.
2021-03-22 04:15:06 +01:00
Markus Reiter
7ad85116ef
Ignore timeout when checking for HTTPS availability.
2021-03-22 03:34:35 +01:00
Tom Hu
ff7c05a285
Merge branch 'master' into codecov-action
2021-03-21 14:58:03 -04:00
Rylan Polster
4e61f61a20
utils/github: handle non-standard tap remotes
2021-03-21 12:35:45 -04:00
Markus Reiter
b0fd4831d5
New casks should use livecheck
.
2021-03-20 22:20:55 +01:00
Bo Anderson
e49a338896
Implement caching for dependency expansion
2021-03-20 16:56:00 +00:00
nandahkrishna
f422b6cdc4
livecheck/strategy: add ElectronBuilder strategy
2021-03-20 15:23:09 +05:30
Mike McQuaid
74f31af8d4
github_packages: use skopeo.
...
`skopeo` allows replacing `docker` and `oras` with a single tool that
behaves in a way that's a little more intuitive for us (we build the
directory structure on disk and upload that). It seems to be better at
preserving our metadata, too.
Take the opportunity for writing out more metadata ourselves to split
out more logic into separate functions.
While we're here, fix the `download_strategy` timeout handling for
GitHub Packages.
2021-03-19 21:09:18 +00:00
Bo Anderson
dab04e3321
utils/popen: redirect stderr to /dev/null rather than close
2021-03-19 17:14:59 +00:00
Mike McQuaid
5588b6750c
Merge pull request #10885 from dkav/quiet-update
...
Replace tab with spaces and align indent
2021-03-19 09:38:23 +00:00
Bo Anderson
1b61d5a563
Merge pull request #10873 from Bo98/shell_commands_cop
...
Promote shell commands audit to global cop
2021-03-18 20:34:15 +00:00
Darren Kavanagh
40d09f59b6
Replace tab with spaces and align indent
2021-03-18 11:31:42 -07:00
Bo Anderson
8e98ce69f3
Stricter handling of CLI args
2021-03-18 16:41:57 +00:00
Bo Anderson
05f1c37ae0
Merge pull request #10877 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-sorbet-0.6.1
...
build(deps): bump rubocop-sorbet from 0.6.0 to 0.6.1 in /Library/Homebrew
2021-03-18 14:39:34 +00:00
Seeker
7cf8ef636d
Merge pull request #10683 from SeekingMeaning/bump-cask-pr-cpu
...
bump-cask-pr: support separate downloads for Intel and ARM
2021-03-18 07:12:47 -07:00
Mike McQuaid
f263e82eb3
Merge pull request #10872 from MikeMcQuaid/github_packages_metadata
...
github_packages: improve metadata.
2021-03-18 13:21:32 +00:00
Mike McQuaid
d55bdd3ddb
Merge pull request #10864 from reitermarkus/command-timeout
...
Allow specifying timeouts for commands and downloads.
2021-03-18 13:15:42 +00:00
Mike McQuaid
0f87bf38d7
github_packages: improve metadata.
...
- add more metadata to the images on upload
- stitch together images using Docker's CLI
- more code cleanup
2021-03-18 12:58:15 +00:00
BrewTestBot
fc9f219a0d
Update RBI files for rubocop-sorbet.
2021-03-18 06:01:52 +00:00
BrewTestBot
12ae43d936
brew vendor-gems: commit updates.
2021-03-18 06:00:35 +00:00
dependabot[bot]
a975bc9b7d
build(deps): bump rubocop-sorbet in /Library/Homebrew
...
Bumps [rubocop-sorbet](https://github.com/shopify/rubocop-sorbet ) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/shopify/rubocop-sorbet/releases )
- [Commits](https://github.com/shopify/rubocop-sorbet/compare/v0.6.0...v0.6.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-03-18 05:58:05 +00:00
Seeker
6aa4145e3c
bump-cask-pr: edit fetch_resource
to reduce code duplication
...
`fetch_resource` now returns a SHA-256 string instead of file path
2021-03-17 21:00:44 -07:00
Seeker
f65f0f9245
bump-cask-pr: add fetch_cask
helper method
2021-03-17 21:00:44 -07:00
Seeker
5f92d00244
bump-cask-pr: support separate downloads for Intel and ARM
2021-03-17 21:00:43 -07:00
Bo Anderson
3c3bf1c74d
Merge pull request #10865 from Bo98/fi-active_spec-sanity
...
formula_installer: don't warn about bottles when active spec is HEAD
2021-03-17 21:07:32 +00:00
Bo Anderson
20ff68a425
Fix brew style
.
2021-03-17 20:45:44 +00:00
Bo Anderson
9063945b3e
Promote shell commands audit to global cop
2021-03-17 20:45:41 +00:00
Bo Anderson
98b83064ec
Merge pull request #10871 from Bo98/cask_slash_audit
...
test/cask/audit_spec: add test for slashes in versions
2021-03-17 16:41:47 +00:00
Bo Anderson
a8522c6db6
test/cask/audit_spec: add test for slashes in versions
2021-03-17 14:25:50 +00:00
Nanda H Krishna
53f34af1c5
Merge pull request #10845 from nandahkrishna/fix-completions-zsh
...
completions: fix zsh autocompletion issues
2021-03-17 10:55:19 +05:30
Carlo Cabrera
09efb3f466
Merge pull request #10852 from carlocab/cmake-create
...
formula_creator: use tool-agnostic cmake commands
2021-03-17 02:08:13 +00:00
Lucendio
aceb021254
Move existence check into helper script
...
This way, it'll run as `root`, too.
2021-03-17 01:42:56 +01:00
Lucendio
7a22cda8dd
Fix broken rmdir script
...
Unfortunately, the removal shell script introduced in #10860 does not handle paths very well that dont exist, e.g.
* `find` runs before its `-exec` test, thus throws `find: "${path}": No such file or directory`
* it seem that `/bin/rmdir` is intended to break is certain cases, thus `-f` is not desired.
so, if `${path}` does not exist, it'll still break, which is most likely not one of those cases.
This change reintroduces a check for existence. This way, it is ensured that there is actually
a directory to be removed when invoking the script.
2021-03-17 00:35:08 +01:00
Bo Anderson
248ca231a2
formula_installer: don't warn about bottles when active spec is HEAD
2021-03-16 18:22:05 +00:00
Markus Reiter
712a95fdd0
Allow specifying timeouts for commands and downloads.
2021-03-16 18:15:21 +01:00
Mike McQuaid
59ada80ca7
Merge pull request #10863 from MikeMcQuaid/github_packages_bottle_domain
...
github_packages: fix HOMEBREW_BOTTLE_DOMAIN usage.
2021-03-16 15:48:54 +00:00
Mike McQuaid
7fc52d2065
github_packages: fix HOMEBREW_BOTTLE_DOMAIN usage.
...
This still worked but ended up always having a `/bottles-*/` part of the
URL that was unnecessary when using `HOMEBREW_BOTTLE_DOMAIN`.
2021-03-16 15:17:42 +00:00
Bo Anderson
977cad1599
download_strategy: take basename of response-content-disposition query
2021-03-16 15:06:17 +00:00
nandahkrishna
d73b335c77
completions: handle installed/outdated formulae and casks
2021-03-16 10:54:18 +05:30
Markus Reiter
1a4874dc62
Simplify package uninstallation.
2021-03-16 03:00:14 +01:00
Rylan Polster
1e37fbd362
Merge pull request #10850 from Rylan12/remove-homebrew-python-resoruces
...
language/python: remove outdated "homebrew-" resource handling
2021-03-15 20:14:35 -04:00
Rylan Polster
beb84c180d
Merge pull request #10849 from Rylan12/include-wheel
...
update-python-resources: include wheel in resources
2021-03-15 20:14:32 -04:00
Bo Anderson
acfe9d24d9
Merge pull request #10815 from Bo98/fi-more-perf
...
formula_installer: further reduce dependency calculations
2021-03-15 18:20:03 +00:00
Bo Anderson
fa8b80747a
test/formula_installer_spec: add tests for cyclic deps
2021-03-15 17:51:09 +00:00