William Woodruff
1881a1f4bc
attestation: more docs
...
Signed-off-by: William Woodruff <william@yossarian.net>
2024-04-08 16:22:57 -04:00
William Woodruff
578c2bc9da
rubocop fixes
...
Signed-off-by: William Woodruff <william@yossarian.net>
2024-04-08 16:21:31 -04:00
William Woodruff
48e39bb51d
attestation: add initial attestation helpers
...
Adds the basic attestation verification APIs, as well
as a pre-pour check against `HOMEBREW_VERIFY_ATTESTATIONS`
that verifies the attestation (or backfill as necessary)
for bottles from homebrew-core.
Signed-off-by: William Woodruff <william@yossarian.net>
2024-04-08 16:18:15 -04:00
Douglas Eichelberger
c404dd9a05
Update tapioca config
2024-04-08 11:58:34 -07:00
Mike McQuaid
8baed211a7
brew style --fix
2024-04-08 19:23:33 +01:00
BrewTestBot
4de2b56e72
Update RBI files for rubocop.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-04-08 18:17:05 +00:00
BrewTestBot
4a59c45fa4
brew vendor-gems: commit updates.
2024-04-08 18:16:36 +00:00
dependabot[bot]
f322be0f1a
build(deps-dev): bump rubocop from 1.62.1 to 1.63.0 in /Library/Homebrew
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.62.1 to 1.63.0.
- [Release notes](https://github.com/rubocop/rubocop/releases )
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop/compare/v1.62.1...v1.63.0 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-08 18:15:45 +00:00
Mike McQuaid
56fc9a1fb2
Merge pull request #17047 from Homebrew/block-params
...
Prefer numbered block params over proc conversion, cont'd
2024-04-08 19:13:01 +01:00
Douglas Eichelberger
c59d9fa833
Prefer numbered block params over proc conversion, cont'd
2024-04-08 09:47:27 -07: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
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
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
Patrick Linnane
567386a13e
Merge pull request #17039 from Homebrew/dependabot/bundler/Library/Homebrew/multi-0bfa03a14f
2024-04-05 10:44:37 -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
Michael Cho
8a90d5a51d
manpages: move require
s after install_bundler_gems!
...
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-04-05 12:16:36 -04: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
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
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
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
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
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
apainintheneck
2d47193d22
cmd/untap: move module methods back into the cmd
...
The extra module was their to facilitate testing but now that
everything is properly namespaced and each command is an instance
we can just move the methods into the command. Since it's an
instance now we don't need to be as careful about caching either.
2024-04-03 22:06:19 -07:00
Mike McQuaid
ef19c9fc88
brew.rb: improve no auto-update exception handling.
...
Instead of unconditionally telling people to `brew update` rather than
not reporting the issue, only do so if they haven't run `brew update`
today.
2024-04-03 19:44:12 +01:00
Mike McQuaid
fcc190b5c6
Merge pull request #17015 from Homebrew/describe-class
...
Enable RSpec/DescribeClass
2024-04-03 19:27:45 +01:00
Patrick Linnane
916cefd981
Merge pull request #17016 from Homebrew/dependabot/bundler/Library/Homebrew/parallel_tests-4.6.1
2024-04-03 10:04:15 -07:00
BrewTestBot
b6788b6ffe
brew vendor-gems: commit updates.
2024-04-03 16:47:35 +00:00
BrewTestBot
868304f3ff
Update RBI files for parallel_tests.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-04-03 16:46:57 +00:00
BrewTestBot
1010f2fe23
brew vendor-gems: commit updates.
2024-04-03 16:46:42 +00:00