40980 Commits

Author SHA1 Message Date
BrewTestBot
4fc3bb59c0
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-07-07 19:09:27 +00:00
Mike McQuaid
2e2dc59e8d
Merge pull request #17638 from Kentzo/extract-git-version-typo 2024-07-07 20:08:39 +01:00
BrewTestBot
cbf576c49a
brew vendor-gems: commit updates. 2024-07-07 17:57:18 +00:00
dependabot[bot]
23f011b786
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11471 to 0.5.11473.
- [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-07-07 17:56:29 +00:00
dependabot[bot]
7978d1056b
build(deps): bump ruby/setup-ruby from 1.184.0 to 1.185.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.184.0 to 1.185.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb)
- [Commits](97e35c5302...3a77c29278)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-07 17:56:28 +00:00
Ilya Kulakov
1a6f6f0c5e
Update Library/Homebrew/dev-cmd/extract.rb
Co-authored-by: Ruoyu Zhong <zhongruoyu@outlook.com>
2024-07-06 10:57:51 -07:00
Issy Long
0a18f77de4
Apply suggestions from code review 2024-07-06 15:22:08 +01:00
Ilya Kulakov
a1f9f501e2 extract: Fix missing '--git-revision' in the usage banner 2024-07-05 17:27:22 -07:00
Issy Long
cd1869437d
unpack_strategy: Convert to Sorbet typed: strict 2024-07-05 18:48:02 +01:00
Adrian Ho
4ff36552f6 shellenv: prepend colon to MANPATH if set
The current appended colon means system man pages always shadow
Homebrew's. There's also no point adding Homebrew's man dir, nor
filling out an empty MANPATH, since `man` and friends will add the
necessary dirs according to PATH.

Closes https://github.com/Homebrew/homebrew-core/issues/176037.

Also fixed a syntax error in the `*csh` INFOPATH setting.
2024-07-06 01:46:22 +08:00
Issy Long
ed4b6d4246
development_tools: Convert to Sorbet typed: strict 2024-07-05 18:17:31 +01:00
Rylan Polster
dd510a5606
Improve test coverage 2024-07-05 10:47:05 -04:00
Issy Long
fdd7fdd2f6
formula_assertions: Convert to Sorbet typed: strict 2024-07-05 15:37:59 +01:00
Issy Long
bd9c7777e8
utils/shebang: Convert to Sorbet typed: strict 2024-07-05 15:37:59 +01:00
Rylan Polster
79fd5ee2b7
Refactor tap and versions 2024-07-05 10:07:30 -04:00
Mike McQuaid
8c4c7319fc
Merge pull request #17634 from Homebrew/unknown_brew_command 2024-07-05 10:08:33 +01:00
Mike McQuaid
45b66870bb
Improve "unknown command" error
Clarify it is a `brew` command.

Fixes #17627
2024-07-05 08:20:28 +01:00
Mike McQuaid
315437c01d
Merge pull request #17632 from samford/livecheck/expand-typed-strict 2024-07-05 08:19:10 +01:00
Ruoyu Zhong
092367970a
Merge pull request #17631 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11471 2024-07-05 10:01:40 +08:00
Sam Ford
7ba189a018
livecheck: expand typed: strict usage
This updates livecheck files to use `typed: script` where feasible.

