Andrew Braxton
23dd14d1c4
greedy outdated
2024-07-09 20:59:12 -07:00
Patrick Linnane
53e8d4024f
Merge pull request #17667 from Homebrew/dependabot/github_actions/ruby/setup-ruby-1.186.0
2024-07-09 12:18:32 -07:00
dependabot[bot]
afbc5af745
build(deps): bump ruby/setup-ruby from 1.185.0 to 1.186.0
...
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) from 1.185.0 to 1.186.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb )
- [Commits](3a77c29278...2a9a743e19
)
---
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-09 18:54:50 +00:00
Patrick Linnane
4343f2fa20
Merge pull request #17665 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11475
2024-07-09 11:51:02 -07:00
BrewTestBot
140ce6bd32
brew vendor-gems: commit updates.
2024-07-09 18:04:11 +00:00
dependabot[bot]
8094413063
build(deps-dev): bump sorbet in /Library/Homebrew
...
Bumps [sorbet](https://github.com/sorbet/sorbet ) from 0.5.11473 to 0.5.11475.
- [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-09 18:03:23 +00:00
Mike McQuaid
b098b4c3a0
Merge pull request #17659 from bevanjkay/rosetta
2024-07-09 08:35:34 +01:00
Bevan Kay
a77a8ca564
cask/dsl/caveats: allow for simulated system checks in rosetta caveat
2024-07-09 15:42:38 +10:00
Douglas Eichelberger
216ae9d0a1
Merge pull request #17656 from Homebrew/dependabot/bundler/Library/Homebrew/vernier-1.1.1
...
build(deps-dev): bump vernier from 1.1.0 to 1.1.1 in /Library/Homebrew
2024-07-08 12:09:31 -07:00
BrewTestBot
62617c9ada
Update RBI files for vernier.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-07-08 18:27:18 +00:00
BrewTestBot
793ee36c3d
brew vendor-gems: commit updates.
2024-07-08 18:27:03 +00:00
dependabot[bot]
f95b502504
build(deps-dev): bump vernier from 1.1.0 to 1.1.1 in /Library/Homebrew
...
Bumps [vernier](https://github.com/jhawthorn/vernier ) from 1.1.0 to 1.1.1.
- [Commits](https://github.com/jhawthorn/vernier/compare/v1.1.0...v1.1.1 )
---
updated-dependencies:
- dependency-name: vernier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 18:26:09 +00:00
Mike McQuaid
e12d25dc5c
Merge pull request #17654 from Homebrew/context-restore-fix
2024-07-08 19:15:16 +01:00
Mike McQuaid
7b66004d2c
Merge pull request #17655 from Homebrew/fix-bump-formula-pr-types-for-kwargs
2024-07-08 19:07:04 +01:00
Issy Long
517d3c9bcf
dev-cmd/bump-formula-pr: Fix types for fetch_resource_and_forced_version
...
- This should fix https://github.com/Homebrew/homebrew-core/actions/runs/9839505520 , that is:
```
Parameter 'tag': Expected type Float, got type String with value "2024-07-05"
Caller: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11473/lib/types/private/methods/call_validation.rb:215
Definition: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/dev-cmd/bump-formula-pr.rb:445 (Homebrew::DevCmd::BumpFormulaPr#fetch_resource_and_forced_version)
```
- I think I read https://sorbet.org/docs/sigs#rest-parameters too literally,
yes Sorbet expands the kwargs into a hash type, but it's the value type that
needs specifying in the sig (which for us is `String`).
2024-07-08 18:46:21 +01:00
Eric Knibbe
e81e811d56
context: fix original context not being restored
2024-07-08 13:18:18 -04:00
Mike McQuaid
d31150adf3
Merge pull request #17651 from samford/audit_formula-struct-arg
2024-07-08 17:35:32 +01:00
Sam Ford
17b0493e18
Use struct for #audit_formula
args
...
Adding type signatures to `#audit_formula` methods in formula cops
would lead to verbose, repetitive signatures across the existing ~63
instances. This reworks `#audit_formula` to use a `T::Struct` for its
arguments, which allows us to use a one-line signature for these
methods.
2024-07-08 12:22:25 -04:00
Mike McQuaid
341130fa78
Merge pull request #17643 from samford/livecheck/expand-typed-strict-2
2024-07-08 13:07:52 +01:00
Mike McQuaid
07b6b71340
Merge pull request #17633 from gromgit/shellenv/fix_manpath
2024-07-08 08:42:47 +01:00
Sam Ford
17d15615d8
livecheck: finish expanding typed: strict
...
I previously expanded use of `typed: strict` in livecheck files but
the exception was `livecheck/strategy.rb`. This addresses the
`@strategies` type errors in that file and upgrades it to
`typed: strict`.
Co-authored-by: apainintheneck <apainintheneck@gmail.com>
2024-07-07 22:04:25 -04:00
Patrick Linnane
1c98a33a37
Merge pull request #17650 from Homebrew/sponsors-maintainers-man-completions
4.3.9
2024-07-07 18:12:43 -07:00
Patrick Linnane
6d48fa7b9b
Merge pull request #17647 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11473
2024-07-07 17:48:35 -07:00
Patrick Linnane
16a53ebd99
Merge pull request #17646 from Homebrew/dependabot/github_actions/ruby/setup-ruby-1.185.0
2024-07-07 17:48:15 -07:00
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
Ilya Kulakov
a1f9f501e2
extract: Fix missing '--git-revision' in the usage banner
2024-07-05 17:27:22 -07: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
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
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
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