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
6d48fa7b9b
Merge pull request #17647 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11473
2024-07-07 17:48:35 -07: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
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
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
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
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
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
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
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
Issy Long
b6f142f7a9
Fewer T.must
s
2024-07-03 19:53:37 +01: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.must
s
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-07-03 15:04:18 +01:00
Alexander Bayandin
65885590ca
rubocops/class: allow disabled formulae to be without a test block
2024-07-03 10:25:26 +01:00
BrewTestBot
dd382cea50
brew vendor-gems: commit updates.
2024-07-02 16:58:42 +00:00
dependabot[bot]
522b0c9c17
build(deps-dev): bump sorbet in /Library/Homebrew
...
Bumps [sorbet](https://github.com/sorbet/sorbet ) from 0.5.11463 to 0.5.11465.
- [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-02 16:57:43 +00:00
Issy Long
3d09094df0
Fewer T.must
s
2024-07-02 16:20:39 +01:00
Issy Long
1db0834a91
dev-cmd/bottle: The cellar_parameter_needed?
method returns always boolean
2024-07-02 11:21:29 +01:00
Mike McQuaid
c524e5c2fc
Merge pull request #17608 from Homebrew/audit_min_os-more-fixes
2024-07-02 09:03:49 +01:00
Eric Knibbe
3f73f32286
cask/audit: handle on_os range bounded by depends_on
2024-07-01 23:11:26 -04:00