41367 Commits

Author SHA1 Message Date
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
Patrick Linnane
e58593f26f
Merge pull request #17619 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11466 2024-07-03 12:11:43 -07:00
Patrick Linnane
5319edf6bc
Merge pull request #17620 from Homebrew/dependabot/github_actions/ruby/setup-ruby-1.184.0 2024-07-03 12:11:25 -07:00
Issy Long
b6f142f7a9
Fewer T.musts 2024-07-03 19:53:37 +01:00
dependabot[bot]
b5514354a3
build(deps): bump ruby/setup-ruby from 1.183.0 to 1.184.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.183.0 to 1.184.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb)
- [Commits](1d0e911f61...97e35c5302)

---
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-03 18:23:09 +00:00
BrewTestBot
01adff23d6
brew vendor-gems: commit updates. 2024-07-03 18:04:59 +00:00
dependabot[bot]
0f8a636b70
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11465 to 0.5.11466.
- [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-03 18:04:03 +00:00
BrewTestBot
2761147fb0
brew vendor-gems: commit updates. 2024-07-03 18:03:53 +00:00
dependabot[bot]
673efb2a2e
build(deps-dev): bump rubocop-rspec in /Library/Homebrew
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v3.0.1...v3.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-03 18:03:03 +00:00
Rylan Polster
c16a9b33b2
Use cached json API file for formulae and cask specified paths 2024-07-03 13:41:52 -04:00
Issy Long
9baf50af29
Get rid of even more T.musts
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-07-03 15:04:18 +01:00
Mike McQuaid
7aa2b15965
Merge pull request #17614 from Homebrew/bayandin/allow-no-test-block-for-disabled-formulae 2024-07-03 12:51:00 +01:00
Alexander Bayandin
65885590ca rubocops/class: allow disabled formulae to be without a test block 2024-07-03 10:25:26 +01:00
Patrick Linnane
b7efc64a58
Merge pull request #17613 from Homebrew/remove-broken-links 2024-07-02 18:16:28 -07:00