Markus Reiter
fb099976bd
Merge pull request #16763 from cho-m/unused-type
...
livecheck/strategy: fix **unused type
2024-02-28 20:59:53 +01:00
Michael Cho
387bfd972e
dev-cmd/bump: hide version syncing when empty list
2024-02-28 14:41:39 -05:00
Markus Reiter
e08e873921
Only show installed taps in brew tap
output.
2024-02-28 20:18:55 +01:00
Carlo Cabrera
262912e6a6
Merge pull request #16765 from Homebrew/dependabot/bundler/Library/Homebrew/yard-0.9.35
2024-02-28 20:09:10 +01:00
Carlo Cabrera
8b5c3b27b2
Merge pull request #16764 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-and-sorbet-runtime-0.5.11276
2024-02-28 20:04:44 +01:00
BrewTestBot
605aea8ce2
Update RBI files for yard.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-02-28 18:51:31 +00:00
BrewTestBot
a2eeae11da
brew vendor-gems: commit updates.
2024-02-28 18:51:12 +00:00
dependabot[bot]
cb74a3ebe7
build(deps-dev): bump yard from 0.9.34 to 0.9.35 in /Library/Homebrew
...
Bumps [yard](https://github.com/lsegal/yard ) from 0.9.34 to 0.9.35.
- [Release notes](https://github.com/lsegal/yard/releases )
- [Changelog](https://github.com/lsegal/yard/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lsegal/yard/compare/v0.9.34...v0.9.35 )
---
updated-dependencies:
- dependency-name: yard
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-28 18:49:19 +00:00
BrewTestBot
b3425fb3e9
brew vendor-gems: commit updates.
2024-02-28 18:48:42 +00:00
dependabot[bot]
a50370e5b8
build(deps): bump sorbet-static-and-runtime and sorbet-runtime
...
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet ) and [sorbet-runtime](https://github.com/sorbet/sorbet ). These dependencies needed to be updated together.
Updates `sorbet-static-and-runtime` from 0.5.11274 to 0.5.11276
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-runtime` from 0.5.11274 to 0.5.11276
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
dependency-type: direct:development
update-type: version-update:semver-patch
- dependency-name: sorbet-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-28 18:47:20 +00:00
Michael Cho
89b6d471e5
livecheck/strategy: fix **unused type
2024-02-28 12:32:21 -05:00
Mike McQuaid
99c101bfc1
internal_tap_json/formula_spec: add comment.
2024-02-28 10:49:36 +00:00
apainintheneck
f1f2e24aec
test fixture: pretty print JSON for readability
2024-02-27 20:55:16 -08:00
apainintheneck
bfe5e43ff4
api/formula: Fix failing specs
...
- clear the formula API cache
- make the API cache directory
- fix stubbed return values (thanks Sorbet!)
2024-02-27 20:55:16 -08:00
apainintheneck
200fe2a6b7
api/formula: Add tests for internal JSON v3
...
These tests cover both generating and loading formulae from the JSON
bundle. The tests are not comprehensive but they do provide a nice
sanity check that things are working as expected.
2024-02-27 20:55:16 -08:00
apainintheneck
e9a05d896a
cachable: make #overwrite_cache! private
2024-02-27 20:55:16 -08:00
apainintheneck
cefd3273cc
tap: Add helper to generate core formula API hash
...
This abstracts away this helper to make it easier to test and
reason about.
2024-02-27 20:55:16 -08:00
apainintheneck
670e2188d7
formulary: update api loader to load internal json v3
2024-02-27 20:55:16 -08:00
apainintheneck
d64de40e52
Update api code to load internal JSON v3 file
2024-02-27 20:55:16 -08:00
Kevin
ece7e5d5b9
Merge pull request #16760 from Homebrew/clear-taps-between-test-runs-again
...
test: clear tap instance caches between test runs again
2024-02-27 20:10:32 -08:00
apainintheneck
f2c5f6723c
test: clear tap instance caches between test runs again
...
The core taps exist outside of the normal cache busting cycle
so they need to clear explicitly at the instance level.
Just to be sure we should clear all of them each time.
This essentially reverts part of the change in this PR.
- https://github.com/Homebrew/brew/pull/16746
2024-02-27 19:35:30 -08:00
Ruoyu Zhong
f138059de1
Merge pull request #16757 from Homebrew/dependabot/bundler/Library/Homebrew/thor-1.3.1
...
build(deps-dev): bump thor from 1.3.0 to 1.3.1 in /Library/Homebrew
2024-02-28 03:11:46 +08:00
Ruoyu Zhong
b290c7ab42
Merge pull request #16756 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-and-sorbet-static-and-runtime-0.5.11274
...
build(deps): bump sorbet-runtime and sorbet-static-and-runtime in /Library/Homebrew
2024-02-28 03:10:17 +08:00
BrewTestBot
2e86767046
Update RBI files for thor.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-02-27 18:58:19 +00:00
BrewTestBot
6d898bf18e
brew vendor-gems: commit updates.
2024-02-27 18:58:05 +00:00
BrewTestBot
b50515549a
brew vendor-gems: commit updates.
2024-02-27 18:57:01 +00:00
dependabot[bot]
59c9b545f4
build(deps-dev): bump thor from 1.3.0 to 1.3.1 in /Library/Homebrew
...
Bumps [thor](https://github.com/rails/thor ) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/rails/thor/releases )
- [Commits](https://github.com/rails/thor/compare/v1.3.0...v1.3.1 )
---
updated-dependencies:
- dependency-name: thor
dependency-type: indirect
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-27 18:56:35 +00:00
dependabot[bot]
3264c28efd
build(deps): bump sorbet-runtime and sorbet-static-and-runtime
...
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet ) and [sorbet-static-and-runtime](https://github.com/sorbet/sorbet ). These dependencies needed to be updated together.
Updates `sorbet-runtime` from 0.5.11268 to 0.5.11274
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-static-and-runtime` from 0.5.11268 to 0.5.11274
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
---
updated-dependencies:
- dependency-name: sorbet-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: sorbet-static-and-runtime
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-27 18:55:37 +00:00
Patrick Linnane
973a352424
Merge pull request #16755 from Homebrew/dependabot/github_actions/codecov/codecov-action-4.1.0
2024-02-27 10:52:44 -08:00
dependabot[bot]
4c18bfb62b
build(deps): bump codecov/codecov-action from 4.0.2 to 4.1.0
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.0.2 to 4.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](0cfda1dd0a...54bcd8715e
)
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-27 18:38:05 +00:00
Michael Cho
b59921d174
utils/pypi: improve style
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-02-27 13:32:52 -05:00
Mike McQuaid
0afede389f
Merge pull request #16754 from Homebrew/look-for-licenses-not-always-on-the-default-branch
...
formula_audit: Check the license(s) of the specific release
2024-02-27 18:30:01 +00:00
Issy Long
c2507fdc6d
formula_audit: Check the license(s) of the specific release
...
- Some repositories occasionally change their licenses. For example they
release a version of the software with one license and then decide to change
the license later.
- Now that `?ref=` is a parameter to the GitHub Repositories License API,
we can use that in the license audit to check if the license of the specific
release matches the one declared in the formula.
2024-02-27 16:53:54 +00:00
Michael Cho
31533cff05
utils/pypi: allow only updating extra_packages
2024-02-27 10:40:42 -05:00
Markus Reiter
18571e8991
Merge pull request #16732 from reitermarkus/repo-var-suffix
...
Rename `Tap#repo_var` to `Tap#repo_var_suffix`.
2024-02-27 11:26:16 +01:00
Mike McQuaid
ca9405de5c
Merge pull request #16746 from apainintheneck/simplify-cache-clearing-in-tests
...
cachable: make sure to clear caches between tests
2024-02-27 08:35:38 +00:00
Mike McQuaid
6b6767be21
Merge pull request #16751 from Homebrew/no-fork-yes-auth
...
utils/github: support `HOMEBREW_GITHUB_API_TOKEN` with `--no-fork`
2024-02-27 08:34:08 +00:00
Mike McQuaid
9014328f59
Merge pull request #16749 from Homebrew/homebrew-temp
...
Use `HOMEBREW_TEMP` more universally
2024-02-27 08:33:46 +00:00
Mike McQuaid
a25df66f56
Merge pull request #16752 from bevanjkay/cask-disable-reasons-2
...
deprecate_disable: add `no_longer_meets_criteria` deprecate/disable reason
2024-02-27 08:27:29 +00:00
apainintheneck
bea2dc65fe
Clean up files that use to include cachable
...
These were changed to extend to make it easier to determine
where the classes come to in the extended callback but that
means that the file is somewhat inconsistent. On the one
hand we're using class methods and on the other we're extend
self. This cleans that up but now the diff is atrocious and
the blame is even worse. Oh well...
2024-02-26 21:21:38 -08:00
apainintheneck
5cc1c85a5f
cachable: Move registry to test directory
...
Now we only include the cachable registry when running tests.
We basically just load it first and add a bunch of methods to
it before loading the rest of the formula files when we require
global.rb. I added a check to make sure this require order is
preserved.
I also made a bunch of methods private, stop excluding classes
that inherit from casks since it's unnecessary and add more docs.
2024-02-26 20:41:10 -08:00
Bevan Kay
013aba295a
deprecate_disable: add no_longer_meets_criteria
deprecate/disable reason
2024-02-27 13:46:10 +11:00
Bo Anderson
913c46d994
utils/github: support HOMEBREW_GITHUB_API_TOKEN
with --no-fork
2024-02-26 23:43:58 +00:00
Bo Anderson
1d7101d8a3
Use HOMEBREW_TEMP more universally
2024-02-26 16:58:53 +00:00
Issy Long
7848bd3226
Merge pull request #16745 from issyl0/rubocop-todos-2
...
rubocop: Fix remaining TODOs for triaging Ruby 3 cops
2024-02-26 16:19:14 +00:00
Ruoyu Zhong
d8d82d27c8
Merge pull request #16748 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-static-and-runtime-and-sorbet-runtime-0.5.11268
...
build(deps): bump sorbet-static-and-runtime and sorbet-runtime in /Library/Homebrew
2024-02-27 00:18:05 +08:00
BrewTestBot
1f38fa7a89
brew vendor-gems: commit updates.
2024-02-26 16:06:17 +00:00
dependabot[bot]
93632f34fd
build(deps): bump sorbet-static-and-runtime and sorbet-runtime
...
Bumps [sorbet-static-and-runtime](https://github.com/sorbet/sorbet ) and [sorbet-runtime](https://github.com/sorbet/sorbet ). These dependencies needed to be updated together.
Updates `sorbet-static-and-runtime` from 0.5.11267 to 0.5.11268
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-runtime` from 0.5.11267 to 0.5.11268
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
dependency-type: direct:development
update-type: version-update:semver-patch
- dependency-name: sorbet-runtime
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 16:04:34 +00:00
apainintheneck
536ae08a44
cachable: make sure to clear caches between tests
...
This adds a registry for all modules and classes that
cachable is included in. The registry allows us to
programmatically clear all caches in between tests
so that we don't forget to do that when adding a new
class or refactoring code. The goal here is to reduce
the number of flaky tests in the future.
2024-02-25 17:47:30 -08:00
Issy Long
e654af3e15
Disable RuboCop Naming/BlockForwarding
and Style/ArgumentsForwarding
...
- These break Sorbet type signatures:
```
RuntimeError:
The declaration for is missing parameter(s): &
```
2024-02-25 23:00:07 +00:00