41328 Commits

Author SHA1 Message Date
Mike McQuaid
6b3cac7b89
Merge pull request #18019 from Homebrew/safe-try-new 2024-08-12 14:21:44 +01:00
Mike McQuaid
fd14deaebd
Merge pull request #18011 from Homebrew/more-srb-strict-cmd 2024-08-12 14:21:18 +01:00
Mike McQuaid
e3f8081f0a
Merge pull request #18010 from apainintheneck/refactor-method-to-remove-extra-tap-requires 2024-08-12 14:21:04 +01:00
Mike McQuaid
fa53e7b1e5
Merge pull request #18022 from bevanjkay/update-report 4.3.15 2024-08-12 08:56:14 +01:00
Mike McQuaid
457a408c4b
Merge pull request #18009 from reitermarkus/token-auditor 2024-08-12 08:52:15 +01:00
Mike McQuaid
f021b7f12e
Merge pull request #17999 from ntkme/curlrc-analytics 2024-08-12 08:42:38 +01:00
Bevan Kay
0a9883a8dc
cmd/update-report: don't output cask updates on linux 2024-08-12 17:12:19 +10:00
Carlo Cabrera
c23c367837
Merge pull request #18021 from bevanjkay/caveat-fix 2024-08-12 15:07:24 +08:00
Bevan Kay
7e04c96c29
cask/dsl/caveats: fix rosetta caveat printing 2024-08-12 16:52:05 +10:00
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
Issy Long
2ec30c5973
cmd/search: Bump to Sorbet typed: strict 2024-08-11 20:51:04 +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
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
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
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
なつき
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
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
Patrick Linnane
112098cde3
Merge pull request #17994 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11517 2024-08-09 10:17:08 -07: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
2a32d390c4
Merge pull request #17993 from Homebrew/language_deps_required 2024-08-09 14:21:21 +01: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
Ruoyu Zhong
6026a632d5
Merge pull request #17992 from Homebrew/sponsors-maintainers-man-completions 2024-08-09 09:13:26 +08:00
BrewTestBot
b2a1ad519f
Update manpage and completions.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2024-08-09 00:07:01 +00:00