Joseph Sweeney
9fff688bbe
Make comment more explicit
2024-04-30 10:51:11 -04:00
Joseph Sweeney
883c1e9907
Update attestation tests
2024-04-30 10:16:57 -04:00
Joseph Sweeney
0f5d19220c
Add comment explaining lack of signing workflow
2024-04-30 10:10:43 -04:00
Joseph Sweeney
65a90582b4
Remove a flag for backfill attestation checks
...
Some backfilled bottle signatures were signed from a branch, and others
from main, so the signing workflow is slightly different which causes
some bottles to incorrectly fail when checking their attestation (apr
for example). The simplest way to solve this is just removing the
backfill repo `cert-identity` check and just rely on the repository and
attestation date falling before our cutoff. This shouldn't meaningfully
affect security because if somehow someone could generate false backfill
attestations from a different workflow (the only case this protects
against), we will still catch it because the attestation would have been
generated after our cutoff date.
2024-04-30 09:52:04 -04:00
Mike McQuaid
60657d382b
Merge pull request #17185 from Homebrew/install_bundler_gems_consistently
...
Call `Homebrew.install_bundler_gems!` more consistently.
2024-04-30 12:17:24 +01:00
Mike McQuaid
45e0ce0635
Merge pull request #17186 from Homebrew/command_command_optimisation
...
Various improvements for `brew command`
2024-04-30 11:48:50 +01:00
Mike McQuaid
4ffcd8a110
Various improvements for brew command
...
- Add a (large) speedup by moving some logic to Bash for the typical
case of a normal or dev-cmd, Bash or Ruby command.
- Make `brew command` a non-developer command, I don't think it makes
sense to consider it something needed for developing Homebrew.
- Update the manpage/tests/RBI accordingly.
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2024-04-30 11:38:19 +01:00
Mike McQuaid
c9c8806be8
Merge pull request #17184 from reitermarkus/unneeded-extend
...
Remove disabled `extend`.
2024-04-30 10:48:58 +01:00
Mike McQuaid
aa6ea4be83
Call Homebrew.install_bundler_gems!
more consistently.
...
- Call `Homebrew.install_bundler_gems!` as early as possible
- Always call `Homebrew.install_bundler_gems!` in `dev-cmd` rather than
in `Library/Homebrew` helpers method (to ensure we don't accidentally
call this for non-dev-cmd commands)
2024-04-30 10:39:35 +01:00
Mike McQuaid
d474060eab
Merge pull request #17178 from Homebrew/gems_change_privilege
...
install-bundler-gems: `change_privilege` when necessary.
2024-04-30 10:08:03 +01:00
Markus Reiter
f7361c8d29
Remove disabled extend
.
2024-04-30 11:01:12 +02:00
Mike McQuaid
65f3df92d2
install-bundler-gems: change_privilege
when necessary.
...
This ensures that gems are able to be installed when using e.g.
`ruby -I` in their installation scripts.
2024-04-30 09:21:12 +01:00
Mike McQuaid
11348b348e
Merge pull request #17176 from mohawk2/patch-1
...
Cookbook document what `Operation not permitted` means
2024-04-30 09:05:27 +01:00
Carlo Cabrera
25d8c07a31
Merge pull request #17179 from Homebrew/auto_update_tap
2024-04-30 09:02:53 +01:00
Carlo Cabrera
7690eb3e61
Merge pull request #17182 from boblail/lail/warn+continue-when-unable-to-find-related-issues
2024-04-30 07:15:26 +01:00
Bob
461f49dcb6
fix: Display a warning but continue execution when dumping an exception and unable to find related issues
...
Occasionally, when failing to `brew install` or `brew upgrade` a formula, users will get an error message and the last line of it will be:
```
Error: Validation Failed: [{"message"=>"The listed users and repositories cannot be searched either because the resources do not exist or you do not have permission to view them.", "resource"=>"Search", "field"=>"q", "code"=>"invalid"}]
```
Here's an old public example: https://gitlab.com/tabos/rogerrouter/-/issues/21
At Square, this error can be caused by a transient issue with a user's GitHub credentials.
My proposal is that any error which prevents `brew` from showing related issues should:
1. Not cause `brew` to exit early (vs. printing diagnostic checks and doing any other cleanup)
2. Be clearly differentiated from the original failure (so it doesn't become a red herring for users troubleshooting their broken formula)
2024-04-29 11:47:01 -07:00
Mike McQuaid
ef1e365e43
Merge pull request #17180 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-sorbet-0.8.3
...
build(deps-dev): bump rubocop-sorbet from 0.8.2 to 0.8.3 in /Library/Homebrew
2024-04-29 19:21:43 +01:00
Mike McQuaid
40fc47512f
Merge pull request #17181 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-ast-1.31.3
...
build(deps-dev): bump rubocop-ast from 1.31.2 to 1.31.3 in /Library/Homebrew
2024-04-29 19:21:30 +01:00
BrewTestBot
6616363fe4
Update RBI files for rubocop-ast.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-04-29 18:11:05 +00:00
BrewTestBot
dbce7a8064
brew vendor-gems: commit updates.
2024-04-29 18:10:46 +00:00
BrewTestBot
16a7e56074
brew vendor-gems: commit updates.
2024-04-29 18:10:21 +00:00
dependabot[bot]
3fe63ed300
build(deps-dev): bump rubocop-ast in /Library/Homebrew
...
Bumps [rubocop-ast](https://github.com/rubocop/rubocop-ast ) from 1.31.2 to 1.31.3.
- [Release notes](https://github.com/rubocop/rubocop-ast/releases )
- [Changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop-ast/compare/v1.31.2...v1.31.3 )
---
updated-dependencies:
- dependency-name: rubocop-ast
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 18:09:45 +00:00
dependabot[bot]
55e5253ea3
build(deps-dev): bump rubocop-sorbet in /Library/Homebrew
...
Bumps [rubocop-sorbet](https://github.com/shopify/rubocop-sorbet ) from 0.8.2 to 0.8.3.
- [Release notes](https://github.com/shopify/rubocop-sorbet/releases )
- [Commits](https://github.com/shopify/rubocop-sorbet/compare/v0.8.2...v0.8.3 )
---
updated-dependencies:
- dependency-name: rubocop-sorbet
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 18:09:18 +00:00
Mike McQuaid
abd1b48e91
Merge pull request #17177 from Homebrew/bootsnap_raise_load_error
...
startup/bootsnap: raise repeated `LoadError`.
2024-04-29 17:52:47 +01:00
Mike McQuaid
ef49b5a537
brew.sh: auto-update 3rd-party taps more often.
...
When doing an `install`, `outdated` or `upgrade` and referring to a
formula or cask in a specific tap: you probably want to get the latest
version of that formula/cask more often than the default 1 or 24 hours.
Let's check for arguments for these commands that look appropriate and
auto-update every 5 minutes in that case.
2024-04-29 17:42:51 +01:00
Mike McQuaid
279f42a39c
startup/bootsnap: improve syntax.
...
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2024-04-29 17:42:34 +01:00
Mike McQuaid
c55a5e30dd
startup/bootsnap: raise repeated LoadError
.
...
If `HOMEBREW_BOOTSNAP_RETRY` was set then we should raise the
`LoadError` the second time so that the failures are user visible for
debugging.
2024-04-29 17:30:27 +01:00
mohawk2
cba3943ade
Cookbook document what Operation not permitted
means
2024-04-29 14:30:15 +01:00
Carlo Cabrera
c076a46c19
Merge pull request #17169 from Homebrew/no-oso_prefix-configure
2024-04-29 10:57:37 +01:00
Mike McQuaid
db22da9b50
Merge pull request #17168 from reitermarkus/tab-for-keg
...
Document `Tab.for_keg` and use `Keg#tab` where possible.
2024-04-29 08:35:17 +01:00
Patrick Linnane
c2ed3327c6
Merge pull request #17172 from Homebrew/dependabot/bundler/Library/Homebrew/parser-3.3.1.0
4.2.20
2024-04-28 20:05:42 -07:00
Patrick Linnane
4745329ebd
Merge pull request #17174 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.63.4
2024-04-28 20:03:15 -07:00
Patrick Linnane
5897108955
Merge pull request #17173 from Homebrew/dependabot/bundler/Library/Homebrew/multi-1fcff944a6
2024-04-28 19:58:35 -07:00
BrewTestBot
47ca0554fb
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-29 02:52:36 +00:00
BrewTestBot
434d5c8344
Update RBI files for parser.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-04-29 02:52:33 +00:00
BrewTestBot
1648e04e1b
brew vendor-gems: commit updates.
2024-04-29 02:48:26 +00:00
BrewTestBot
b209beee2f
brew vendor-gems: commit updates.
2024-04-29 02:47:52 +00:00
BrewTestBot
da5b3895f1
brew vendor-gems: commit updates.
2024-04-29 02:47:40 +00:00
dependabot[bot]
e0129ab263
build(deps-dev): bump rubocop from 1.63.3 to 1.63.4 in /Library/Homebrew
...
Bumps [rubocop](https://github.com/rubocop/rubocop ) from 1.63.3 to 1.63.4.
- [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.63.3...v1.63.4 )
---
updated-dependencies:
- dependency-name: rubocop
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 02:47:32 +00:00
dependabot[bot]
bebce9fa0b
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.11358 to 0.5.11361
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-static-and-runtime` from 0.5.11358 to 0.5.11361
- [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-29 02:47:00 +00:00
dependabot[bot]
5c94c61511
build(deps-dev): bump parser in /Library/Homebrew
...
Bumps [parser](https://github.com/whitequark/parser ) from 3.3.0.5 to 3.3.1.0.
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/whitequark/parser/compare/v3.3.0.5...v3.3.1.0 )
---
updated-dependencies:
- dependency-name: parser
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 02:46:25 +00:00
Markus Reiter
0b56d0be4a
Document Tab.for_keg
and use Keg#tab
where possible.
2024-04-28 20:50:13 +02:00
Markus Reiter
c26d10e4cb
Merge pull request #17170 from alebcay/backtrace-strict-typing
2024-04-28 20:33:54 +02:00
Markus Reiter
6d7b5067ca
Merge pull request #17171 from alebcay/gzip-strict-typing
...
utils/gzip: enable strict typing
2024-04-28 18:47:10 +02:00
Caleb Xu
985cc83008
utils/gzip: enable strict typing
2024-04-28 02:37:18 -04:00
Caleb Xu
783e72dc59
utils/backtrace: enable strict typing
2024-04-28 02:36:19 -04:00
Carlo Cabrera
c3c61767c7
shims/super/cc: avoid passing -oso_prefix
during configure
...
Fixes `configure` failures in Homebrew/homebrew-core#169893 .
2024-04-28 12:42:04 +08:00
Carlo Cabrera
5e027bffd6
Merge pull request #17149 from alebcay/elf-expand-origin
...
elf: expand $ORIGIN in RUNPATH/RPATH entries
2024-04-28 01:14:54 +08:00
Patrick Linnane
0bb104d6e1
Merge pull request #17166 from Homebrew/sorbet-files-update
2024-04-26 19:29:37 -07:00
BrewTestBot
8857272d51
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2024-04-27 00:19:14 +00:00