58 Commits

Author SHA1 Message Date
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
Rylan Polster
4e61f61a20
utils/github: handle non-standard tap remotes 2021-03-21 12:35:45 -04:00
Seeker
6aa4145e3c
bump-cask-pr: edit fetch_resource to reduce code duplication
`fetch_resource` now returns a SHA-256 string instead of file path
2021-03-17 21:00:44 -07:00
Seeker
f65f0f9245
bump-cask-pr: add fetch_cask helper method 2021-03-17 21:00:44 -07:00
Seeker
5f92d00244
bump-cask-pr: support separate downloads for Intel and ARM 2021-03-17 21:00:43 -07:00
EricFromCanada
2ed324ebc0 use backticks around suggested input, flags, and binaries 2021-01-26 16:19:47 -05:00
Rylan Polster
d1f3e39b7b
Update commands to generate usage banner 2021-01-18 21:20:11 -05:00
Rylan Polster
da811373d3 Add named_args DSL for commands 2021-01-13 17:09:42 -05:00
Seeker
2901d2058a bump-*-pr: check for valid tap 2021-01-08 11:42:37 -08:00
Seeker
1395259ad6 bump-*-pr: check existing PRs for exact file match 2021-01-07 09:15:42 -08:00
Seeker
9acbc6c3f4 bump-cask-pr: ignore closed duplicate PRs 2020-12-24 09:25:38 -08:00
Seeker
b13be5e989 bump-cask-pr: don't add checksum when versioned and has :no_check 2020-12-10 14:53:05 -08:00
Seeker
d291b3c185 Refactor bump-cask-pr.
Co-authored-by: Markus Reiter <me@reitermark.us>
2020-12-10 14:17:10 -08:00
Markus Reiter
b57a448f2a Add bump-unversioned-casks command. 2020-12-07 23:03:47 +01:00
Jonathan Chang
92d3eda914 git_extensions: move origin_branch from utils/git 2020-12-06 14:33:23 +11:00
Mike McQuaid
f364f0c841
Merge remote-tracking branch 'origin/master' into deprecate-cask-commands 2020-11-25 09:39:00 +00:00
Markus Reiter
3c2ec1c60f Deprecate remaining cask commands. 2020-11-21 19:56:12 +01:00
Markus Reiter
560f8e2b03 Fix checksum replacement in bump-cask-pr. 2020-11-21 19:08:06 +01:00
EricFromCanada
72bc057014 manpage: fixes for formatting 2020-11-16 08:02:50 -05:00