Kevin
d94772171f
Merge pull request #16541 from apainintheneck/next-gen-api-formula-json-v3
...
Next gen api formula json v3
2024-02-04 11:16:01 -08:00
Eric Knibbe
e63b1f4da5
docs: monospace suggested values
2024-02-04 15:42:26 +01:00
apainintheneck
ba3a0f8c33
dev-cmd/generate-formula-api: generate homebrew-core.json
...
This adds the code to generate the homebrew-core.json file which
represents the entire tap instead of just the previous array of
formula hashes. Any shared logic has been moved into the top-level
hash scope including aliases, renames, tap_git_head and tap_migrations.
I also added a check to skip adding the variations hash to the api
hash if it is empty.
Now we're down to 10MB from 24MB!!!
2024-02-04 13:50:57 +01:00
Douglas Eichelberger
8156c5d140
Audit remaining commands
2024-01-31 20:02:33 -08:00
Douglas Eichelberger
07eb24d220
Add missing SystemCommand::Mixin to update-sponsors
2024-01-31 19:55:13 -08:00
Bo Anderson
f5068ab317
Merge pull request #16558 from dduugg/mechanize-fixes
...
Fix mechanize vendoring; add RBI defs
2024-02-01 01:25:12 +00:00
Douglas Eichelberger
583852cb0a
Add missing SystemCommand::Mixin to fix CI
2024-01-31 14:55:04 -08:00
Douglas Eichelberger
b94b584417
Clear mechanize versions before install
2024-01-31 09:41:49 -08:00
Douglas Eichelberger
36f64d6b30
Enable Style/TopLevelMethodDefinition
2024-01-26 11:37:11 -08:00
Mike McQuaid
3d03ed2710
Merge pull request #16515 from issyl0/bump-point-out-if-formulae-are-synced
...
dev-cmd/bump: Point out if formulae should be kept in sync with others
2024-01-26 14:04:20 +00:00
Mike McQuaid
8c2dcbac3d
Merge pull request #16530 from trail-of-forks/joesweeney/provenance-on-publish
...
Add option to retain tmpdir on pr-pull
2024-01-26 14:02:12 +00:00
Issy Long
bf44e74a01
Fix Sorbet - don't need the T.must
s anymore
2024-01-25 23:11:37 +00:00
Joseph Sweeney
b261dc7798
Fix style
2024-01-25 11:50:19 -05:00
Joe Sweeney
a61cb1a4d0
Set GitHub workflow output correctly
...
Co-authored-by: Bo Anderson <mail@boanderson.me>
2024-01-25 11:45:20 -05:00
Joseph Sweeney
0b0d9a6066
Add option to retain tmpdir on pr-pull
...
This option will be used to generate build provenance in the
`publish-commit-bottles.yml` workflow in `Homebrew/homebrew-core`. It
adds a single flag that controls whether or not the temporary directory
where bottles are downloaded is retained.
2024-01-25 10:35:59 -05:00
Issy Long
1b5fa172bb
Split audit_synced_versions_formulae
checks into reusable methods
...
- This way we can use them in the audit and in `bump`.
2024-01-24 14:01:01 +00:00
Mike McQuaid
86e1c8aacf
Merge pull request #16463 from dduugg/no-active-support
...
Remove ActiveSupport from runtime
2024-01-22 19:22:12 +00:00
Issy Long
22203fb6d9
dev-cmd/bump: Be more explicit that we have no PRs
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2024-01-21 19:41:49 +00:00
Issy Long
c7ed62a7d6
dev-cmd/bump: Point out if formulae should be kept in sync with others
...
- This will give some information to users of `brew bump` that they
should keep the version of the formula in sync with other formulae.
- A future enhancement is actually making the bumping of the "related"
formulae automatic with `--open-pr`. But for now, telling people so
that they don't have to wait until `brew audit` fails either locally
or in CI at a later stage is a good start.
2024-01-21 00:43:50 +00:00
Issy Long
de6ec7c54e
dev-cmd/bump: Don't fall over when retrieving PRs errors
...
- Instead, let the `pull_requests&.any?` check do its job and not show
PRs that we couldn't find or fetch.
- In the `--debug` output, show the error message that we got from GitHub.
2024-01-20 16:41:47 +00:00
Douglas Eichelberger
0cdd4eee3b
Add Hash#deep_merge to extend/
2024-01-19 13:36:16 -08:00
Issy Long
f682147598
Fix RuboCop Style/RedundantFreeze
offenses
2024-01-18 22:20:01 +00:00
Bo Anderson
310b5ecbe7
Introduce Formulary platform cache
2024-01-09 11:12:49 +00:00
apainintheneck
894b94bfd7
dev-cmd/tests: Add profile option
...
This will allow us to more easily measure test performance. The only
downside here is that we can't use it with parallel rspec because
it will show the n slowest tests for each parallel rspec run which
is not what we want.
2024-01-06 12:51:15 -08:00
Bo Anderson
5aebde3ffd
Add consistent path validation
2024-01-01 18:37:47 +00:00
Michael Cho
10659a1d61
update-python-resources: show pip install failure when --verbose
...
Also use `--disable-pip-version-check` to remove pip update notices
2023-12-30 12:16:09 -05:00
Douglas Eichelberger
caf8259ae6
Code review changes
2023-12-27 15:29:33 -08:00
Douglas Eichelberger
3abbf4447e
Some minor regexp match perf improvements
2023-12-27 13:16:36 -08:00
apainintheneck
b79778229c
Resolve Cask::Cask.all todo
...
Now it takes the :eval_all parameter that means we can remove
ARGV handling inside Cask::Cask.all.
2023-12-21 21:55:16 -08:00
Eric Knibbe
4259e2ad96
cmd/bump: indicate deprecated or skipped formulae/casks
2023-12-17 16:50:02 -05:00
Mike McQuaid
4776c191da
Merge pull request #16345 from razvanazamfirei/update-cask-documentation
...
create: modify cask template
2023-12-17 15:34:44 +00:00
Issy Long
7e328d8f0a
Merge pull request #16346 from issyl0/dont-forget-about-rubocop-comments
...
Fix new `Style/MutableConstant` RuboCop offenses for Ruby 3.1
2023-12-17 10:58:33 +00:00
Jeroen Ooms
29cf01d442
Fix workflow for duplicate names
2023-12-16 14:36:12 +01:00
Issy Long
149b0e4f31
Fix new Style/MutableConstant
RuboCop offenses for Ruby 3.1
...
- A follow-up to de592af20bbff5bcb548d2474f0722e59ff1129a, resetting the previous disabled comments too.
2023-12-16 11:57:06 +00:00
Razvan Azamfirei
ae1c058f9b
create: modify cask template
2023-12-15 15:34:43 -05:00
Bo Anderson
89531e9ff3
Update all dependencies
2023-12-15 16:24:46 +00:00
Bo Anderson
5692c8ecbf
Fix style violations under newer RuboCop
2023-12-14 05:47:12 +00:00
Douglas Eichelberger
0ce84387fd
Also remove Hash#slice!
2023-12-12 10:41:47 -08:00
Bo Anderson
688d87e839
Remove Ruby 2.6 & macOS system Ruby support code
2023-12-12 03:44:31 +00:00
Bo Anderson
b42256d286
Deprecate, disable & delete code for Homebrew 4.2.0
2023-12-07 23:42:13 +00:00
Mike McQuaid
ecb302c618
Merge pull request #16297 from reitermarkus/deprecate-new-formula-new-cask
...
Deprecate `--new-formula`/`--new-cask` options.
2023-12-06 15:27:14 -05:00
Markus Reiter
0a4d10ba89
Deprecate --new-formula
/--new-cask
options.
2023-12-06 16:18:26 +01:00
Anatoli Babenia
6afd15ae00
create: Fix getting name from GitHub archives
...
`brew create https://github.com/lapce/lapce/archive/v0.3.0.tar.gz ` was
getting the wrong name 'v3.0.0' from the URL
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2023-12-05 14:49:53 -05:00
Mike McQuaid
df3a0c434d
Merge pull request #16279 from Homebrew/dependabot/bundler/Library/Homebrew/json-2.7.0
...
build(deps-dev): bump json from 2.6.3 to 2.7.0 in /Library/Homebrew
2023-12-04 18:02:57 +00:00
Bo Anderson
6eb8d51a0c
dev-cmd/typecheck: skip json
RBI generation
2023-12-04 17:08:56 +00:00
Bevan Kay
dc2ded859b
Gemfile: load REXML gem for brew bump
2023-12-04 13:03:21 +11:00
Bo Anderson
110b9b03b0
Hack fix for Sorbet hidden definitions update failing on Ruby 3
2023-12-01 19:45:52 +00:00
Mike McQuaid
395ea6b261
Merge pull request #16274 from Bo98/bump-cask-pr-dup-check-fix
...
bump-cask-pr: fix duplicate PR checking with comma versions
2023-11-30 11:52:15 +00:00
Mike McQuaid
0e5018870f
Merge pull request #16273 from Bo98/bump-cask-pr-sha256
...
dev-cmd/bump-cask-pr: fix --sha256
2023-11-30 11:40:47 +00:00
Bo Anderson
0aae1fa6ae
bump-cask-pr: fix duplicate PR checking with comma versions
2023-11-30 02:49:07 +00:00