30369 Commits

Author SHA1 Message Date
dependabot[bot]
f692c512f7
build(deps-dev): bump parallel_tests in /Library/Homebrew
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 4.5.1 to 4.5.2.
- [Changelog](https://github.com/grosser/parallel_tests/blob/master/CHANGELOG.md)
- [Commits](https://github.com/grosser/parallel_tests/compare/v4.5.1...v4.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-05 18:40:50 +00:00
Mike McQuaid
a251109960
homebrew/autoupdate is no longer official.
DomT4 and the Homebrew maintainers have agreed that homebrew/autoupdate
is a better fit for not being an official tap and has been moved back
to his user account.

Documentation and code has been adjusted accordingly and it was added
to the list of interesting taps.
2024-03-05 10:30:17 +00:00
Kevin
a86094d794
Merge pull request #16808 from reitermarkus/tap-sig-alias-table
Simplify `Tap#alias_table`.
2024-03-04 21:33:07 -08:00
Mike McQuaid
cf7c093b30
Merge pull request #16812 from cho-m/formula_auditor-also-check-tag
formula_auditor: also use `tag` when checking GitHub license
2024-03-04 17:31:36 +00:00
Michael Cho
00a12b72d4
formula_auditor: also use tag when checking GitHub license
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-03-04 12:11:13 -05:00
Mike McQuaid
c5e7282985
Merge pull request #16807 from dduugg/numbered-params
Prefer numbered block params over proc conversion
2024-03-04 16:38:14 +00:00
Mike McQuaid
5b01e59283
Merge pull request #16810 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rspec-2.27.1
build(deps-dev): bump rubocop-rspec from 2.26.1 to 2.27.1 in /Library/Homebrew
2024-03-04 16:37:04 +00:00
Mike McQuaid
a9f655b515
Merge pull request #16811 from reitermarkus/tapconfig-sig
Add type signatures for `TapConfig`.
2024-03-04 16:27:15 +00:00
Markus Reiter
00d69284e4
Add type signatures for TapConfig. 2024-03-04 17:14:02 +01:00
BrewTestBot
d8c80de761
brew vendor-gems: commit updates. 2024-03-04 16:05:37 +00:00
dependabot[bot]
4eb228684e
build(deps-dev): bump rubocop-rspec in /Library/Homebrew
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 2.26.1 to 2.27.1.
- [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/v2.26.1...v2.27.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 16:04:07 +00:00
Markus Reiter
1a13097a86
Actually cache Tap#pypi_formula_mappings. 2024-03-04 16:57:39 +01:00
Markus Reiter
34af31a05d
Actually cache Tap#style_exceptions. 2024-03-04 16:51:38 +01:00
Markus Reiter
9e8acb6312
Actually cache Tap#audit_exceptions. 2024-03-04 16:51:35 +01:00
Markus Reiter
890bec6515
Simplify Tap#alias_reverse_table. 2024-03-04 16:49:33 +01:00
Markus Reiter
0592f7ac07
Simplify Tap#alias_table. 2024-03-04 16:47:48 +01:00
Mike McQuaid
8d4e841965
Merge pull request #16778 from reitermarkus/tap-sig-4
Simplify `Tap#custom_remote?`.
2024-03-04 14:42:52 +00:00
Mike McQuaid
c3d18113c3
Merge pull request #16790 from cho-m/pypi-ignore-test-resources
utils/pypi: ignore test resources when counting matches
2024-03-04 14:41:18 +00:00
Markus Reiter
e369689794
Add test for Tap#custom_remote?. 2024-03-04 15:32:27 +01:00
Markus Reiter
abc591e702
Simplify Tap#custom_remote?. 2024-03-04 14:30:06 +01:00
Markus Reiter
b4167f97d6
Simplify Tap#remote_repo. 2024-03-04 14:27:55 +01:00
Mike McQuaid
d7d4c82662
Merge pull request #16799 from cho-m/language-python-add-types
language/python: add types
2024-03-04 09:39:18 +00:00
Mike McQuaid
a1d1ee4651
Merge pull request #16796 from Homebrew/swift-direct
cask/quarantine: avoid xcrun when executing Swift
2024-03-04 09:36:10 +00:00
Mike McQuaid
261131eb98
Merge pull request #16801 from cho-m/move-synced-to-tap
tap: move synced_versions_formulae.json from formula_auditor
2024-03-04 09:31:53 +00:00
Mike McQuaid
8d463b1f4b
Merge pull request #16772 from cho-m/pypi-specify-dependencies
utils/pypi: specify dependencies needed to update resources
2024-03-04 09:24:51 +00:00
Douglas Eichelberger
c4db19232d git grep -lE '\(\&[A-Za-z._]+method\(:' | xargs gsed -i -E 's|\(\&([A-Za-z._]+)method\(:([a-z?_]+)\)\)| { \1\2(_1) }|g' 2024-03-03 18:55:56 -08:00
Douglas Eichelberger
90996e1997 git grep -lE '\(\&[A-Za-z._]+method\(:' | xargs gsed -i -E 's|\(\&([A-Za-z._]+)public_method\(:([a-z?_]+)\)\)| { \1\2(_1) }|g' 2024-03-03 18:55:32 -08:00
Michael Cho
72f8399110
formula_auditor: move out synced_versions_formulae logic
* tap: take ownership of synced_versions_formulae.json
* formula: add synced_with_other_formulae? logic

Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-03-03 20:51:09 -05:00
Michael Cho
383d774ff7
language/python: add types
Also add `Virtualenv` getters to get `Pathname`s to
the virtualenv's `root` and `site_packages`.

Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-03-03 14:44:22 -05:00
Michael Cho
216f571fff
bump-formula-pr: switch to install resource update dependencies
Also same feature for update-python-resources
2024-03-02 22:01:31 -05:00
Michael Cho
7303d642dd
utils/pypi: specify dependencies needed to update resources
Also allow optionally installing these dependencies. By default, only
`python@3.y` formulae will be automatically installed.

Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-03-02 22:01:25 -05:00
Kevin
53c1107fd2
Merge pull request #16797 from Homebrew/revert-caching-of-reverse-tap-migrations-renames
tap: revert caching `Tap.reverse_tap_migrations_renames`
2024-03-02 12:15:15 -08:00
Bo Anderson
2d929b8a9f
cask/quarantine: avoid xcrun when executing Swift 2024-03-02 19:31:38 +00:00
apainintheneck
fb055f7aaf tap: revert caching Tap.reverse_tap_migrations_renames
This could cause problems if a tap is installed during the lifetime
of the program which happens occasionally with `Tap#ensure_installed!`.

It also seems to be slow mainly because of intermediate arrays and
Pathname objects that get created in `Tap.each`. Maybe that should
be optimized instead.
2024-03-02 11:31:04 -08:00
BrewTestBot
0ec3425d38
brew vendor-gems: commit updates. 2024-03-02 17:46:21 +00:00
dependabot[bot]
d20084ce8a
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.11276 to 0.5.11284
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-runtime` from 0.5.11276 to 0.5.11284
- [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-03-02 17:44:51 +00:00
apainintheneck
2da1c93df7 tap: memoize Tap.reverse_tap_migrations_renames
This should be a relatively small hash but it gets recalculated
every time we call Cask#oldnames or Formula#oldnames which ends
up being a lot if you run certain commands with --eval-all.

For example, when running the following, it took 10% of the total
runtime.

```
brew deps --casks --eval-all
```
2024-03-01 20:14:42 -08:00
apainintheneck
99d5200db3 tap: fix performance regression in *_files_by_name
We essentially stopped caching these accidentally and they get
called every time we try to load a cask or formula from the API.
It gets really, really, really slow.

I ran `brew deps --casks --eval-all` before and after the changes.

I let it run for 3 minutes before killing it. No output had been
printed to the screen.

It finished printing all output (pages and pages of it) in less
than a minute.

---

This should match the caching behavior we had before the
recent changes in these two PRs.

- https://github.com/Homebrew/brew/pull/16777
- https://github.com/Homebrew/brew/pull/16775
2024-03-01 19:30:53 -08:00
Michael Cho
408c8e806f
utils/pypi: ignore test resources when counting matches
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-03-01 16:26:34 -05:00
BrewTestBot
21fd99b88b
Update RBI files for rubocop-ast.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-03-01 18:26:55 +00:00
BrewTestBot
1fd536d8ef
brew vendor-gems: commit updates. 2024-03-01 18:26:39 +00:00
dependabot[bot]
56f5f1f7f3
build(deps-dev): bump rubocop-ast in /Library/Homebrew
Bumps [rubocop-ast](https://github.com/rubocop/rubocop-ast) from 1.31.0 to 1.31.1.
- [Release notes](https://github.com/rubocop/rubocop-ast/releases)
- [Changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-ast/compare/v1.31.0...v1.31.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-01 18:24:46 +00:00
BrewTestBot
abbccdc86f
Update RBI files for yard.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-03-01 17:19:00 +00:00
BrewTestBot
01ca89cbd9
brew vendor-gems: commit updates. 2024-03-01 17:18:43 +00:00
dependabot[bot]
36d6a211c5
build(deps-dev): bump yard from 0.9.35 to 0.9.36 in /Library/Homebrew
Bumps [yard](https://github.com/lsegal/yard) from 0.9.35 to 0.9.36.
- [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.35...v0.9.36)

---
updated-dependencies:
- dependency-name: yard
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-01 17:16:48 +00:00
Ruoyu Zhong
38b671d8bb
Merge pull request #16750 from iMichka/autobump
bump-formula|cask-pr: do not allow to bump autobumped packages
2024-03-02 00:33:06 +08:00
Mike McQuaid
387332ab68
Merge pull request #16782 from reitermarkus/tap-sig-5
Rename `Tap#reverse_cask_renames` to `Tap#cask_reverse_renames`.
2024-03-01 15:41:39 +00:00
Mike McQuaid
6c6c418dff
Merge pull request #16785 from reitermarkus/tap-sig-remote
Actually return `super` in `CoreTap#remote`.
2024-03-01 13:46:39 +00:00
Mike McQuaid
56b3982e7a
Merge pull request #16784 from reitermarkus/tap-sig-7
Add signature for `Tap#config`.
2024-03-01 13:46:20 +00:00
Markus Reiter
567ea44c99
Actually return super in CoreTap#remote. 2024-03-01 13:22:03 +01:00