16945 Commits

Author SHA1 Message Date
Mike McQuaid
5366da76fd
cli/args: add formulae_paths helper.
This allows getting the formulae passed as arguments while not having
to read the file or raising an exception on invalid syntax.
2020-04-14 14:20:43 +01:00
vidusheeamoli
9cfef07682 dev-cmd/extract: instruct users to run git fetch unshallow 2020-04-14 18:07:41 +05:30
Mike McQuaid
604434566f
rubocops/text: whitelist goose. 2020-04-14 11:59:56 +01:00
Mike McQuaid
3b9a8cb8c1
rubocops/lines: fix rule.
This stops stuff like `clang=1` from being matched incorrectly.
2020-04-14 11:59:41 +01:00
Jonathan Chang
bd75fd1c9b
Merge pull request #7347 from jonchang/jumbo-bottles-fix
pr-pull: eliminate another curl call
2020-04-14 19:31:59 +10:00
Jonathan Chang
7d63f0b506 github: improve tests 2020-04-14 13:41:35 +10:00
Jonathan Chang
951cf09d4b pr-pull: eliminate another curl call
We're setting the basename, so no need to make a curl call to figure out
what it ought to be. This should speed up bottle pulls even more.
2020-04-14 13:41:35 +10:00
Markus Reiter
7ef9ea0880 Delete trailing ; in Content-Disposition header. 2020-04-14 04:54:52 +02:00
Bo Anderson
a6d3e3c47c utils/github: form encode workflow branch 2020-04-13 21:22:01 +01:00
Mike McQuaid
20795b5cc7
cmd/style: do FormulaAudit by default.
Otherwise this is just doing `rubocop` checks.
2020-04-13 16:01:26 +01:00
Mike McQuaid
d52e870b07
rubocop: remove NewFormulaAudit.
This is no longer used anywhere.
2020-04-13 16:01:26 +01:00
Mike McQuaid
44c22dd7e3
rubocops/text: re-add strict cop. 2020-04-13 16:01:26 +01:00
Mike McQuaid
632813d969
rubocops/patches: reduce required revision length. 2020-04-13 16:01:26 +01:00
Mike McQuaid
ea77fce409
rubocops/lines: move strict cop. 2020-04-13 16:01:25 +01:00
Mike McQuaid
9b5a0767cb
rubocops/formula_desc: merge cops, slim whitelist. 2020-04-13 16:01:25 +01:00
Mike McQuaid
476a61f51c
rubocops/class: rename, move cops, readd strict. 2020-04-13 16:01:25 +01:00
Bo Anderson
a920f74671 dev-cmd/pr-pull: fix strategy error 2020-04-13 12:54:06 +01:00
Jonathan Chang
ac5ea023cf
Merge pull request #7344 from jonchang/pr-automerge
dev-cmd: add pr-automerge
2020-04-13 20:39:42 +10:00
Jonathan Chang
b2cf3bfe0f
Merge pull request #7343 from jonchang/pr-pull-jumbo-bottles
pr-pull: fix to fetch extra-large bottles
2020-04-13 20:29:17 +10: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
Jonathan Chang
c1ba9975b8 pr-pull: fetch artifacts with no-resume strategy 2020-04-13 19:59:22 +10:00
Mike McQuaid
cbb5fd7657
Merge pull request #7257 from iMichka/linuxdependson
formula: add on_macos and on_linux
2020-04-13 09:13:06 +01:00
Mike McQuaid
2200b1ed40
Merge pull request #7231 from hyuraku/audit_github-prerelease_or_not
audit whether GitHub prerelease or not
2020-04-13 09:09:20 +01:00
Mike McQuaid
c5c161adb3
Merge pull request #7334 from Bo98/std-nehalem
ENV/std: conditionally apply AES-NI workaround
2020-04-13 09:05:29 +01:00
Mike McQuaid
9b8762f5c8
Merge pull request #7335 from Bo98/std-isysroot
ENV/std: remove space in -isysroot
2020-04-13 09:05:00 +01:00
Jonathan Chang
e6e5571a07 audit: fix keg_only check 2020-04-13 14:19:58 +10:00
Michka Popoff
c7927f5af5 formula: add linux and macos only function blocks 2020-04-12 23:51:41 +02:00
Alessandro Di Felice
b752efbd37
Fix KeyOnlyReason property access. 2020-04-12 10:08:35 -05:00
Mike McQuaid
afa5713e63
audit: cleanup prerelease detection. 2020-04-12 14:51:49 +01:00
Bo Anderson
32744e1746 ENV/std: remove space in -isysroot 2020-04-12 14:51:21 +01:00
Bo Anderson
df47668113 ENV/std: conditionally apply AES-NI workaround 2020-04-12 14:50:49 +01:00
Gautham G
b05c72b98b cli/args: Make build_from_source public instance method 2020-04-12 19:12:16 +05:30
Mike McQuaid
793407a2e0
Merge pull request #7328 from MikeMcQuaid/keg_only_tweaks
keg_only tweaks
2020-04-12 14:39:47 +01:00
Mike McQuaid
6ea6db9026
dev-cmd/audit: test presence of formulae in lists. 2020-04-12 14:17:06 +01:00
Mike McQuaid
b75733f1bd
rubocops: downgrade strict cops (passing in core). 2020-04-12 14:17:06 +01:00
Mike McQuaid
56c02485e0
rubocops: test whitelists. 2020-04-12 14:17:05 +01:00
Mike McQuaid
45908d8ff2
uses_from_macos: update openssl in whitelist. 2020-04-12 14:17:05 +01:00
Mike McQuaid
fbeeae96ef
rubocops/text: check openssl and openssl@1.1. 2020-04-12 14:17:05 +01:00
Mike McQuaid
3ded55aec2
rubocops/options: refactor unless ==. 2020-04-12 14:17:05 +01:00
Mike McQuaid
20998ed6e3
rubocop/lines: extract whitelist to constant. 2020-04-12 14:17:05 +01:00
Mike McQuaid
2e74e50f82
rubocop/conflicts: use full name in whitelist. 2020-04-12 14:17:05 +01:00
Mike McQuaid
c5b8983da4
rubocops/class: refactor unless && 2020-04-12 14:17:04 +01: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
Mike McQuaid
0caa0718f5
Merge pull request #7331 from Bo98/pc-cflags
os/mac/pkgconfig: delete most cflags on 10.14+
2020-04-12 13:18:12 +01:00
Mike McQuaid
7f32e23a65
cmd/link: don't link shadowed macOS software. 2020-04-12 13:12:03 +01:00
Mike McQuaid
373650d00d
KegOnlyReason: add reason helpers, rename valid. 2020-04-12 13:12:02 +01:00
hyuraku
5578845e3f repair regex condition 2020-04-12 20:23:43 +09: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