apainintheneck
16e605e056
Load tap migration renames from API with short names
...
This is a follow-up to 484498e. I added loading for tap migration
renames from the API but it apparently only worked for full names.
There was a bug in both the code and the tests which prevented
loading by short names. This fixes those bugs so everything should
be good now.
2024-07-01 18:53:31 -07:00
Issy Long
b9b065a54e
dev-cmd/bottle: Fix type errors (strings, symbols, either, none) thanks to the tests
2024-07-02 00:03:28 +01:00
Issy Long
9130dd1210
dev-cmd/contributions: Tighten up type sigs
2024-07-01 23:49:31 +01:00
Issy Long
3b695c6aa2
dev-cmd/bottle: Bump to Sorbet typed: strict
2024-07-01 23:38:26 +01:00
Ryan Rotter
e8c71646c1
description cache invalid if updated w/o EVAL_ALL
...
When updating description cache, if eval_all not set, clear cache rather
than leaving it out of date.
This fixes an issue where, if a user sets `--eval-all` on the command
line to run description searches, but HOMEBREW_EVAL_ALL isn't set in the
environment the cache is never updated.
2024-07-01 15:18:28 -04:00
Issy Long
8360218a3e
Run brew style
on all the new Sorbet sigs
2024-07-01 19:16:57 +01:00
Issy Long
f854a9f3fc
dev-cmd/audit: Bump to Sorbet typed: strict
2024-07-01 19:11:17 +01:00
BrewTestBot
d53f8741ac
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-01 18:10:50 +00:00
BrewTestBot
67573c31ae
brew vendor-gems: commit updates.
2024-07-01 18:10:35 +00:00
dependabot[bot]
49db144508
build(deps-dev): bump vernier from 1.0.1 to 1.1.0 in /Library/Homebrew
...
Bumps [vernier](https://github.com/jhawthorn/vernier ) from 1.0.1 to 1.1.0.
- [Commits](https://github.com/jhawthorn/vernier/compare/v1.0.1...v1.1.0 )
---
updated-dependencies:
- dependency-name: vernier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 18:09:42 +00:00
Issy Long
9e0a749231
dev-cmd/extract: Can't be typed: strict
because of undef
usage
2024-07-01 18:40:12 +01:00
Issy Long
b1817391a8
dev-cmd/pr-pull: Bump to Sorbet typed: strict
2024-07-01 18:07:47 +01:00
Issy Long
8587f4ba11
dev-cmd/bump-formula-pr: Bump to Sorbet typed: strict
2024-07-01 13:14:47 +01:00
Mike McQuaid
3aeef5aef2
Merge pull request #17582 from rrotter/desc_search
2024-07-01 08:45:22 +01:00
Mike McQuaid
3b4fc698c1
Merge pull request #17597 from git-mann/effective_arch_for_rustflags
2024-07-01 08:44:31 +01:00
Mike McQuaid
484498ea7c
Merge pull request #17599 from Homebrew/load-tap-migration-renames-from-api
2024-07-01 08:43:44 +01:00
BrewTestBot
07f2d1910b
brew vendor-gems: commit updates.
2024-07-01 06:17:06 +00:00
dependabot[bot]
17ae55af21
build(deps-dev): bump yard-sorbet in /Library/Homebrew
...
Bumps [yard-sorbet](https://github.com/dduugg/yard-sorbet ) from 0.8.1 to 0.9.0.
- [Release notes](https://github.com/dduugg/yard-sorbet/releases )
- [Changelog](https://github.com/dduugg/yard-sorbet/blob/main/CHANGELOG.md )
- [Commits](https://github.com/dduugg/yard-sorbet/compare/v0.8.1...v0.9.0 )
---
updated-dependencies:
- dependency-name: yard-sorbet
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-01 06:16:16 +00:00
Ryan Rotter
816fe36a41
test Search.search_descriptions
2024-06-30 23:23:52 -04:00
Ryan Rotter
4f6771ccab
test brew desc -s
works w/ API w/o --eval-all
2024-06-30 23:05:29 -04:00
Ryan Rotter
99486c8107
Use API for description searches
...
Both `brew search --desc` and `brew desc --search` use API for cask and
formula searches unless `--eval-all` or `HOMEBREW_EVAL_ALL` set.
Description searches do not use the description cache or eval any
formulas/casks.
- With `--eval-all`, description search reverts to the old behavior.
- Warn if description search exludes any formulae/casks (because
`--eval-all` not set).
- Enforce `--eval-all` requirement if NO_INSTALL_FROM_API set.
2024-06-30 23:05:29 -04:00
apainintheneck
fb3b13e3c3
Add tests
...
Check for the following:
- Tap migration rename to core tap can be loaded by short name
- Tap migration rename to core tap can be loaded by long name
- Tap migration renam that clashes with existing core tap short name
is ignored in favor of loading the cask/formula from the core tap
2024-06-30 13:55:41 -07:00
Issy Long
6b995ad111
dev-cmd/pr-upload: Bump to Sorbet typed: strict
2024-06-30 20:58:10 +01:00
Issy Long
d5af469e85
dev-cmd/tests: Bump to Sorbet typed: strict
2024-06-30 20:41:02 +01:00
Mike McQuaid
ab2b3d50d2
Merge pull request #17588 from Kentzo/extract-revision
2024-06-30 19:37:27 +01:00
Mike McQuaid
6ca46550d9
Merge pull request #17596 from Homebrew/audit_min_os-arch-specific
2024-06-30 19:32:34 +01:00
Issy Long
0837f7c23c
dev-cmd/test: Bump to Sorbet typed: strict
2024-06-30 19:30:35 +01:00
Issy Long
3bf6a01516
dev-cmd/generate-formula-api: Bump to Sorbet typed: strict
2024-06-30 19:29:22 +01:00
Issy Long
944790acfe
dev-cmd/generate-cask-api: Bump to Sorbet typed: strict
2024-06-30 19:27:35 +01:00
Mike McQuaid
8de6d5172d
dev-cmd/extract_spec: remove test.
2024-06-30 19:27:26 +01:00
apainintheneck
10aa981209
Load tap migration renames from the API
...
These would not get loaded from the API at all meaning these
were not loadable by the old names when the core formula or cask
tap was not installed. We assume that most users don't have those
core taps tapped which means this is broken for most everyone.
2024-06-30 11:26:03 -07:00
Issy Long
3b28e90556
dev-cmd/tap-new: Bump to Sorbet typed: strict
2024-06-30 19:25:19 +01:00
Issy Long
69cf1df56f
dev-cmd/livecheck: Bump to Sorbet typed: strict
2024-06-30 19:23:26 +01:00
Mike McQuaid
3948359aab
Merge pull request #17575 from krehel/update-audit-rosetta
2024-06-30 19:23:24 +01:00
Mike McQuaid
3df562a396
Merge pull request #17595 from Homebrew/rubocop-chdir
2024-06-30 19:18:20 +01:00
Issy Long
57ba22053f
dev-cmd/update-sponsors: Bump to Sorbet typed: strict
2024-06-30 19:10:38 +01:00
Issy Long
1b517a9d49
dev-cmd/irb: Bump to Sorbet typed: strict
2024-06-30 19:07:38 +01:00
Issy Long
c57cd4bf98
dev-cmd/contributions: Bump to Sorbet typed: strict
2024-06-30 18:42:16 +01:00
Issy Long
34caeb7ea8
dev-cmd/unbottled: Bump to Sorbet typed: strict
2024-06-30 17:49:27 +01:00
Henry
0147c3f2cb
Fix for 'brew style'
2024-06-30 02:35:29 -04:00
Henry
22d42efb5c
Use effective_arch for rustflags
2024-06-30 02:23:29 -04:00
Eric Knibbe
0d3e50d144
cask/audit: handle arch-specific detected min OS
2024-06-30 00:23:45 -04:00
Bo Anderson
1de1be8937
style: chdir before running rubocop
2024-06-30 01:51:56 +01:00
BrewTestBot
ead8611df7
Update RBI files for minitest.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-06-29 23:08:34 +00:00
BrewTestBot
06219f7265
brew vendor-gems: commit updates.
2024-06-29 23:08:20 +00:00
dependabot[bot]
0abdba9e67
build(deps-dev): bump minitest in /Library/Homebrew
...
Bumps [minitest](https://github.com/minitest/minitest ) from 5.24.0 to 5.24.1.
- [Changelog](https://github.com/minitest/minitest/blob/master/History.rdoc )
- [Commits](https://github.com/minitest/minitest/compare/v5.24.0...v5.24.1 )
---
updated-dependencies:
- dependency-name: minitest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-29 23:07:28 +00:00
BrewTestBot
b7102588aa
brew vendor-gems: commit updates.
2024-06-29 22:53:48 +00:00
dependabot[bot]
7405d6243c
build(deps-dev): bump sorbet in /Library/Homebrew
...
Bumps [sorbet](https://github.com/sorbet/sorbet ) from 0.5.11450 to 0.5.11463.
- [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-06-29 22:52:59 +00:00
Rylan Polster
e07273a110
Remove redundant early return in livecheck skip_conditions
2024-06-29 11:42:24 -04:00
Rylan Polster
e28d455154
autoremove: skip formulae where installed_on_request is nil
2024-06-28 21:57:47 -04:00