39682 Commits

Author SHA1 Message Date
Douglas Eichelberger
c59d9fa833 Prefer numbered block params over proc conversion, cont'd 2024-04-08 09:47:27 -07:00
BrewTestBot
39b429aa4b
Update maintainers.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2024-04-08 16:35:04 +00:00
Mike McQuaid
3c910b94c1
Merge pull request #17037 from Homebrew/more_forbidden
Add more `HOMEBREW_FORBIDDEN_*` configuration
2024-04-08 17:33:47 +01:00
Mike McQuaid
1474806527
Add more HOMEBREW_FORBIDDEN_* configuration
We already had `HOMEBREW_FORBIDDEN_LICENSES` but this commit adds
`HOMEBREW_FORBIDDEN_CASKS`, `HOMEBREW_FORBIDDEN_FORMULAE` and
`HOMEBREW_FORBIDDEN_TAPS` for also forbidding those.

Relatedly, add `HOMEBREW_FORBIDDEN_OWNER` and
`HOMEBREW_FORBIDDEN_OWNER_CONTACT` to allow customising these
messages.

There were no existing tests for `HOMEBREW_FORBIDDEN_LICENSES` so have
added more tests for all of these checks.

Co-authored-by: Bo Anderson <mail@boanderson.me>
2024-04-08 16:38:32 +01:00
Mike McQuaid
0e9b2e3da1
Merge pull request #17043 from Homebrew/bump_cask_pr_content_loader
dev-cmd/bump-cask-pr: use FromContentLoader when relevant.
2024-04-08 14:19:53 +01:00
Mike McQuaid
3e7386f8b8
Merge pull request #17045 from Homebrew/help_description
cmd/help: add description and arguments.
2024-04-08 14:19:39 +01:00
Mike McQuaid
5c48226018
cmd/help: add description and arguments.
This allows an accurate manpage description of `brew help`.

