32085 Commits

Author SHA1 Message Date
Issy Long
2ec30c5973
cmd/search: Bump to Sorbet typed: strict 2024-08-11 20:51:04 +01:00
Issy Long
621ddc60d1
formula_auditor: repo should never be nil, so use T.must
https://github.com/Homebrew/brew/pull/18004#discussion_r1712680763
2024-08-11 20:32:22 +01:00
BrewTestBot
0b8d27417d
brew vendor-gems: commit updates. 2024-08-11 17:14:50 +00:00
dependabot[bot]
d2f9577f62
build(deps-dev): bump parallel in /Library/Homebrew
Bumps [parallel](https://github.com/grosser/parallel) from 1.26.1 to 1.26.2.
- [Commits](https://github.com/grosser/parallel/compare/v1.26.1...v1.26.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-11 17:12:47 +00:00
Carlo Cabrera
87b0800a6c
Merge pull request #18003 from metacollin/faster_formulae 2024-08-11 10:20:10 +08:00
apainintheneck
1fe16a5e35 Address feedback
- Move HOMEBREW_TAP_DIRECTORY to startup/config.rb because this file
holds more of the directory constants
- Rename `Commands.cmd_directories` to `Commands.tap_cmd_directories`
to better express that the commands come from taps

This file has the directory constants while the other one has regexes.
Just better organization.
2024-08-10 17:52:26 -07:00
Issy Long
3433c938b7
cmd/gist-logs: Bump to Sorbet typed: strict 2024-08-11 00:09:14 +01:00
Issy Long
0272c6efb2
cmd/link: Bump to Sorbet typed: strict 2024-08-10 23:58:53 +01:00
Issy Long
fc3c138cb0
extend/os/linux/cmd/update-report: Bump to Sorbet typed: strict 2024-08-10 23:55:14 +01:00
Issy Long
e42863fc4a
cmd/home: Bump to Sorbet typed: strict 2024-08-10 23:55:14 +01:00
Issy Long
69aadd7e49
cmd/options: Bump to Sorbet typed: strict 2024-08-10 23:55:14 +01:00
Issy Long
b0154f36a5
cmd/uses: Bump to Sorbet typed: strict 2024-08-10 23:55:14 +01:00
Issy Long
10dc874b1e
cmd/tap-info: Bump to Sorbet typed: strict 2024-08-10 23:55:14 +01:00
Issy Long
4ff3e370e0
cmd/outdated: Bump to Sorbet typed: strict 2024-08-10 23:55:13 +01:00
Issy Long
6d8c21bd7a
cmd/leaves: Bump to Sorbet typed: strict 2024-08-10 23:55:13 +01:00
Issy Long
686b5afa05
cmd/list: Bump to Sorbet typed: strict 2024-08-10 23:55:13 +01:00
Scott Searcy
17855638c2 Update Fish shell environment script
Fish didn't support `$(...)` substitution until v3.4.0, but the command
didn't work with just parenthesis, so rewrite the test to prepend an
empty string if MANPATH is non-empty (to trigger a leading colon).
Only manipulate INFOPATH in Fish if Homebrew not in path already.
2024-08-10 14:34:59 -07:00
Issy Long
6cc4d6dacb
cmd/--prefix: Bump to Sorbet typed: strict 2024-08-10 22:17:05 +01:00
apainintheneck
a3e917afe1 Refactor method to remove extra tap requires
We were selectively requiring the tap.rb file in a few places for
performance reasons. The main method we were referencing was the
`Tap.cmd_directories` method which uses `Pathname` and the `TAP_DIRECTORY`
constant internally. `Tap.cmd_directories` is mostly used in the `Commands`
module and that is loaded very early on in the program so it made sense
to move that command to that module. To facilitate that I moved the
`TAP_DIRECTORY` constant to the top-level and renamed it to
`HOMEBREW_TAP_DIRECTORY`. It now lies in the tap_constants.rb file.

A nice bonus of this refactor is that it speeds up loading external
commands since the tap.rb file is no longer required by default in
those cases.
2024-08-10 13:49:10 -07:00
Douglas Eichelberger
f7e17713a2 Update message, as there is a replacement 2024-08-10 11:55:43 -07:00
Douglas Eichelberger
d554c11b4c Add docs link 2024-08-10 11:20:53 -07:00
Douglas Eichelberger
cefae82307 Fix tests 2024-08-10 11:20:53 -07:00
Douglas Eichelberger
a0a7f355d5 Create dummy brew cmd 2024-08-10 11:20:53 -07:00
Douglas Eichelberger
4fd659797f Deprecate invoking commands in the old style 2024-08-10 11:20:47 -07:00
Markus Reiter
b0508fe73a
Relax cask token regex. 2024-08-10 20:04:21 +02:00
Markus Reiter
8e08a698d1
Merge pull request #17562 from reitermarkus/token-auditor
Share code between cask token and formula name audits.
2024-08-10 19:46:32 +02:00
Issy Long
b6fbd51f0e
Use Pathname#read again but with force_encoding
Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
2024-08-10 17:24:05 +01:00
Issy Long
0355f07e0d
utils/shared_audits: Bump to Sorbet typed: strict 2024-08-10 16:43:37 +01:00
Issy Long
7defe755c0
unlink: Bump to Sorbet typed: strict 2024-08-10 16:43:37 +01:00
Issy Long
e9cb08f431
utils/service: Bump to Sorbet typed: strict 2024-08-10 16:43:37 +01:00
Issy Long
4bfbc6a4ff
readall: Bump to Sorbet typed: strict 2024-08-10 16:43:32 +01:00
BrewTestBot
f360da5f34
brew vendor-gems: commit updates. 2024-08-10 15:31:12 +00:00
dependabot[bot]
eaab630cc6
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11517 to 0.5.11518.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-10 15:29:23 +00:00
metacollin
8a46b295c2 added .git folder to the omit by name for find in items 2024-08-10 06:09:22 -06:00
Issy Long
ef9520cd6c
utils/svn: Bump to Sorbet typed: strict 2024-08-10 12:59:51 +01:00
Issy Long
29a3ede4b1
utils/user: Bump to Sorbet typed: strict 2024-08-10 00:31:58 +01:00
Issy Long
058688f239
utils/link: Bump to Sorbet typed: strict 2024-08-10 00:23:29 +01:00
Issy Long
c62ee6be6c
extend/os/mac/utils/bottles: Bump to Sorbet typed: strict 2024-08-10 00:21:13 +01:00
Issy Long
becc4991d0
missing_formula: Bump to Sorbet typed: strict 2024-08-10 00:21:12 +01:00
Issy Long
87e5fedc16
metafiles: Bump to Sorbet typed: strict 2024-08-10 00:21:12 +01:00
なつき
2e2db25496 Use spawn to replace fork + exec 2024-08-09 14:16:36 -07:00
なつき
5442a7e34f Honor homebrew curlrc config for analytics 2024-08-09 14:16:36 -07:00
Patrick Linnane
665578584a
formula_creator: don't recommend interpolating bin
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-08-09 11:58:51 -07:00
Issy Long
87440322e2
Merge pull request #17997 from Homebrew/srb-more-undefs-cant-be-strict
sorbet: Comment more files that can't be `strict` because of `undef`
2024-08-09 18:50:49 +01:00
Issy Long
0e81efcccb
sorbet: Comment more files that can't be strict because of undef
- Found with
  `grep -rL "# typed: strict" Library/Homebrew | xargs grep -l "undef "`.
- This stops people from trying to bump them and
  getting an error that they can't fix because
  [it's a Sorbet limitation](https://sorbet.org/docs/error-reference#3008),
  wasting contributor time.
2024-08-09 18:23:00 +01:00
BrewTestBot
53a27cc0ab
brew vendor-gems: commit updates. 2024-08-09 17:05:02 +00:00
dependabot[bot]
3d20c4f308
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11514 to 0.5.11517.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-09 17:03:43 +00:00
Mike McQuaid
debdc30aa0
language/*: only check required deps in detected_*_shebang
Otherwise, we rewrite this even when we have a e.g. build or test
dependency on NodeJS.

See context in:
https://github.com/Homebrew/homebrew-core/issues/176257#issuecomment-2277602215
2024-08-09 14:08:29 +01:00
Patrick Linnane
940dcc14e0
Merge pull request #17990 from Homebrew/dependabot/bundler/Library/Homebrew/parser-3.3.4.2 2024-08-08 14:00:51 -07:00
Patrick Linnane
27c173a9ff
Merge pull request #17991 from Homebrew/dependabot/bundler/Library/Homebrew/ruby-lsp-0.17.12 2024-08-08 13:58:29 -07:00