31881 Commits

Author SHA1 Message Date
Mike McQuaid
607d3b202e
Merge pull request #16833 from cho-m/bump-skip-autobump
dev-cmd/bump: skip autobump formulae & casks
2024-03-07 08:39:16 +00:00
Douglas Eichelberger
fe439e8320 Apply 'chmod -x' to executables without shebangs 2024-03-06 22:22:49 -08:00
Markus Reiter
42652442af
Don't warn while checking for conflicting casks. 2024-03-06 23:30:34 +01:00
Markus Reiter
a24da6b072
Remove FromDefaultNameLoader to avoid warning twice. 2024-03-06 23:14:28 +01:00
Michael Cho
12d1e56ff5
dev-cmd/bump: skip autobump formulae & casks
Instead output a message that corresponding formula/cask is on the
autobump list. This avoids deferring the information to the error
message within `bump-{formula,cask}-pr`.

Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-03-06 12:34:29 -05:00
BrewTestBot
f1f10a7968
Update RBI files for rubocop.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-03-06 17:11:26 +00:00
BrewTestBot
643ef18be9
brew vendor-gems: commit updates. 2024-03-06 17:10:58 +00:00
dependabot[bot]
999a222e3d
build(deps-dev): bump rubocop from 1.61.0 to 1.62.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.61.0 to 1.62.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.61.0...v1.62.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-06 17:09:29 +00:00
Michael Cho
030980164d
dev-cmd/bump: change args type to CLI::Args
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-03-06 11:13:33 -05:00
Mike McQuaid
03e583e746
cask: read bundle version from Info.plist when sensible.
If you're trying to use `brew info --json=v2` to get an installed
version and figure out if it is outdated: you're going to have a bad
time with `auto_updates` casks because `installed_version` alone is not
enough to get the actually currently installed version of the app.

Instead, in these cases, try to read from `Info.plist` if there is one
and use that version.

While we're here, add a `blank?` method to `Version` so we can use it
for `present?` checks (making a `null?` `Version` object `blank?`).

Co-authored-by: Markus Reiter <me@reitermark.us>
2024-03-06 15:52:16 +00:00
Mike McQuaid
3ea74ea417
Merge pull request #16835 from reitermarkus/tap-config-private
Don't store tap config when value is unknown.
2024-03-06 15:33:54 +00:00
Mike McQuaid
026ca68c5c
Merge pull request #16834 from reitermarkus/tap-new-private
Make `Tap::new` private.
2024-03-06 15:33:25 +00:00
Mike McQuaid
83c94df40d
Merge pull request #16832 from reitermarkus/tap-sig-fetch
Add type signature for `Tap::fetch`.
2024-03-06 15:32:45 +00:00
Mike McQuaid
5a68dea2d6
Merge pull request #16771 from cho-m/pypi-package_name-version
utils/pypi: default to formula version when using package_name
2024-03-06 15:21:37 +00:00
Markus Reiter
c7f4e006f4
Don't store tap config when value is unknown. 2024-03-06 15:18:52 +01:00
Markus Reiter
e3a102efd4
Make Tap::new private. 2024-03-06 15:10:14 +01:00
Markus Reiter
a851bb86ef
Add type signature for Tap::fetch. 2024-03-06 14:30:17 +01:00
Justin Klaassen
009ddd7036
dev-cmd/bump: add --tap= flag 2024-03-05 18:11:53 -08:00
BrewTestBot
2c76cfe206
Update RBI files for parallel_tests.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-03-05 18:42:40 +00:00
BrewTestBot
eb18c42a36
brew vendor-gems: commit updates. 2024-03-05 18:42:27 +00:00
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