31889 Commits

Author SHA1 Message Date
danielbayley
9f11c81dbe Document zsh_function 2022-06-04 10:40:17 +01:00
Bo Anderson
b3e34c8b11
Merge pull request #13379 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2022-06-04 01:53:00 +01:00
BrewTestBot
608757bc90
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2022-06-04 00:24:40 +00:00
Sam Ford
ca9932fdd9
Merge pull request #13368 from samford/livecheck/sparkle-provide-channel-info-in-item
Sparkle: Provide channel information in Item
2022-06-03 16:16:20 -04:00
Mike McQuaid
05e8ed916a
Merge pull request #13375 from MikeMcQuaid/modified_formulae
cmd/update-report: use better wording when appropriate.
2022-06-03 19:52:24 +01:00
Mike McQuaid
8288897a8e
Merge pull request #13377 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-0.5.10063
build(deps-dev): bump sorbet-static-and-runtime from 0.5.10051 to 0.5.10063 in /Library/Homebrew
2022-06-03 19:39:33 +01:00
Mike McQuaid
04c8e02418
cmd/update-report: use better wording where appropriate.
From reading https://github.com/orgs/Homebrew/discussions/3328: I
initially thought we should just change "Updated" to "Modified" when
appropriate. After conversation with Bo98, though, I thought more and
saw that we're already checking for outdated formulae here so, rather
than ever traverse through the formula history, look at the outdated
formula and list them unless we've set
`HOMEBREW_UPDATE_REPORT_ALL_FORMULAE` in which case we show the
modifications.

