3116 Commits

Author SHA1 Message Date
Mike McQuaid
27f47bafbc
dev-cmd/bump-cask-pr: use FromContentLoader when relevant.
When loading from `tmp_contents` in `bump-cask-pr` we're always loading
from the contents and not from a e.g. filename etc. As a result, skip
the detection of the correct loader (as the regex can be a bit flaky)
and instead use `FromContentLoader` directly.
2024-04-08 13:25:59 +01:00
Douglas Eichelberger
351f14f9f4 Add IRB H = Homebrew alias 2024-04-04 19:15:59 -07:00
Mike McQuaid
a1e24eeb5e
Merge pull request #17023 from Homebrew/bump_skip_repology
dev-cmd/bump: unconditionally skip Repology queries for now.
2024-04-04 09:55:29 +01:00
Mike McQuaid
acb7f45cfd
dev-cmd/bump: unconditionally skip Repology queries for now.
We've been blocked by Repology so let's stop querying them for now.

Fixes #17021.
2024-04-04 09:43:44 +01:00
Bo Anderson
27ca946c06
dev-cmd/typecheck: use EUID with sorbet 2024-04-04 08:47:32 +01:00
Douglas Eichelberger
6d716a7d69 Missed one 2024-04-01 12:09:20 -07:00
Mike McQuaid
df2c914b42
Merge pull request #16989 from cho-m/livecheck-throttle-audit-updates
formula_auditor: check livecheck throttle
2024-04-01 13:55:50 +01:00
Michael Cho
4b65052b22
dev-cmd/bump-formula-pr: deprecate throttled_formulae.json
Signed-off-by: Michael Cho <michael@michaelcho.dev>
2024-04-01 00:54:36 -04:00
Sam Ford
a4134125f2
livecheck: Clarify --extract-plist behavior
From the description of the `--extract-plist` option, it would seem
that the `ExtractPlist` strategy is only enabled when the option is
used. Instead, livecheck automatically enables the strategy if the
command is run on only one cask. This rewords descriptions of the
option to clarify the behavior.
2024-03-31 21:01:40 -04:00
Mike McQuaid
21dd3c263f
Merge pull request #16975 from Homebrew/ported-cmds
Begin porting non-dev commands to use AbstractCommand
2024-03-31 19:28:30 +01:00
Douglas Eichelberger
65f8420232 Make things private 2024-03-30 16:43:11 -07:00
Issy Long
9dfe11870e
Convert the EnvConfig RBI generator to a Tapioca compiler 2024-03-30 18:30:20 +00:00
Issy Long
a3932b44c0
Merge pull request #16899 from Homebrew/tapioca-compiler-for-tty-rbi
Convert the `utils/tty` RBI generator to a Tapioca compiler
2024-03-30 18:10:41 +00:00
Douglas Eichelberger
c50fb2dbd2 Remove redundant cli/parser requires 2024-03-29 18:53:07 -07:00
Mike McQuaid
ec74bad6d3
Merge pull request #16962 from Homebrew/bump_15_prs
dev-cmd/bump*: limit the number of open PRs to 15.
2024-03-29 08:16:39 +00:00
Issy Long
05b716613b
Convert the utils/tty RBI generator to a Tapioca compiler
- The preferred way of doing RBI generation is via Tapioca. So I am
  trying to stop being intimidated by it, by learning how it works.
- This is very WIP still, currently failing with the following message
  because the `module` name is missing in the generated RBI file.

