319 Commits

Author SHA1 Message Date
Dawid Dziurla
bc4251d1ed
Merge pull request #7512 from dawidd6/review-approved-ci
pr-automerge: match only approved PRs by default
2020-05-09 10:56:52 +02:00
Mike McQuaid
c05b3a755f
shellenv: recommend .bash_profile
Fixes #7516
2020-05-07 10:34:59 +01:00
Dawid Dziurla
6fa09ab0ee
pr-automerge: match only approved PRs by default
Also remove default `--with-label` value and add `--without-approval`
option.

Reviews could be automatically dismissed on new commits pushed (there is
an option for that in repository settings on Github). That is not the
case for labels. They remain attached to a PR, even when new commits are
pushed. This is undesirable and creates security concerns, because
someone could introduce untested code just before the automerge happens.

Co-authored-by: Eric Knibbe <enk3@outlook.com>
2020-05-06 18:32:47 +02:00
Shaun Jackman
ee21fe1d44 Regenerate docs/Manpage.md and manpages/brew.1 2020-04-20 11:49:37 -07:00
Mike McQuaid
c4fed07d34
Merge pull request #7401 from dawidd6/pr-upload
Add pr-upload command
2020-04-20 16:33:06 +01:00
Dawid Dziurla
3dd5a7465d
add pr-upload command 2020-04-20 13:37:05 +02:00
Mike McQuaid
9eed1e4e7e
Merge pull request #7400 from MikeMcQuaid/cleanup_max_age_days
cleanup: all configuring max age days.
2020-04-20 10:54:58 +01:00
Mike McQuaid
701c1811d5
cleanup: all configuring max age days.
Fixes #7320
2020-04-20 10:33:15 +01:00
Mike McQuaid
8b84ef5dc8
pull: cleanup more code.
Remove more unused code.
2020-04-20 10:09:22 +01:00
Mike McQuaid
66eb11d55c
manpages: update. 2020-04-20 08:27:28 +01:00
Mike McQuaid
ef3b148147
Merge pull request #7395 from MikeMcQuaid/kill-jenkins
Remove last Jenkins references
2020-04-19 15:09:05 +01:00
Mike McQuaid
239b4c9d19
Remove last Jenkins references
- remove Jenkins Testing support from `brew pull`
- update reference to MacStadium Orka
- remove reference to DigitalOcean
2020-04-19 14:53:18 +01:00
Dawid Dziurla
8305919c93 pr-automerge: allow multiple comma separated -labels 2020-04-19 16:17:25 +10:00
Mike McQuaid
5e2351cde6
dev-cmd/audit: add --skip-style option.
This will allow `brew style` and `brew audit` to be run separately
without providing duplicates.

