Douglas Eichelberger
16b93c48e0
Port Homebrew::DevCmd::Formula
2024-03-21 19:04:30 -07:00
Douglas Eichelberger
2f461b1b95
Port Homebrew::DevCmd::Extract
2024-03-21 19:04:30 -07:00
Douglas Eichelberger
2cc70549d8
Port Homebrew::DevCmd::Edit
2024-03-21 19:04:30 -07:00
Douglas Eichelberger
21c84553cf
Port Homebrew::DevCmd::DispatchBuildBottle
2024-03-21 19:04:30 -07:00
Douglas Eichelberger
19f9c52652
Port Homebrew::DevCmd::DetermineTestRunners
2024-03-21 19:04:30 -07:00
Douglas Eichelberger
9297a850aa
Port Homebrew::DevCmd::Create
2024-03-21 19:04:30 -07:00
Bo Anderson
d704e007c7
Merge pull request #16935 from Homebrew/fix-typo-class
...
Fix typo'd command class name
2024-03-22 01:38:51 +00:00
Douglas Eichelberger
1a62a639b2
Merge pull request #16934 from cho-m/test-shell-completion-error
...
test/abstract_command_spec: rename cat to fix completions test
2024-03-21 18:17:28 -07:00
Douglas Eichelberger
4dc92026b8
Use non-null description
2024-03-21 17:46:35 -07:00
Douglas Eichelberger
1db309f024
Fix typo'd class name
2024-03-21 17:41:31 -07:00
BrewTestBot
0f974bdb0a
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2024-03-22 00:18:58 +00:00
Michael Cho
57b7f3940d
test/abstract_command_spec: rename cat
to fix completions test
...
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-03-21 19:58:22 -04:00
Michael Cho
3ddc196f11
cleanup: remove broken symlink for uninstalled migrated Casks
...
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-03-21 17:52:48 -04:00
Sam Ford
b3ab410215
rubocops/livecheck: Rework LivecheckUrlProvided
...
The existing `LivecheckUrlProvided` RuboCop requires a `url` for all
`livecheck` blocks except those using `skip`, `formula`, or `cask`,
as those only appear in a `livecheck` block with no other DSL methods.
We now have a `throttle` method that can be used alongside other DSL
methods (e.g., `url`, `regex`, `strategy`) or by itself. `brew style`
currently fails when `throttle` is used by itself, so this reworks
the conditions to allow this usage.
2024-03-21 15:53:25 -04:00
Michael Cho
43e2e28869
dev-cmd/bump-formula-pr: clean up unused code
...
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-03-21 10:11:50 -04:00
Sam Ford
0f063921c5
livecheck: Update throttle rate parameter type
...
Co-authored-by: Markus Reiter <me@reitermark.us>
2024-03-21 10:11:50 -04:00
Sam Ford
7681621cd4
livecheck: Reorder throttle
2024-03-21 10:11:50 -04:00
Sam Ford
25d07c3838
livecheck: Add throttle info to debug, JSON output
2024-03-21 10:11:50 -04:00
Michael Cho
bfec6eecac
livecheck: support throttle DSL
...
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-03-21 10:11:49 -04:00
Mike McQuaid
a2378f29d9
Merge pull request #16929 from Homebrew/update-test-for-custom-service-require-root
...
rubocops/service_spec: update test for name and require root
2024-03-21 12:24:07 +00:00
Razvan Azamfirei
4129200b96
livecheck: add --extract-plist
switch
2024-03-21 11:50:27 +00:00
apainintheneck
769b4f89c7
rubocops/service_spec: update test to cover custom name that requires root
...
This was added in recently and this just updates the test to reflect the
expected behavior for the cop.
2024-03-20 21:05:14 -07:00
Patrick Linnane
df84883f12
formula_auditor: generalize relicensed formula audit
...
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-03-20 20:59:35 -07:00
Patrick Linnane
216c79cebd
formula_auditor: handle redis
relicense
...
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-03-20 20:49:06 -07:00
Kevin
7b2bfee363
Merge pull request #16903 from apainintheneck/prevent-unexpected-network-calls-in-tests
...
Prevent unexpected network calls in tests
2024-03-20 20:40:26 -07:00
BrewTestBot
8ce9ffe660
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2024-03-21 00:20:03 +00:00
Douglas Eichelberger
b48f85f991
Fix nil repositories in dev-cmd bump
2024-03-20 13:40:35 -07:00
Douglas Eichelberger
db9c5a5da1
Fix linux test
2024-03-20 10:36:19 -07:00
Douglas Eichelberger
bf9ebccecd
Handle dashed commands
2024-03-20 10:36:19 -07:00
Douglas Eichelberger
6b19bc5535
Style cleanup
2024-03-20 10:36:19 -07:00
Douglas Eichelberger
0373e0dc29
Port Homebrew::DevCmd::Contributions
2024-03-20 10:36:19 -07:00
Douglas Eichelberger
777ee12258
Port Homebrew::DevCmd::Command
2024-03-20 10:36:19 -07:00
Douglas Eichelberger
55a0991902
Port Homebrew::DevCmd::Cat
2024-03-20 10:36:19 -07:00
Douglas Eichelberger
df42e9cfb3
Port Homebrew::DevCmd::Bump
2024-03-20 10:36:10 -07:00
Douglas Eichelberger
c70dc040c6
Port Homebrew::DevCmd::BumpUnversionedCask
2024-03-20 10:25:18 -07:00
Douglas Eichelberger
1097496a06
Port Homebrew::DevCmd::BumpRevision
2024-03-20 10:25:18 -07:00
Douglas Eichelberger
d873881c47
Port Homebrew::DevCmd::BumpFormulaPr
2024-03-20 10:25:17 -07:00
Douglas Eichelberger
ebc458a7fe
Port Homebrew::DevCmd::BumpCaskPr
2024-03-20 10:16:17 -07:00
Douglas Eichelberger
ee0c967ce0
Port Homebrew::DevCmd::Bottle
2024-03-20 10:16:17 -07:00
Douglas Eichelberger
0f2efd3939
Port Homebrew::DevCmd::Audit
2024-03-20 10:16:17 -07:00
Douglas Eichelberger
cae62e0175
Update Command API
2024-03-20 10:16:17 -07:00
Mike McQuaid
91d670c3fa
Merge pull request #16914 from Homebrew/service_require_root_no_run
...
rubocops/service: allow require_root to be used without run.
2024-03-20 08:42:34 +00:00
Mike McQuaid
f99c9c7a7b
Merge pull request #16915 from Homebrew/bump_no_tap
...
dev-cmd/bump: handle no formula tap case.
2024-03-20 08:27:49 +00:00
apainintheneck
74aea8e92d
spec_helper: add :no_api test scope
...
This sets the HOMEBREW_NO_INSTALL_FROM_API environment variable
to prevent the selected tests from using the API. We will need
this as we transition to having the API be enabled by default
when running the tests but it's also nice as a sanity check
with the :needs_utils_curl scope in a few places.
2024-03-19 22:18:02 -07:00
Eric Knibbe
afbf6a1e2c
bump-formula-pr: fix type of detected version
...
Fixes #16917 .
2024-03-19 22:44:05 -04:00
Bo Anderson
326bc3f889
Fix cask source checksum handling
2024-03-19 21:21:37 +00:00
Michael Cho
d04c5ad4f8
test/utils/github_spec: filter further to fix test failure
...
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-03-19 17:01:04 -04:00
Mike McQuaid
d3ea535a9a
dev-cmd/bump: handle no formula tap case.
...
Fixes https://github.com/Homebrew/brew/issues/16913
2024-03-19 08:52:28 +00:00
Mike McQuaid
795642ea97
rubocops/service: allow require_root to be used without run.
...
Fixes https://github.com/Homebrew/brew/issues/16908
2024-03-19 08:46:47 +00:00
Patrick Linnane
e3797d39bd
Merge pull request #16912 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-runtime-and-sorbet-static-and-runtime-0.5.11295
2024-03-18 23:32:28 -07:00