31881 Commits

Author SHA1 Message Date
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
dependabot[bot]
46dd21bac5
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.11323 to 0.5.11327
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-runtime` from 0.5.11323 to 0.5.11327
- [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-03 16:46:41 +00:00
dependabot[bot]
ff0a5ac009
build(deps-dev): bump parallel_tests in /Library/Homebrew
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 4.6.0 to 4.6.1.
- [Changelog](https://github.com/grosser/parallel_tests/blob/master/CHANGELOG.md)
- [Commits](https://github.com/grosser/parallel_tests/compare/v4.6.0...v4.6.1)

---
updated-dependencies:
- dependency-name: parallel_tests
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-03 16:45:36 +00:00
Douglas Eichelberger
f664433b5c Enable RSpec/DescribeClass 2024-04-03 09:12:47 -07:00
Mike McQuaid
ce5887a247
Merge pull request #17003 from Homebrew/more_do_not_report_issue
brew.rb: tell more people to not report issues.
2024-04-03 08:26:04 +01:00
Mike McQuaid
21d99c5e89
brew.rb: tell more people to not report issues.
- We should tell people to not report issues if they are running in an
  unsupported configuration.
- We should tell people to run `brew update` before reporting issues if
  they have `HOMEBREW_NO_AUTO_UPDATE` set.
- We should tell people to not report issues in more types of
  exceptions.
- Warn people in `HOMEBREW_NO_AUTO_UPDATE` documentation.
- DRY up `brew.rb` exception handling.

Co-authored-by: Colin Dean <colindean@users.noreply.github.com>
2024-04-03 08:16:01 +01:00
Bevan Kay
160e9d44dd
Revert "cask/audit: always enable codesign audit for casks" 2024-04-03 08:15:05 +11:00
Mike McQuaid
f0e442d88f
Merge pull request #17007 from Homebrew/remote-tap-tests
Clean up args_parse tests
2024-04-02 20:49:53 +01:00
Douglas Eichelberger
8ebcadd1c9 Clean up args_parse tests 2024-04-02 12:19:14 -07:00
Patrick Linnane
21dcf3cf83
Merge pull request #17006 from krehel/deprecate-disable-unsigned 2024-04-02 09:54:54 -07:00
Justin Krehel
81b2377b12
deprecate_disable: add unsigned reason 2024-04-02 11:27:02 -04:00
Patrick Linnane
b23db35047
Merge pull request #17005 from Homebrew/dependabot/bundler/Library/Homebrew/public_suffix-5.0.5 2024-04-02 07:57:08 -07:00
BrewTestBot
3d904b8512
Update RBI files for public_suffix.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-04-02 14:45:16 +00:00
BrewTestBot
faf3d24f4b
brew vendor-gems: commit updates. 2024-04-02 14:45:04 +00:00
BrewTestBot
535a8f4201
Update RBI files for sorbet-static-and-runtime-and-sorbet-runtime.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-04-02 14:44:34 +00:00
BrewTestBot
d8339391e0
brew vendor-gems: commit updates. 2024-04-02 14:44:23 +00:00
dependabot[bot]
feda34dade
build(deps): bump public_suffix from 5.0.4 to 5.0.5 in /Library/Homebrew
Bumps [public_suffix](https://github.com/weppos/publicsuffix-ruby) from 5.0.4 to 5.0.5.
- [Changelog](https://github.com/weppos/publicsuffix-ruby/blob/main/CHANGELOG.md)
- [Commits](https://github.com/weppos/publicsuffix-ruby/compare/v5.0.4...v5.0.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-02 14:44:05 +00:00
dependabot[bot]
c53d91c741
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.11319 to 0.5.11323
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-runtime` from 0.5.11319 to 0.5.11323
- [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-02 14:43:23 +00:00
Mike McQuaid
2d57103aff
Merge pull request #17002 from bevanjkay/enable-signing
cask/audit: always enable codesign audit for casks
2024-04-02 13:15:05 +01:00
Bevan Kay
038a3eb155
cask/audit: always enable codesign audit for casks 2024-04-02 21:53:07 +11:00
PikachuEXE
5f6cd3ed77
make more token types work as $HOMEBREW_GITHUB_API_TOKEN
Tokens of different token type(s) can be generated in GitHub Workflows by GitHub Apps

See doc & blog about token types
https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/about-authentication-to-github#githubs-token-formats
https://github.blog/2021-04-05-behind-githubs-new-authentication-token-formats/
2024-04-02 16:18:59 +08:00
Mike McQuaid
0b98c50866
Merge pull request #16998 from Homebrew/ported-cmds
Port remaining commands to use AbstractCommand
2024-04-02 09:00:44 +01:00
Douglas Eichelberger
3f856f6516 Port Homebrew::Cmd::Repository 2024-04-01 16:02:41 -07:00
Douglas Eichelberger
6a1d43337c Port Homebrew::Cmd::Prefix 2024-04-01 16:00:47 -07:00
Douglas Eichelberger
b56e0b733d Port Homebrew::Cmd::Env 2024-04-01 15:58:07 -07:00
Douglas Eichelberger
754151fcb8 Port Homebrew::Cmd::Cellar 2024-04-01 15:56:06 -07:00
Douglas Eichelberger
102051c35d Port Homebrew::Cmd::Caskroom 2024-04-01 15:54:03 -07:00
Douglas Eichelberger
7bbf0a3206 Port Homebrew::Cmd::Cache 2024-04-01 15:53:56 -07:00
Douglas Eichelberger
6d716a7d69 Missed one 2024-04-01 12:09:20 -07:00
Douglas Eichelberger
fdc95d02c8 Port Homebrew::Cmd::Uses 2024-04-01 12:01:37 -07:00
Douglas Eichelberger
1362890f2a Port Homebrew::Cmd::Upgrade 2024-04-01 11:58:35 -07:00
Douglas Eichelberger
d5add6565c Port Homebrew::Cmd::UpdateReport 2024-04-01 11:58:20 -07:00
Douglas Eichelberger
48f4adad33 Port Homebrew::Cmd::Untap 2024-04-01 11:50:25 -07:00
Douglas Eichelberger
f8caae06f7 Port Homebrew::Cmd::Unpin 2024-04-01 11:48:40 -07:00
Douglas Eichelberger
5ccb0b0567 Port Homebrew::Cmd::Unlink 2024-04-01 11:47:18 -07:00
Douglas Eichelberger
4cf9ef831a Port Homebrew::Cmd::Uninstall 2024-04-01 11:46:01 -07:00
Douglas Eichelberger
841cfd9fdc Port Homebrew::Cmd::Tap 2024-04-01 11:43:52 -07:00
Michael Cho
de00f76115
service: allow Pathname in array for #run
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-04-01 14:30:10 -04:00
Douglas Eichelberger
be42d46d49 Port Homebrew::Cmd::TapInfo 2024-04-01 10:15:28 -07:00
Douglas Eichelberger
5495ff1eea Port Homebrew::Cmd::Search 2024-04-01 10:12:52 -07:00
Douglas Eichelberger
d875c970e9 Port Homebrew::Cmd::Reinstall 2024-04-01 10:09:48 -07:00