41947 Commits

Author SHA1 Message Date
Douglas Eichelberger
c799f5f818 Allow Cask refs 2024-08-11 18:01:04 -07:00
Douglas Eichelberger
a41f15ede7 Make FromContentLoader.try_new typesafe 2024-08-11 17:10:55 -07:00
Douglas Eichelberger
52b25d71f5 Make Cask::Artifact::Installer typesafe 2024-08-11 16:56:20 -07:00
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
Patrick Linnane
d40e1707f2
Merge pull request #18017 from Homebrew/dependabot/bundler/Library/Homebrew/parallel-1.26.2 2024-08-11 10:25:58 -07:00
Ruoyu Zhong
d3e3610dce
Merge pull request #18016 from Homebrew/make-ruby-lsp-setup-executable
Make ruby-lsp-activate.sh executable
2024-08-12 01:18:08 +08: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
apainintheneck
9830c3522c Make ruby-lsp-activate.sh executable
My local shell was ignoring the shebang since it wasn't executable
and trying to load it with fish which failed. Making the script
executable solved that problem.

```console
$ chmod +ux .vscode/ruby-lsp-activate.sh
```
2024-08-11 10:04:36 -07: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
Patrick Linnane
1241f2c810
Merge pull request #18006 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11518 2024-08-10 08:42:10 -07: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
102dec893b
Merge pull request #18000 from Homebrew/formula-creator-no-interpolated-bin 2024-08-09 13:44:03 -07:00