Additionally, run RuboCop style rules when `--strict` isn't provided and
remove a confusing reference to `style`.
2020-04-16 08:24:38 +01:00
Mike McQuaid
85e65f6d9c
Move some cmd to dev-cmd.
None of these made sense as end-user commands.
2020-04-14 14:29:38 +01:00
Jonathan Chang
5a95fe14aa dev-cmd: add pr-automerge
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2020-04-13 20:14:40 +10:00
Mike McQuaid
6b30a64831
Merge pull request #7332 from dawidd6/pr-uniq
pr-*: only unique named args
2020-04-12 13:31:54 +01:00
Issy Long
c8867e5352
Merge pull request #7327 from issyl0/pull-deprecate-bottle
pull: Deprecate `--bottle` flag
2020-04-12 11:41:37 +01:00
Issy Long
3e2f183c60
pull: Remove --bottle flag
- Muscle memory is a thing, as is relying heavily on one's shell
  history. Now that the Jenkins runners are gone, `brew pull --bottle`
  no longer works. This removes the option. If maintainers are confused,
  they should [look at recent changes to the
  docs](https://docs.brew.sh/Brew-Test-Bot-For-Core-Contributors#bottling),
  or ask in Slack.
- An earlier iteration of this showed a deprecation warning and a link
  to the docs, but when an option no longer physically works it's a bit
  late for deprecation *warnings*.
- This also fixes a `brew style` warning from futher up in the file.

pull: Appease RuboCop
2020-04-12 11:24:22 +01:00
Dawid Dziurla
08309749d4
pr-*: only unique named args
also tweak usage to show that the commands accept multiple arguments
2020-04-12 12:13:53 +02:00
Jonathan Chang
56090cc03a
Merge pull request #7311 from jonchang/tap-shallow
tap: permit creating shallow taps
2020-04-12 15:20:13 +10:00
Jonathan Chang
945fb11d51 tap: default to --shallow on CI 2020-04-11 13:12:09 +10:00
Jonathan Chang
bf66c8800e manpages: update for environment changes 2020-04-09 22:45:43 +10:00
Jonathan Chang
2acb4771fe tap: permit creating shallow taps for CI 2020-04-09 18:46:47 +10:00
Mike McQuaid
147294b1ed
Revert "Set HOMEBREW_GITHUB_API_TOKEN from GITHUB_TOKEN." 2020-04-09 09:29:50 +01:00
Mike McQuaid
4e07d7b9f4
Set HOMEBREW_GITHUB_API_TOKEN from GITHUB_TOKEN.
If `HOMEBREW_GITHUB_API_TOKEN` is not set and `GITHUB_TOKEN` is: let's
use it. `GITHUB_TOKEN` is a somewhat standard env var to set for
GitHub authentication tokens (e.g. used by `hub`).
2020-04-07 10:37:58 +01:00
Mike McQuaid
ad75e40ce7
man: generate from Homebrew::EnvConfig. 2020-04-07 09:58:26 +01:00
Dawid Dziurla
ffc1b49026
pr-pull: allow to specify tap 2020-03-31 11:25:40 +02:00
Jonathan Chang
d459718bc4 manpages: update for new pr-pull command 2020-03-30 22:41:17 +11:00
Vítor Galvão
2e8aa3eb97 Use long --disable instead of short -q in curl 2020-03-29 20:04:37 +01:00
Mike McQuaid
fa8fe0fc39
Merge pull request #7200 from dawidd6/create-ruby
create: add --ruby option
2020-03-24 13:50:35 +00:00
Jonathan Chang
e08ffb3515 manpages: update for brew pr-publish 2020-03-22 13:35:15 +11:00
Dawid Dziurla
a3eefda0f9
create: add --ruby option 2020-03-21 15:41:27 +01:00
Markus Reiter
50b61fa7f2 Retry curl requests 3 times by default. 2020-03-20 18:40:43 +01:00
Issy Long
7ea6d5c648
manpages: Run brew man after brew bundle Whalebrew inclusion
- This was added in https://github.com/Homebrew/homebrew-bundle/pull/656
  but the subcommand docs were never updated here, causing failures on
  other, unrelated `brew` PRs.
2020-03-19 18:40:13 +00:00
Mike McQuaid
2afeffc91b
man: include full help from external commands.
Inspired by https://github.com/Homebrew/brew/issues/7148
2020-03-11 12:22:46 +00:00
Mike McQuaid
f63d2d7887
man: be more exact about global options.
Make clear these don't necessarily apply to all subcommands
(see https://github.com/Homebrew/brew/issues/7121).
2020-03-11 12:16:47 +00:00
Mike McQuaid
6ead927500
cmd/search: tweak documentation text. 2020-03-04 13:14:39 +00:00
vidusheeamoli
67d012afcc search: add separate flag for formulae 2020-03-04 17:58:19 +05:30
EricFromCanada
6f5cd0e7fe bump-formula-pr: support add multiple mirror URLs with --mirror 2020-02-24 13:07:46 -05:00
Mike McQuaid
954b385da1
README: add samford.
Welcome to the team!
2020-02-21 14:29:43 +00:00
Mike McQuaid
7e1da4a037
README: add missing maintainers. 2020-02-19 11:57:25 +00:00
Mike McQuaid
e9419e48e5
tap: update docs to note non-shallow default.
Also, while we're here, `rsync` and `git` are not acronyms.
2020-02-19 10:56:44 +00:00
Samuel Cochran
8cd0177656
brew man 2020-02-06 09:58:10 +11:00
Samuel Cochran
b9a90e355b
brew man 2020-02-06 09:56:51 +11:00
Mike McQuaid
ecce70bc32
Rename --quieter args to --quiet. 2020-02-05 19:43:59 +00:00
Mike McQuaid
a6b06c19cb
README: update Homebrew PLC.
I have stepped down and Sean has replaced me.
2020-02-03 16:39:03 +01:00
Mike McQuaid
cfe2f5bfda
Merge remote-tracking branch 'origin/master' into add_change_origin_command 2019-12-30 10:39:28 +00:00
Mike McQuaid
355626ac51
Tweak/fix Git remote configuration behaviour. 2019-12-30 10:38:47 +00:00
Issy Long
8740d4947e
Title Case the heading in the brew(1) man page template
- Without this, `brew man` produces a lowercasing diff that violates
  Vale's rules.
- Also run `brew man` to test this out, and that updated some dates to
  December.
2019-12-18 16:09:29 +00:00