While we're here, also do a bit of reformatting and renaming to better
clarify intent.
2022-06-03 19:23:38 +01:00
Mike McQuaid
5bf52d1ffe
Merge pull request #13376 from Bo98/portable-ruby-2.6.8_1
Portable Ruby 2.6.8_1
2022-06-03 19:19:22 +01:00
BrewTestBot
4cd1efea65
brew vendor-gems: commit updates. 2022-06-03 18:07:27 +00:00
dependabot[bot]
eccc8ce810
build(deps-dev): bump sorbet-static-and-runtime in /Library/Homebrew
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) from 0.5.10051 to 0.5.10063.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-03 18:04:44 +00:00
Bo Anderson
01a93edac3
Portable Ruby 2.6.8_1 2022-06-03 18:00:16 +01:00
Mike McQuaid
c4c020aba5
Merge pull request #13374 from MikeMcQuaid/fix_broken_manifest
software_spec: handle nil manifests_annotations.
2022-06-03 15:20:13 +01:00
Mike McQuaid
195e4d0f89
software_spec: handle nil manifests_annotations.
Fixes #13372
2022-06-03 14:50:01 +01:00
Mike McQuaid
e8fcb6af09
Merge pull request #13369 from Bo98/quarantine-fix
cask/quarantine: fix quarantine not working under some setups
2022-06-03 14:44:16 +01:00
Mike McQuaid
b6a37253d6
Merge pull request #13370 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-0.5.10051
build(deps-dev): bump sorbet-static-and-runtime from 0.5.10042 to 0.5.10051 in /Library/Homebrew
2022-06-03 14:44:06 +01:00
Mike McQuaid
dad871e38d
Merge pull request #13371 from Homebrew/dependabot/bundler/Library/Homebrew/yard-0.9.28
build(deps): bump yard from 0.9.27 to 0.9.28 in /Library/Homebrew
2022-06-03 14:43:52 +01:00
BrewTestBot
24def160b6
Update RBI files for yard. 2022-06-02 18:14:27 +00:00
BrewTestBot
369fa8d838
Update RBI files for sorbet-static-and-runtime. 2022-06-02 18:10:38 +00:00
BrewTestBot
d7f30e5336
brew vendor-gems: commit updates. 2022-06-02 18:10:00 +00:00
BrewTestBot
8272308f93
brew vendor-gems: commit updates. 2022-06-02 18:05:49 +00:00
dependabot[bot]
45698a2dc7
build(deps): bump yard from 0.9.27 to 0.9.28 in /Library/Homebrew
Bumps [yard](https://github.com/lsegal/yard) from 0.9.27 to 0.9.28.
- [Release notes](https://github.com/lsegal/yard/releases)
- [Changelog](https://github.com/lsegal/yard/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lsegal/yard/compare/v0.9.27...v0.9.28)

---
updated-dependencies:
- dependency-name: yard
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-02 18:04:05 +00:00
dependabot[bot]
1e9e51b6d4
build(deps-dev): bump sorbet-static-and-runtime in /Library/Homebrew
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) from 0.5.10042 to 0.5.10051.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-02 18:03:25 +00:00
Bo Anderson
9c3359afa1
cask/quarantine: fix quarantine not working under some setups 2022-06-02 18:53:46 +01:00
Sam Ford
71906c7f89
Tidy up Sparkle tests a bit 2022-06-02 10:36:33 -04:00
Sam Ford
c6907f911f
Sparkle: Provide channel information in Item
Making `channel` information available in the `Item` is necessary
to be able to filter out unstable items using a `strategy` block. If
an item doesn't specify a channel, then it uses the default channel
(this is what Sparkle itself uses for updates). Channels like `beta`
are something we want to avoid for stable casks and this allows for
that type of [cask-specific] filtering.

It's technically possible to automatically filter out items that
aren't using the default channel (i.e., `channel != nil`) in
`#items_from_content` but some casks use an unstable version, so we
can't do this internally. That is to say, we wouldn't be able to
override internal filtering in a `strategy` block, as any omitted
items wouldn't be provided to the block. Conversely, if we pass all
items to a `strategy` block, we can easily filter by channel there.
We haven't been filtering by channel internally and we've only found
one cask where this has been a problem, so it seems fine for now.
2022-06-02 10:35:00 -04:00
Sam Ford
68043d4e72
Merge pull request #13357 from samford/livecheck/sparkle-pass-all-items-into-strategy-block
Sparkle: Pass all items into strategy block
2022-06-02 08:10:40 -04:00
Mike McQuaid
e983c82573
Merge pull request #13363 from bevanjkay/rescue-cask-invalid
named_args: handle additional cask exception
2022-06-02 08:25:27 +01:00
Mike McQuaid
f00123ae84
Merge pull request #13365 from Bo98/exceptions-did_you_mean-fix
exceptions: fix did_you_mean error in some scenarios
2022-06-02 08:23:35 +01:00
Bo Anderson
c6a687713d
Merge pull request #13360 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-0.5.10042
build(deps-dev): bump sorbet-static-and-runtime from 0.5.10037 to 0.5.10042 in /Library/Homebrew
2022-06-02 06:26:01 +01:00
Bo Anderson
4cb0b1978c
exceptions: fix did_you_mean error in some scenarios 2022-06-02 05:54:42 +01:00
BrewTestBot
f268ec60fb
brew vendor-gems: commit updates. 2022-06-02 04:51:48 +00:00
dependabot[bot]
866c1ab111
build(deps-dev): bump sorbet-static-and-runtime in /Library/Homebrew
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) from 0.5.10037 to 0.5.10042.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-02 04:21:50 +00:00
Bo Anderson
17c3f8bd4e
Merge pull request #13364 from Bo98/frozen-version
version: tokenize prior to freezing
2022-06-02 03:55:35 +01:00
Bo Anderson
24717a8ac3
version: tokenize prior to freezing 2022-06-02 03:25:55 +01:00
Bevan Kay
183cbe0001
named_args: handle additional cask exception 2022-06-02 12:21:44 +10:00
Sam Ford
b4cb47815f
Sparkle: Pass all items into strategy block
It's sometimes necessary to work with all the items in a Sparkle feed
to be able to correctly identify the newest version but livecheck's
`Sparkle` strategy only passes the `item` it views as newest into a
`strategy` block.

This updates the `Sparkle` strategy to optionally pass all items into
a `strategy` block, so we can manipulate them (e.g., filtering,
sorting). This is enabled by naming the first argument of the
strategy block `items` instead of `item`. `Sparkle` `strategy` blocks
where the first argument is `item` will continue to work as expected.

This necessarily updates `#item_from_content` (now
`items_from_content`) to return all items. I've decided to move the
sorting out of `#items_from_content`, so it simply returns the items
in the order they appear. If there is ever an exceptional situation
where we need the original order, this will technically allow for it.

The sorting has instead been moved into the `#versions_from_content`
method, to maintain the existing behavior. I thought about passing
the items into the `strategy` block in their original order but it
feels like sorting by default is the better approach for now (partly
from the perspective of maintaining existing behavior) and we can
always revisit this in the future if a cask ever requires the
original order.

Lastly, this expands the `Sparkle` tests to increase coverage. The
only untested parts are `#find_versions` (which currently
requires a network request) and a couple safeguard `raise` calls
when there's a `REXML::UndefinedNamespaceException` (which shouldn't
be encountered unless something is broken).
2022-06-01 18:29:37 -04:00
Mike McQuaid
20c845d470
Merge pull request #13361 from EricFromCanada/superenv-blank-isysroot
superenv: avoid adding blank `--isysroot` flag
2022-06-01 19:35:50 +01:00
Mike McQuaid
9b2f2e41e8
Merge pull request #13358 from apainintheneck/fix-latest-svn
Fix :svn download errors with :latest casks
2022-06-01 19:13:53 +01:00
EricFromCanada
7c7d7a54c6
superenv: avoid adding blank --isysroot flag 2022-06-01 13:58:14 -04:00
apainintheneck
6f06236bca Fix :svn download errors with :latest casks 2022-06-01 09:04:54 -07:00
Mike McQuaid
bdc32c24cc
Merge pull request #12241 from cho-m/bump-cask-arch-lang
bump-cask-pr: bump language checksums in non-running hardware
2022-06-01 16:59:56 +01:00
Bo Anderson
4054728030
Merge pull request #13355 from Bo98/fake-el-capitan
os/mac: allow fake El Capitan setup for Portable Ruby builds
2022-05-31 18:31:26 +01:00
Bo Anderson
d857c8416d
os/mac: allow fake El Capitan setup for Portable Ruby builds 2022-05-31 17:56:25 +01:00
Mike McQuaid
9a48d24545
Merge pull request #13347 from MikeMcQuaid/3.5.0-deprecation-disable-delete
Disable and delete code for 3.5.0
2022-05-31 13:03:03 +01:00
Mike McQuaid
e41dade42f
Merge pull request #13348 from MikeMcQuaid/keg_like_cask_handling
named_args: better handle keg-like casks.
2022-05-31 09:28:54 +01:00
Mike McQuaid
fdefffc0a5
named_args: better handle keg-like casks.
Need to ensure we're using the installed caskfile when it's requested
and readable.

Follow-up from https://github.com/Homebrew/brew/pull/13289 addressing
https://github.com/Homebrew/brew/pull/13289#discussion_r884853652
2022-05-31 09:06:52 +01:00
Mike McQuaid
2d80148683
Merge pull request #13353 from Bo98/quarantine-test-improvement
test/cask/quarantine: improve audit test output
2022-05-31 09:06:02 +01:00
Bo Anderson
b63595a627
test/cask/quarantine: improve audit test output 2022-05-31 03:29:42 +01:00
Mike McQuaid
5585ec927b
Merge pull request #13352 from Homebrew/dependabot/bundler/Library/Homebrew/regexp_parser-2.5.0
build(deps): bump regexp_parser from 2.4.0 to 2.5.0 in /Library/Homebrew
2022-05-30 19:41:10 +01:00
Mike McQuaid
2270733293
Merge pull request #13351 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-0.5.10037
build(deps-dev): bump sorbet-static-and-runtime from 0.5.10032 to 0.5.10037 in /Library/Homebrew
2022-05-30 19:39:47 +01:00