```
There are parse errors in the generated RBI files.

Errors:
  sorbet/rbi/dsl/tty.rbi:8: unexpected token tNL (2001)
  sorbet/rbi/dsl/tty.rbi:64: unexpected token "end" (2001)
```
2024-03-29 00:41:56 +00:00
Bo Anderson
2f05b47242
Fix setup-ruby/rubocop issues when euid != uid 2024-03-28 15:39:07 +00:00
Mike McQuaid
fe16b14479
dev-cmd/bump*: limit the number of open PRs to 15.
Don't let users open more than 15 PRs at a time. We have other tooling
to nudge them to not do this but let's put it in the worst offenders:
the `bump*` commands.
2024-03-28 11:56:25 +00:00
Bo Anderson
28a80a6ebf
Avoid writable_real? 2024-03-27 06:26:32 +00:00
Douglas Eichelberger
7f9748bd03 Port Homebrew::DevCmd::VendorGems 2024-03-22 09:33:28 -07:00
Douglas Eichelberger
084f63ef22 Port Homebrew::DevCmd::UpdateTest 2024-03-22 09:33:28 -07:00
Douglas Eichelberger
c789bf4475 Port Homebrew::DevCmd::UpdateSponsors 2024-03-22 09:33:28 -07:00
Douglas Eichelberger
7bef4b010c Port Homebrew::DevCmd::UpdatePythonResources 2024-03-22 09:33:28 -07:00
Douglas Eichelberger
46d758d5cf Port Homebrew::DevCmd::UpdateLicenseData 2024-03-22 09:33:28 -07:00
Douglas Eichelberger
bdf8fbc1ad Port Homebrew::DevCmd::Unpack 2024-03-22 09:33:28 -07:00
Douglas Eichelberger
ba5f392d4c Port Homebrew::DevCmd::Typecheck 2024-03-22 09:33:28 -07:00
Douglas Eichelberger
445d81db2e Port Homebrew::DevCmd::Tests 2024-03-22 09:33:28 -07:00
Douglas Eichelberger
827e943803 Port Homebrew::DevCmd::Test 2024-03-22 09:33:28 -07:00
Douglas Eichelberger
e0519d736a Port Homebrew::DevCmd::TapNew 2024-03-22 09:33:28 -07:00
Douglas Eichelberger
0d04f198d2 Port Homebrew::DevCmd::StyleCmd 2024-03-22 09:33:28 -07:00
Douglas Eichelberger
1436b06e90 Port Homebrew::DevCmd::Sh 2024-03-22 09:33:28 -07:00
Douglas Eichelberger
177bab38c7 Port Homebrew::DevCmd::Release 2024-03-22 09:33:28 -07:00
Douglas Eichelberger
6d362ccb3b Port Homebrew::DevCmd::PrUpload 2024-03-22 09:33:28 -07:00
Douglas Eichelberger
dc062bea52 Port Homebrew::DevCmd::PrPull 2024-03-22 09:33:28 -07:00
Douglas Eichelberger
821f2a5ab5 Automagically remove -cmd suffix 2024-03-21 19:55:35 -07:00
Douglas Eichelberger
b37274de8b Port Homebrew::DevCmd::PrPublish 2024-03-21 19:04:31 -07:00
Douglas Eichelberger
972e853ec0 Port Homebrew::DevCmd::PrAutomerge 2024-03-21 19:04:31 -07:00
Douglas Eichelberger
d15f99514c Port Homebrew::DevCmd::Livecheck 2024-03-21 19:04:31 -07:00
Douglas Eichelberger
5848c3d81b Port Homebrew::DevCmd::Linkage 2024-03-21 19:04:31 -07:00
Douglas Eichelberger
afaa48bd17 Port Homebrew::DevCmd::Irb 2024-03-21 19:04:31 -07:00
Douglas Eichelberger
0e489a8c04 Port Homebrew::DevCmd::InstallBundlerGems 2024-03-21 19:04:31 -07:00
Douglas Eichelberger
485574ac98 Port Homebrew::DevCmd::GenerateManCompletions 2024-03-21 19:04:30 -07:00
Douglas Eichelberger
7fc20640f2 Port Homebrew::DevCmd::GenerateFormulaApi 2024-03-21 19:04:30 -07:00
Douglas Eichelberger
afceaec076 Port Homebrew::DevCmd::GenerateCaskApi 2024-03-21 19:04:30 -07:00
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