76 Commits

Author SHA1 Message Date
Bo Anderson
b42256d286
Deprecate, disable & delete code for Homebrew 4.2.0 2023-12-07 23:42:13 +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
Bo Anderson
0aae1fa6ae
bump-cask-pr: fix duplicate PR checking with comma versions 2023-11-30 02:49:07 +00:00
Bo Anderson
5e1f40467b
dev-cmd/bump-cask-pr: fix --sha256 2023-11-30 02:47:06 +00:00
Douglas Eichelberger
0191af7899 resolve typecheck errors 2023-11-05 08:55:58 -08:00
Bo Anderson
26ea6b7f9e
Pull in REXML gem as it doesn't ship with Ruby 3 2023-10-27 20:24:10 +01:00
apainintheneck
c033a4673c dev-cmd/bump-cask-pr: replace url before downloading files
Previously it was possible for both the version and url to be changed.
This would cause the old url to be used to download the cask and check
the checksum since the version and checksum were replaced in the cask
first and then the url would be replaced. This meant that the resulting
checksum was wrong if a url was provided and might be completely
invalid if it was interpolated.
2023-10-23 19:22:46 -07:00
Bo Anderson
3b1c171184
Further split up Gemfile into groups 2023-09-27 17:33:44 +01:00
Razvan Azamfirei
705c466bbd
bump-cask-pr: comment out odeprecated 2023-09-11 09:13:43 -04:00
Razvan Azamfirei
33375ae938
rename class and reorganize files 2023-07-25 06:41:38 -04:00
Razvan Azamfirei
c64c834d05
bump-cask-pr: add arch-specific version support 2023-07-21 11:45:34 -04:00
Mike McQuaid
1db83cd4a9
dev-cmd/bump-cask-pr: fix install_bundler_gems! logic. 2023-07-18 12:18:19 +01:00
Mike McQuaid
3247b2ecfa
dev-cmd/bump-*-pr: avoid installing gems when unneeded.
Fixes #15686
2023-07-18 10:48:11 +01:00
Bo Anderson
367f716a08
dev-cmd/audit: don't audit every tap with given named packages 2023-07-04 16:08:04 +01:00
Bo Anderson
bb7aef85db
Migrate remaining no-api commands to new scoped system 2023-06-22 17:11:20 +01:00
Markus Reiter
0d56b97b07
Add SimulateSystem::with. 2023-05-14 01:45:04 +02:00
Eric Knibbe
5f6b626880
bump-cask-pr: convert URL back to string 2023-04-25 18:11:36 -04:00
Douglas Eichelberger
24cf6076e8 brew style --fix 2023-04-24 20:42:39 -07:00
Razvan Azamfirei
3d5c4aaf50
add check that hash is a string 2023-04-18 23:14:48 -04:00
Razvan Azamfirei
063324a116
fix bump-cask-pr handling of sha256 :no_check 2023-04-18 19:49:02 -04:00
Ruoyu Zhong
e3eb632034
dev-cmd/bump-cask-pr: fix sha265 typo 2023-04-01 01:07:21 +08:00
Markus Reiter
71e0d9c382
Make bump-cask-pr commit format more concise. 2023-03-30 20:04:21 +02:00
scientificworld
8589ca8d40
bump-*-pr: fix an issue when using on taps with custom remote 2023-03-29 20:05:16 +08:00
Markus Reiter
5e52d415a9
Allow fetching for different arch. 2023-03-25 11:56:09 +01:00
Douglas Eichelberger
f4c9a96c70 Enable types in dev-cmd 2023-03-14 08:32:03 -07:00
EricFromCanada
dfc9906184
internal messaging fixes 2023-02-10 23:17:16 -05:00
apainintheneck
a8ee2b7746 Add closed PR check to bump cmds
Currently we only check for closed PRs in
`bump-cask-pr`. This adds that check to `bump`
and `bump-formula-pr`. The idea is that this
check can warn users about already updated
packages or those that can't be updated
easily and should be updated manually instead.
2023-01-20 18:46:07 -08:00
Rui Chen
c9274ea34f
audit: use full_name for cask audit
Signed-off-by: Rui Chen <rui@chenrui.dev>
2022-12-28 16:29:33 -05:00
Issy Long
c37601f585
dev-cmd/bump-{cask,formula}-pr: args.message is before the default
- I was wondering why `brew bump` PRs have descriptions with both commands, like:

