Bo Anderson
56b6918739
dev-cmd/pr-pull: don't cherry-pick on --no-commit
2021-04-06 13:30:07 +01:00
Markus Reiter
b6ed8915e5
Add compatibility layer for AbstractDownloadStrategy#fetch
.
2021-04-03 20:10:33 +02:00
Mike McQuaid
0ec1f04e63
GitHub Packages CI upload fixes
...
- Add `--no-commit` option to `brew pr-pull` and pass to
`brew pr-upload`
- Use `skopeo` from `PATH` if available (as it takes a while to build on
CI)
2021-04-02 16:51:18 +01:00
Dawid Dziurla
82b71b7a02
pr-pull,upload: don't quote passed --committer value
2021-04-02 00:17:43 +02:00
Dawid Dziurla
41775738fa
pr-pull: pass --committer to pr-upload
2021-04-01 23:46:44 +02:00
nandahkrishna
53a7065bcc
Allow specifying committer for some dev-cmd
s
2021-04-01 22:22:31 +05:30
Shaun Jackman
641f134274
Apply Mike's suggestions
2021-02-23 11:31:43 -08:00
Shaun Jackman
c11692ba78
pr-pull: Upload bottles to Archive.org
...
Add option --archive-item
2021-02-22 17:57:10 -08:00
nandahkrishna
f7c8810214
utils/github/api: remove 'api' from method names
2021-02-17 23:47:05 +05:30
nandahkrishna
56e0c3d9e8
Update GitHub API usage
2021-02-15 22:38:27 +05:30
Mike McQuaid
d6957a3acb
Homebrew 3.0.0 deprecations/disables
2021-01-29 19:50:24 +00:00
EricFromCanada
2ed324ebc0
use backticks around suggested input, flags, and binaries
2021-01-26 16:19:47 -05:00
EricFromCanada
2e982cd2a2
use odie when commands encounter errors
2021-01-26 15:36:43 -05:00
Rylan Polster
d1f3e39b7b
Update commands to generate usage banner
2021-01-18 21:20:11 -05:00
Dawid Dziurla
cf654da251
dev-cmd: indicate multiple named args in usage banner
2021-01-15 13:04:07 +01:00
Rylan Polster
da811373d3
Add named_args DSL for commands
2021-01-13 17:09:42 -05:00
EricFromCanada
69255d268d
pr-pull: disable --workflow flag
...
Replaced by --workflows.
2020-12-18 10:09:23 -05:00
Mike McQuaid
74fb058c7e
More deprecations
...
More deprecations, disabling and removal for Homebrew 2.7.0.
2020-12-18 14:17:37 +00:00
Jonathan Chang
09c3058618
Remove basic authentication support for GitHub.
...
Since we (and GitHub) no longer support password authentication
using non-token passwords, always set the Authorization header,
rather than needlessly checking for a (possibly incorrect) username.
2020-12-17 23:09:22 +11:00
EricFromCanada
9dec442e71
pr-pull: prepare replacement for --workflow flag
2020-12-11 16:50:03 -05:00
Jonathan Chang
8b206dfa33
git_extensions: move commit_message from utils/git
2020-12-06 14:33:23 +11:00
Jonathan Chang
92d3eda914
git_extensions: move origin_branch from utils/git
2020-12-06 14:33:23 +11:00
Jonathan Chang
d802b3755a
utils/git: remove redundant current_branch
2020-12-06 14:33:23 +11:00
Jonathan Chang
5bda84b594
dev-cmd/pr-pull: use git_extensions
2020-12-06 14:33:23 +11:00
Michka Popoff
76e52ebe62
pr-pull: fix empty workflow check
...
workflow_run is an array, which first element is the json
returned by the github API. We need to check that first element
if we want to know if the workflow exists.
2020-11-25 16:10:35 +01:00
Michka Popoff
1fc3d22ab4
pr-pull: allow to pull from multiple workflows
...
and allow to skip missing workflows
Can be used like this:
brew pr-pull --workflows=tests.yml,wheezy_tests.yml --ignore-missing-artifacts=wheezy_tests.yml PRNUMBER
2020-11-24 15:46:44 +01:00
Mike McQuaid
40cc423fa1
Merge pull request #9136 from EricFromCanada/man-page-formatting
...
Update manpage formatting
2020-11-16 14:39:47 +00:00
EricFromCanada
72bc057014
manpage: fixes for formatting
2020-11-16 08:02:50 -05:00
Rylan Polster
e14ce96f22
pr-pull: skip bottles for CI-syntax-only PRs
2020-11-14 02:52:43 -05:00
Markus Reiter
da9289eff0
Add more type signatures.
2020-11-13 12:26:36 +01:00
Jonathan Chang
500908ee6f
rubocop: fix Lint/NoReturnInBeginEndBlocks
2020-11-10 23:28:31 +11:00
EricFromCanada
3768b7a6e9
apidoc: update comment wording, punctuation, formatting
2020-11-06 00:21:02 -05:00
Mike McQuaid
4f3c590873
Unify and use Git username/email/GPG handling.
...
We're using essentially the same logic to setup Git for committing in
multiple places but the way we're doing so is inconsistent. Moved to
using two shared utility methods and use them consistently.
2020-11-02 12:21:18 +00:00
Markus Reiter
bf7fe45e89
Merge pull request #8896 from reitermarkus/sorbet-inline
...
Inline type annotations.
2020-10-13 10:40:53 +02:00
Jonathan Chang
e7b65c62a0
pr-pull: clean up review signoff trailer code
2020-10-12 21:44:13 +11:00
Markus Reiter
d5e600e3af
Remove unknown Homebrew::Error
class.
2020-10-10 16:06:48 +02:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Michka Popoff
f01f3a9f56
pr-pull: fix signoff for linuxbrew-core
2020-10-01 12:38:14 +02:00
Jonathan Chang
4b4510d22d
dev-cmd/pr-pull: refactor and test autosquash!
2020-09-20 13:44:44 +10:00
Jonathan Chang
99a5aa07ad
dev-cmd/pr-pull: refactor and test signoff!
2020-09-20 13:44:44 +10:00
Jonathan Chang
0bb2c96cfc
dev-cmd/pr-pull: use commit message helper
2020-09-20 13:23:40 +10:00
Jonathan Chang
d116087af6
dev-cmd/pr-pull: tests for bump subject
2020-09-20 13:22:57 +10:00
Jonathan Chang
04687aef93
dev-cmd/pr-pull: don't assume a master
branch
2020-09-20 13:21:27 +10:00
Jonathan Chang
415c36041a
dev-cmd/pr-pull: use GitHub API to get PR commits
2020-09-20 13:21:27 +10:00
Jonathan Chang
4315a2647f
pr-pull: implement autosquash option
2020-09-17 17:27:38 +10:00
Dawid Dziurla
0bf491ba18
pr-pull: don't require bintray credentials to be set
...
It blocks uploading to GitHub Releases where Bintray credentials are not needed.
Also those checks are already performed in `bintray.rb`.
2020-09-15 13:40:07 +02:00
Seeker
5def0701ba
formula: rename opt_or_installed_prefix_keg
to any_installed_keg
2020-09-01 09:39:20 -07:00
Mike McQuaid
8b97c27c21
brew style manual fixes
2020-09-01 14:26:45 +01:00
Mike McQuaid
e09147fe75
brew style --fix
2020-09-01 14:26:45 +01:00
Seeker
3d62ed7853
pull, pr-pull: use opt_or_installed_prefix_keg
2020-08-28 09:59:07 -07:00