Mike McQuaid
2bb53445e5
Merge pull request #16905 from cho-m/create-types
...
dev-cmd/create: add types
2024-03-18 12:47:09 +00:00
Douglas Eichelberger
468c7b32e0
Remove unused matcher
2024-03-17 23:08:33 -07:00
Douglas Eichelberger
820d320835
Remove and refactor rspec-its use
2024-03-17 22:47:37 -07:00
Douglas Eichelberger
9f63674125
Include .rbi shims in yard docs
2024-03-17 20:53:58 -07:00
Michael Cho
709afd58ed
dev-cmd/bump-formula-pr: replace partial version in URL
...
For now, restrict to partial version excluding the last part, i.e.
version with major.minor.patch will result in attempting to replace any
occurrences of "/#{major}.#{minor}/" or "/v#{major}.#{minor}/".
This should take care of common situations like GNOME, KDE, and
SourceForge URLs. It should also help with URLs like `util-linux`.
It may result in incorrect replacements if URL has partial version based
on another versioning scheme like the API version or if there are some
equivalent numbers in URL that happen to match
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-03-17 13:03:43 -04:00
Douglas Eichelberger
133b9382f0
Improve readability
2024-03-17 09:29:40 -07:00
Michael Cho
3021ba91fd
dev-cmd/create: add types
...
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-03-17 11:33:47 -04:00
Douglas Eichelberger
4b358fc713
Extract global args
2024-03-16 11:15:03 -07:00
Douglas Eichelberger
131a5421a5
Make cmd_args block non-nilable
2024-03-16 11:14:39 -07:00
Michael Cho
393a97f868
utils/pypi: allow overwriting resource patches
...
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-03-16 13:55:19 -04:00
BrewTestBot
9739dc284c
brew vendor-gems: commit updates.
2024-03-16 14:59:19 +00:00
dependabot[bot]
25a0f98a5f
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.11288 to 0.5.11294
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-static-and-runtime` from 0.5.11288 to 0.5.11294
- [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-03-16 14:57:59 +00:00
Bo Anderson
e6f64767c5
utils/github: fix variable scope
2024-03-16 03:25:44 +00:00
Bo Anderson
8102e239f9
Merge pull request #16887 from Homebrew/bump-no-repology
...
dev-cmd/bump: skip Repology checks in CI for livecheckables
2024-03-16 03:13:47 +00:00
Douglas Eichelberger
625206b0bd
Avoid duplicating global options
2024-03-15 16:30:09 -07:00
Bo Anderson
011dfc8f45
cask/artifact/moved: fix permission handling when removing directories
2024-03-15 21:31:37 +00:00
Bo Anderson
7b0c3d54f1
utils/github: use GraphQL PR searching
2024-03-15 21:27:05 +00:00
Douglas Eichelberger
dfa01a5a84
Update args compiler
2024-03-15 14:24:26 -07:00
Douglas Eichelberger
23336aa316
Update tests
2024-03-15 12:58:59 -07:00
Douglas Eichelberger
aad08cd5a4
Revert using hash accessors for args
2024-03-15 12:51:03 -07:00
Douglas Eichelberger
7c7444c2a5
No longer need to thread args
2024-03-15 12:46:06 -07:00
Douglas Eichelberger
cda2761504
Preseve args_parse test for new commands
2024-03-15 12:46:06 -07:00
Douglas Eichelberger
6fc99d9569
Add tests
2024-03-15 12:46:06 -07:00
Douglas Eichelberger
7d34717ccd
Search subclasses instead of using registry
2024-03-15 12:46:06 -07:00
Douglas Eichelberger
96fc8bf66b
bracket access over public_send
2024-03-15 12:46:05 -07:00
Douglas Eichelberger
fd652148fa
Implement cmd_args block
2024-03-15 12:46:05 -07:00
Douglas Eichelberger
2dceb65b42
Port prof to use AbstractCommand
2024-03-15 12:46:05 -07:00
Douglas Eichelberger
5364b6ef03
Use a command registry
2024-03-15 12:46:05 -07:00
Douglas Eichelberger
cbcb221de6
Create AbstractCommand class
2024-03-15 12:46:05 -07:00
Douglas Eichelberger
a3e5e3f7a0
Merge pull request #16880 from dduugg/args-compiler
...
Add tapioca compiler for Homebrew::CLI::Args
2024-03-14 11:50:07 -07:00
BrewTestBot
65d70d024e
Update RBI files for minitest.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2024-03-14 18:38:37 +00:00
BrewTestBot
6122b316a6
brew vendor-gems: commit updates.
2024-03-14 18:38:25 +00:00
dependabot[bot]
fcc17e2136
build(deps-dev): bump minitest in /Library/Homebrew
...
Bumps [minitest](https://github.com/minitest/minitest ) from 5.22.2 to 5.22.3.
- [Changelog](https://github.com/minitest/minitest/blob/master/History.rdoc )
- [Commits](https://github.com/minitest/minitest/commits )
---
updated-dependencies:
- dependency-name: minitest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-14 18:37:36 +00:00
Mike McQuaid
5012e2d17c
Merge pull request #16891 from Homebrew/update_reset_tag
...
cmd/update-reset: use stable tag.
2024-03-14 16:51:50 +00:00
Mike McQuaid
f1ba840193
Merge pull request #16889 from Homebrew/adopt_bundle_version
...
cask/artifact: check the bundle version when using `--adopt`.
2024-03-14 16:42:01 +00:00
Mike McQuaid
b1cbe47e45
cmd/update-reset: use stable tag.
...
Currently we always reset Homebrew/brew onto the latest `master`.
Instead, let's correctly use the latest tag when appropriate.
2024-03-14 16:41:30 +00:00
Mike McQuaid
f086138043
Fix GitHub Actions annotation format.
...
Co-authored-by: Bo Anderson <mail@boanderson.me>
2024-03-14 14:09:11 +00:00
Mike McQuaid
a3702a28c4
cask/artifact: check the bundle version when using --adopt.
...
This makes `--adopt` considerably faster and more useful for application
bundles by checking the bundle version before failing to adopt the
bundle.
This could be further extended by e.g. checking if auto-updates are
enabled.
While we're here, also allow `adopt` to act a bit more like `force` in
a few other places assuming this initial check passes.
2024-03-14 10:31:31 +00:00
Mike McQuaid
dcaa69a2dc
Add GitHub Actions warning/error annotations for deprecations/disables.
...
This should make these messages, particular warnings, more obvious to
GitHub Actions users.
There's an argument perhaps we should do this more broadly for all
warning/error messages but: this feels like a good start.
2024-03-14 09:49:12 +00:00
Mike McQuaid
a7d77485f1
Merge pull request #16888 from cho-m/formula-no-python2.7-dir
...
formula: remove setting up home for python 2.7
2024-03-14 08:32:44 +00:00
Michael Cho
697d41674c
Merge pull request #16879 from cho-m/diagnostic-taploader
...
diagnostic: use FromTapLoader to check 3rd-party formula
2024-03-14 02:16:31 -04:00
Michael Cho
cc82c52d6f
formula: remove setting up home for python 2.7
...
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-03-14 02:05:52 -04:00
Douglas Eichelberger
68cce23e15
Add tests
2024-03-13 22:02:03 -07:00
Bo Anderson
0927f47f99
Merge pull request #16885 from Homebrew/autoupdate-bump-fix
...
brew.sh: fix autoupdate not working correctly for bump commands
2024-03-14 03:58:15 +00:00
Bo Anderson
f3a99ca676
dev-cmd/bump: skip Repology checks in CI for livecheckables
2024-03-14 03:53:47 +00:00
Bo Anderson
7921e8a67d
brew.sh: fix autoupdate not working correctly for bump commands
2024-03-14 03:47:01 +00:00
Kevin
7473e63f38
Merge pull request #16875 from Homebrew/fix-untap-cmd-bugs
...
Fix untap cmd bugs
2024-03-13 20:17:38 -07:00
Kevin
58b84c3979
Merge pull request #16867 from Homebrew/stop-using-full-name-as-key-in-cask-json-v3
...
cask: always return short cask tokens from core cask tap
2024-03-12 22:51:10 -07:00
apainintheneck
9ff0f85335
untap_spec: use builtin spec helpers to simplify tests
2024-03-12 22:07:14 -07:00
apainintheneck
9daeaf6087
untap: only blank rescue unavaiable cask and formula errors
2024-03-12 21:08:58 -07:00