The remaining exception is `livecheck/strategy.rb`, as I wasn't
able to figure out how to resolve the typing issues around the
`@strategies` variable (I tried a couple of approaches but couldn't
find a working solution). This includes changes to resolve the other
type errors in `strategy.rb` but leaves the file as `typed: true`
for now.
2024-07-04 20:22:14 -04:00
BrewTestBot
88122c8bcb
brew vendor-gems: commit updates. 2024-07-04 18:49:16 +00:00
dependabot[bot]
6d833a6a0b
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11466 to 0.5.11471.
- [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-07-04 18:48:17 +00:00
Rylan Polster
82a6fd2389
Merge pull request #17615 from Homebrew/api-specified-paths 2024-07-04 14:06:12 -04:00
Mike McQuaid
7294b9f19c
Merge pull request #17628 from Homebrew/bump-formula-pr-types 2024-07-04 18:04:03 +01:00
Kevin
f9ea8faab1
Merge pull request #17602 from rrotter/desc_search_cache
clear description cache if updated w/o EVAL_ALL
2024-07-04 10:00:03 -07:00
Issy Long
58fb8afa2f
dev-cmd/bump-formula-pr: formula_version is Version not String
- Fixes https://github.com/Homebrew/brew/issues/17626.
2024-07-04 17:52:38 +01:00
Rylan Polster
e176159b23
Fix test 2024-07-04 12:27:45 -04:00
Rylan Polster
b5f99d78f4
Rename API filename constants 2024-07-04 12:08:01 -04:00
Rylan Polster
6ecdad7379
Fix brew info --github 2024-07-04 12:07:53 -04:00
Rylan Polster
3a732460e9
Refactor Tab create method 2024-07-04 11:18:26 -04:00
Issy Long
e1fe3e2311
Merge pull request #17625 from Homebrew/more-sorbet-strict-devcmd
sorbet: Tighten up `dev-cmd` types
2024-07-04 13:55:55 +01:00
Issy Long
f6e093a076
Remove unnecessary comment
- `T.let` is necessary in this case in strict mode.

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-07-04 13:45:42 +01:00
Issy Long
f2f4f1c06d
sorbet: Tighten up dev-cmd types
- Change `returns(NilClass)` to `void`.
- Get rid of some of the `T.untyped`.
2024-07-04 12:04:29 +01:00
Mike McQuaid
21ba72b190
Merge pull request #17621 from Homebrew/actually-use-spoom-in-ci 2024-07-04 08:38:10 +01:00
Mike McQuaid
a934713992
dev-cmd/typecheck: improve indentation. 2024-07-04 08:28:24 +01:00
Mike McQuaid
e7b9a732b4
dev-cmd/typecheck: improve exit code handling. 2024-07-04 08:27:21 +01:00
Mike McQuaid
0fda9cb85e
Merge pull request #17622 from Kentzo/extract-log-version 2024-07-04 08:26:00 +01:00
Mike McQuaid
3773940382
Merge pull request #17606 from Homebrew/sorbet-strict-devcmd 2024-07-04 08:25:40 +01:00
Rylan Polster
46cb7f2847
Update tests 2024-07-04 01:47:14 -04:00
Rylan Polster
673b171b10
Update commands to use cask install receipts 2024-07-04 01:47:13 -04:00
Rylan Polster
acd60181c2
Add cask install receipts 2024-07-04 01:47:13 -04:00
Ruoyu Zhong
5e7765ca60
Merge pull request #17624 from Homebrew/sponsors-maintainers-man-completions 2024-07-04 10:32:28 +08:00
BrewTestBot
e3ffa0ce37
Update maintainers.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2024-07-04 01:11:21 +00:00
Ruoyu Zhong
2df6bfc693
Merge pull request #17623 from Homebrew/sponsors-maintainers-man-completions 2024-07-04 09:10:48 +08:00
BrewTestBot
c4906d743e
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-07-04 00:06:34 +00:00
Ilya Kulakov
0b4839b397 extract: Log formula version
When extracting based on --git-revision the version of the formula is
not known to the user upfront.
2024-07-03 16:41:31 -07:00
Issy Long
e52a582290
workflows/sorbet: Continue if the RBI files step fails
- Annoyingly `spoom srb bump` exits with a status code of 1 even if it has done work to bump files, so we need to continue so the next workflow step commits the changes.
2024-07-03 22:51:51 +00:00
Issy Long
79ab11c62d
dev-cmd/typecheck: Stop dry running Spoom sigil bumps
- Sixteen months ago in PR 14921, I made it so that CI ran
  `brew typecheck --update --suggest-typed` and could commit the changes.
- Except it never actually ever made any changes because of the `--dry` option
  in the Spoom CLI args. Whoops!
2024-07-03 22:35:04 +00:00
Issy Long
4b83521061
dev_cmd/irb: Straight away require "formula"
- Otherwise we get: `uninitialized constant String::Formula (NameError)```
2024-07-03 20:39:36 +01:00
Patrick Linnane
f25e66754d
Merge pull request #17616 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rspec-3.0.2 2024-07-03 12:12:04 -07:00