Also commit the various other required changes to completions and
manpage.
2024-04-08 13:35:25 +01:00
Mike McQuaid
27f47bafbc
dev-cmd/bump-cask-pr: use FromContentLoader when relevant.
When loading from `tmp_contents` in `bump-cask-pr` we're always loading
from the contents and not from a e.g. filename etc. As a result, skip
the detection of the correct loader (as the regex can be a bit flaky)
and instead use `FromContentLoader` directly.
2024-04-08 13:25:59 +01:00
Mike McQuaid
138b7b2e4b
Merge pull request #17042 from Homebrew/github-arm
github_runner_matrix: support GitHub-hosted M1 macOS runners
2024-04-08 08:49:42 +01:00
Carlo Cabrera
d9cd55eca9
github_runner_matrix: support GitHub-hosted M1 macOS runners
Also, we don't build for Big Sur anymore, so remove the special case for
Big Sur timeouts here.
2024-04-08 15:34:26 +08:00
Ruoyu Zhong
0476c2e5e4
Merge pull request #17041 from cho-m/docs-linux-only-label
docs: update info as `linux-only` labels are automerged
4.2.17
2024-04-07 06:56:18 +08:00
Michael Cho
17d797789c
docs: update info as linux-only labels are automerged
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-04-06 12:33:17 -04:00
Patrick Linnane
567386a13e
Merge pull request #17039 from Homebrew/dependabot/bundler/Library/Homebrew/multi-0bfa03a14f 2024-04-05 10:44:37 -07:00
Patrick Linnane
72a3715805
Merge pull request #17040 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rspec-2.29.1 2024-04-05 10:43:22 -07:00
BrewTestBot
728c56af56
brew vendor-gems: commit updates. 2024-04-05 17:22:27 +00:00
BrewTestBot
4dcbfd2705
brew vendor-gems: commit updates. 2024-04-05 17:21:55 +00:00
dependabot[bot]
24e2eba908
build(deps-dev): bump rubocop-rspec in /Library/Homebrew
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.27.1 to 2.29.1.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v2.27.1...v2.29.1)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-05 17:21:37 +00:00
dependabot[bot]
77c5c581a4
build(deps): bump sorbet-runtime and sorbet-static-and-runtime
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet) and [sorbet-static-and-runtime](https://github.com/sorbet/sorbet). These dependencies needed to be updated together.

Updates `sorbet-runtime` from 0.5.11330 to 0.5.11332
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static-and-runtime` from 0.5.11330 to 0.5.11332
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-05 17:21:05 +00:00
Mike McQuaid
e55f9e5d20
Merge pull request #17036 from cho-m/manpages-defer-require
manpages: move `require`s after `install_bundler_gems!`
2024-04-05 17:31:32 +01:00
Michael Cho
8a90d5a51d
manpages: move requires after install_bundler_gems!
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-04-05 12:16:36 -04:00
Mike McQuaid
dcf80b680e
Merge pull request #17035 from cho-m/resource_requires_dependencies-avoid-stacktrace
rubocops/resource_requires_dependencies: check `sym_type?`
2024-04-05 15:38:11 +01:00
Michael Cho
747e95b159
rubocops/resource_requires_dependencies: check sym_type?
Avoid running `#value` on unsupported types by selecting only symbol
nodes as we only care about `:build` value.

Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-04-05 10:23:02 -04:00
Mike McQuaid
ad196e057b
Merge pull request #17032 from cho-m/audit-allow-lxml-build-resource
rubocops/resource_requires_dependencies: allow `lxml` build resource
2024-04-05 13:26:31 +01:00
Mike McQuaid
af39e5f68b
Merge pull request #17033 from Homebrew/irb-ergonomics
Add IRB H = Homebrew alias
2024-04-05 08:46:57 +01:00
Douglas Eichelberger
351f14f9f4 Add IRB H = Homebrew alias 2024-04-04 19:15:59 -07:00
Michael Cho
a7e5e7b8e8
rubocops/resource_requires_dependencies: allow lxml build resource
Specifically, a `lxml` build resource can depend on build-only `libxml2`
and `libxslt`; however, these were not detected in previous audit since
the dependency would be a hash.

Also change message if Linux-only formula.

These changes are both needed for `systemd`.

Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-04-04 19:53:13 -04:00
Patrick Linnane
9bd03675f6
Merge pull request #17024 from Homebrew/dependabot/github_actions/codecov/codecov-action-4.2.0 2024-04-04 12:27:10 -07:00
dependabot[bot]
702e763821
build(deps): bump codecov/codecov-action from 4.1.1 to 4.2.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.1.1 to 4.2.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](c16abc29c9...7afa10ed9b)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-04 19:16:26 +00:00
Ruoyu Zhong
a2c59c02a3
Merge pull request #17029 from Homebrew/dependabot/bundler/Library/Homebrew/rbi-0.1.10 2024-04-05 03:03:33 +08:00
BrewTestBot
34a1034858
Update RBI files for rbi.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-04-04 18:48:07 +00:00
BrewTestBot
8a57cbb559
brew vendor-gems: commit updates. 2024-04-04 18:47:52 +00:00
dependabot[bot]
8dd6132abc
build(deps-dev): bump rbi from 0.1.9 to 0.1.10 in /Library/Homebrew
Bumps [rbi](https://github.com/Shopify/rbi) from 0.1.9 to 0.1.10.
- [Release notes](https://github.com/Shopify/rbi/releases)
- [Commits](https://github.com/Shopify/rbi/compare/v0.1.9...v0.1.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-04 18:46:51 +00:00
Douglas Eichelberger
2dc184a2ad
Merge pull request #17028 from Homebrew/fix-cmd-test
Restrict AbstractCommand test to commands in repo
2024-04-04 10:02:56 -07:00
Douglas Eichelberger
8d1fa05530 Restrict AbstractCommand test to commands in repo 2024-04-04 09:48:17 -07:00
Patrick Linnane
bb21d00b05
Merge pull request #17025 from Homebrew/dependabot/bundler/Library/Homebrew/json-2.7.2 2024-04-04 08:40:53 -07:00
Patrick Linnane
dd7e131d56
Merge pull request #17026 from Homebrew/dependabot/bundler/Library/Homebrew/multi-a11a39c8cb 2024-04-04 08:40:13 -07:00
BrewTestBot
555e6f8b3d
Update RBI files for multi.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-04-04 15:13:06 +00:00
BrewTestBot
9373c08c05
brew vendor-gems: commit updates. 2024-04-04 15:12:56 +00:00
BrewTestBot
b3421e9c56
Update RBI files for json.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-04-04 15:12:28 +00:00
BrewTestBot
22d0331754
brew vendor-gems: commit updates. 2024-04-04 15:12:18 +00:00
dependabot[bot]
865ed7b95e
build(deps): bump sorbet-static-and-runtime and sorbet-runtime
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) and [sorbet-runtime](https://github.com/sorbet/sorbet). These dependencies needed to be updated together.

Updates `sorbet-static-and-runtime` from 0.5.11327 to 0.5.11330
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-runtime` from 0.5.11327 to 0.5.11330
- [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
- dependency-name: sorbet-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-04 15:12:04 +00:00
dependabot[bot]
103126a745
build(deps-dev): bump json from 2.7.1 to 2.7.2 in /Library/Homebrew
Bumps [json](https://github.com/flori/json) from 2.7.1 to 2.7.2.
- [Release notes](https://github.com/flori/json/releases)
- [Changelog](https://github.com/flori/json/blob/master/CHANGES.md)
- [Commits](https://github.com/flori/json/compare/v2.7.1...v2.7.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-04 15:11:27 +00:00
Mike McQuaid
74da9e7e58
Merge pull request #17022 from Homebrew/brew_runtime_error_restore
brew.rb: restore old runtime error handling.
2024-04-04 10:40:57 +01:00
Mike McQuaid
a1e24eeb5e
Merge pull request #17023 from Homebrew/bump_skip_repology
dev-cmd/bump: unconditionally skip Repology queries for now.
2024-04-04 09:55:29 +01:00
Mike McQuaid
acb7f45cfd
dev-cmd/bump: unconditionally skip Repology queries for now.
We've been blocked by Repology so let's stop querying them for now.

Fixes #17021.
2024-04-04 09:43:44 +01:00
Mike McQuaid
2fe08b139e
Merge pull request #17020 from Homebrew/sorbet-euid
dev-cmd/typecheck: use EUID with sorbet
2024-04-04 08:58:36 +01:00
Mike McQuaid
3fe5cad8dd
brew.rb: restore old runtime error handling.
We don't want to print the report/do not report messages for these.
2024-04-04 08:51:27 +01:00
Bo Anderson
27ca946c06
dev-cmd/typecheck: use EUID with sorbet 2024-04-04 08:47:32 +01:00
Mike McQuaid
96878e869d
Merge pull request #17018 from Homebrew/brew_auto_update_exception
brew.rb: improve no auto-update exception handling.
2024-04-04 08:25:43 +01:00
Kevin
044e48b816
Merge pull request #17012 from Homebrew/move-untap-module-into-cmd
cmd/untap: move module methods back into the cmd
2024-04-03 22:16:13 -07:00