You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Iterate `[:macos, :linux] × [:intel, :arm]` (4 combos) for verifying
multi-platform cask URLs and checksums in a single command, instead
of `--os=all --arch=all` which iterates every macOS codename.
- Tolerate `CaskInvalidError`/`CaskUnreadableError` during multi-combo
fetches for casks that legitimately omit some platforms (mirrors the
`bump-cask-pr.rb` rescue pattern).
Signed-off-by: Patrick Linnane <patrick@linnane.io>
Copy file name to clipboardExpand all lines: completions/zsh/_brew
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1274,16 +1274,17 @@ _brew_extract() {
1274
1274
_brew_fetch() {
1275
1275
_arguments \
1276
1276
'(--cask)--HEAD[Fetch HEAD version instead of stable version]' \
1277
-
'(--bottle-tag)--arch[Download for the given CPU architecture. (Pass `all` to download for all architectures.)]' \
1278
-
'(--build-from-source --build-bottle --force-bottle --cask --os --arch)--bottle-tag[Download a bottle for given tag]' \
1277
+
'(--os --arch --bottle-tag)--all-platforms[Download for every supported OS and CPU architecture combination]' \
1278
+
'(--bottle-tag --all-platforms)--arch[Download for the given CPU architecture. (Pass `all` to download for all architectures.)]' \
1279
+
'(--build-from-source --build-bottle --force-bottle --cask --os --arch --all-platforms)--bottle-tag[Download a bottle for given tag]' \
1279
1280
'(--build-from-source --force-bottle --bottle-tag --cask)--build-bottle[Download source packages (for eventual bottling) rather than a bottle]' \
1280
1281
'(--build-bottle --force-bottle --bottle-tag)--build-from-source[Download source packages rather than a bottle]' \
1281
1282
'--debug[Display any debugging information]' \
1282
1283
'(--cask)--deps[Also download dependencies for any listed formula]' \
1283
1284
'--force[Remove a previously cached version and re-fetch]' \
1284
1285
'(--build-from-source --build-bottle --bottle-tag --cask)--force-bottle[Download a bottle if it exists for the current or newest version of macOS, even if it would not be used during installation]' \
1285
1286
'--help[Show this message]' \
1286
-
'(--bottle-tag)--os[Download for the given operating system. (Pass `all` to download for all operating systems.)]' \
1287
+
'(--bottle-tag --all-platforms)--os[Download for the given operating system. (Pass `all` to download for all operating systems.)]' \
1287
1288
'--quiet[Make some output more quiet]' \
1288
1289
'--retry[Retry if downloading fails or re-download if the checksum of a previously cached version no longer matches. Tries at most 5 times with exponential backoff]' \
1289
1290
'--verbose[Do a verbose VCS checkout, if the URL represents a VCS. This is useful for seeing if an existing VCS cache has been updated]' \
0 commit comments