321 Commits

Author SHA1 Message Date
Thierry Moisan
06ea040779
Deprecate --write in bump-formula-pr cmd in favour of --write-only 2021-10-12 08:26:49 -04:00
Dawid Dziurla
df086d618e
bump-formula-pr: use default remote if forcing Homebrew on Linux 2021-08-13 22:56:05 +02: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
63be66408e
bump-formula-pr: add --fork-org flag 2021-04-17 09:53:15 +02:00
Rylan Polster
4e61f61a20
utils/github: handle non-standard tap remotes 2021-03-21 12:35:45 -04:00
Bo Anderson
20ff68a425
Fix brew style. 2021-03-17 20:45:44 +00:00
Dustin Rodrigues
48bfdee708 bump-formula-pr: pass --formula flag when auditing a bumped formula 2021-01-30 19:12:40 -05:00
EricFromCanada
6fc116318e fixes for grammar and wording 2021-01-26 16:19:47 -05:00
EricFromCanada
2ed324ebc0 use backticks around suggested input, flags, and binaries 2021-01-26 16:19:47 -05:00
EricFromCanada
a427de5bee capitalization fixes
"curl" is the binary, while "cURL" is the umbrella project.
2021-01-26 15:36:44 -05:00
Seeker
cded62333e bump-formula-pr: improvements 2021-01-24 11:23:43 -08: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
2e8fe069fa
Merge pull request #10282 from SeekingMeaning/bump-formula-cleanup
bump-formula-pr: cleanup
2021-01-11 16:20:34 -08:00
Seeker
b29c27b9a8
Merge pull request #10251 from SeekingMeaning/bump-pr-match
bump-*-pr: check existing PRs for exact file match
2021-01-11 08:40:47 -08:00
Seeker
8fdfbdfc0b bump-formula-pr: cleanup 2021-01-10 09:47:20 -08:00
Seeker
2901d2058a bump-*-pr: check for valid tap 2021-01-08 11:42:37 -08:00
Michka Popoff
5e91802470 checksum: simplify, use only sha256
We use only one sha type right now.

Needed for https://github.com/Homebrew/brew/pull/10186
2021-01-07 20:46:13 +01:00
Seeker
1395259ad6 bump-*-pr: check existing PRs for exact file match 2021-01-07 09:15:42 -08:00
Seeker
64d312c356 bump-formula-pr: use nil?/blank?/present? in if statements 2021-01-05 09:15:03 -08:00
EricFromCanada
59cfef6db0 bump-formula-pr: handle additional edge cases 2020-12-09 10:21:36 -05:00
Jonathan Chang
92d3eda914 git_extensions: move origin_branch from utils/git 2020-12-06 14:33:23 +11:00
Rylan Polster
20de58b5ae bump-formula-pr: use new update_python_resources! signature 2020-11-24 15:40:15 -05:00
EricFromCanada
72bc057014 manpage: fixes for formatting 2020-11-16 08:02:50 -05:00
Markus Reiter
da9289eff0 Add more type signatures. 2020-11-13 12:26:36 +01:00
Markus Reiter
24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
Rylan Polster
0109ce58be update references to homebrew-virtualenv resources 2020-10-06 23:39:52 -04:00
Rylan Polster
f5c07a2991 bump-formula-pr: don't warn for virtualenv resource 2020-10-01 14:40:36 -04:00
Rylan Polster
e686a392c5 bump-formula-pr: add message to check resources 2020-09-18 13:48:28 -04:00
Seeker
7d29054cf2 bump-formula-pr: add --online switch for brew audit 2020-09-16 10:27:11 -07:00
Seeker
871dc50492 bump-formula-pr: exit with error if formula is disabled 2020-09-15 12:29:55 -07:00
Seeker
15af7189eb utils: add tar
Includes `validate_file` method to be used by `bump-formula-pr`
2020-09-08 07:08:07 -07:00
Seeker
ccde62082b bump-formula-pr: update mirrors automatically 2020-09-07 10:34:16 -07:00
Seeker
bf7fc0be7d
Merge pull request #8610 from SeekingMeaning/bump-formula-pr/missing-mirror
bump-formula-pr: expedite check for missing mirror argument
2020-09-07 08:24:25 -07:00
Seeker
51d167c122 utils/github: add create_bump_pr 2020-09-04 13:39:15 -07:00
Seeker
a4d4fb574c bump-formula-pr: expedite check for missing mirror argument 2020-09-04 12:53:37 -07:00
Seeker
88ebbd5692 bump-formula-pr: make --dry-run conflict with --write
Also add `--commit` to a create commit without opening a pull request
2020-09-04 10:22:13 -07:00
Mike McQuaid
e09147fe75 brew style --fix 2020-09-01 14:26:45 +01:00
Markus Reiter
c53f362476 Refactor and document Version. 2020-08-26 03:17:39 +02:00
William Ma
fa7bd3bff6 args: Migrate usage of args loading methods to args.named 2020-08-23 09:02:20 -04:00
Dawid Dziurla
dd71f388c1
Merge pull request #8368 from SeekingMeaning/github/forked_repo_info
utils/github: add `forked_repo_info!`
2020-08-19 19:22:31 +02:00
Mike McQuaid
3a91c37e66
Fix RuboCop checks. 2020-08-19 17:12:32 +01:00
Seeker
ffcf06867a Use rescue instead of yield 2020-08-18 23:06:42 -07:00
Seeker
d0c7c4fd71 utils/github: add forked_repo_info! 2020-08-18 23:06:42 -07:00
Seeker
01dec9c6a8 utils/inreplace: add inreplace_pairs 2020-08-17 03:18:24 -07:00
jjergus
8fb6218d05
bump-formula-pr: fix regression when formula.tap is Nil 2020-08-14 11:42:50 -07:00
Seeker
8df618958d bump-formula-pr: add warnings for patches and resources 2020-08-13 16:05:50 -07:00
Seeker
c983d85eea bump-formula-pr: add determine_mirror helper method 2020-08-13 16:05:09 -07:00
Seeker
671179d483 utils/github: add check_for_duplicate_pull_requests
Moved from dev-cmd/bump-formula-pr to utils/github
2020-08-11 19:26:03 -07:00
Seeker
36c7a3f27f bump-formula-pr, utils/pypi: tweak log messages 2020-08-06 11:31:56 -07:00