```
Created with `brew bump`.

---

Created by `brew bump-formula-pr`.
```

- Then I read the code and realised that "append" was the wrong word for the
  `--message` arg description.
2022-11-19 23:03:23 +00:00
EricFromCanada
504bdd2816
bump-cask-pr: handle additional use cases 2022-10-14 11:19:49 -04:00
apainintheneck
ad75619554 Remove unused function from bump-cask-pr 2022-09-27 21:20:05 -07:00
Rylan Polster
092095a249
bump-cask-pr: cleanup handling of multiple hashes 2022-09-03 19:28:23 -04:00
Rylan Polster
1075bbd895
Fix multi-arch cask sha256 updates 2022-08-18 12:50:20 -04:00
Rylan Polster
8fb03838db
bump-cask-pr: fix sha256 replacement with arch 2022-08-11 23:59:20 -04:00
Mike McQuaid
6b697470fd
brew style --fix
For https://github.com/Homebrew/brew/pull/13671
2022-08-10 14:19:33 +01:00
Mike McQuaid
2d5eab2e1c
brew style --fix 2022-06-30 08:56:21 +01:00
Bo Anderson
02164a35db
Use ORIGINAL_PATHS over envs; reject nil PATH 2022-06-17 19:47:57 +01:00
Mike McQuaid
bdc32c24cc
Merge pull request #12241 from cho-m/bump-cask-arch-lang
bump-cask-pr: bump language checksums in non-running hardware
2022-06-01 16:59:56 +01:00
Mike McQuaid
1bb44979ee
Disable and delete code for 3.5.0
The next planned release will be 3.5.0 so let's fix things up for there.
2022-05-30 14:59:14 +01:00
Michael Cho
7dd3b04979
bump-cask-pr: bump language checksums in non-running hardware 2022-04-03 17:03:06 -07:00
Mike McQuaid
38e1b3d64b
Deprecations, disables, deletions for 3.4.0 2022-02-22 14:28:32 +00:00
xxyzz
5f3a69c227
don't skip any language 2021-12-25 15:01:49 +08:00
xxyzz
4cf996bcdf
add comment 2021-12-21 18:01:49 +08:00
xxyzz
fb415a15e9
bump-cask-pr: avoid replacing sha256 twice on multilang cask
this script always get `inreplace failed` on cask like firefox because the
default sha256 is replaced twice
2021-12-21 16:12:29 +08:00
fn ⌃ ⌥
c0ca9275f9
bump-cask-pr: replace --write with --write-only in help text 2021-11-19 12:14:47 -08:00
fn ⌃ ⌥
7f292fc7d0 bump-cask-pr: use version substring before comma unless they match 2021-11-08 10:07:27 -08:00
Bevan Kay
55d9e88a14
Mirror --write-only behaviour to cask, fix incorrect arg reference 2021-10-20 22:40:08 +11:00
Michael Cho
79cb9e051b
bump-cask-pr: use similar logic to brew fetch 2021-08-24 18:29:03 -07:00
Mike McQuaid
08926fb1ec
dev-cmd: run Homebrew.install_bundler_gems! earlier.
Run `Homebrew.install_bundler_gems!` a bit earlier for some developer
commands to avoid printing gem installation output in the middle of
normal developer command output.
2021-04-30 12:00:28 +01:00
Dawid Dziurla
ee841f11df
bump-cask-pr: add --fork-org flag 2021-04-18 20:53:01 +02:00