17311 Commits

Author SHA1 Message Date
Mike McQuaid
af8091a279
Remove ARGV_WITHOUT_MONKEY_PATCHING
Our usage of `ARGV` will go away soon enough and maintaining state
between `ARGV` and `ARGV_WITHOUT_MONKEY_PATCHING` is futile.

Fixes #7397
2020-04-20 10:27:14 +01:00
Mike McQuaid
8b84ef5dc8
pull: cleanup more code.
Remove more unused code.
2020-04-20 10:09:22 +01:00
Mike McQuaid
75c74e4674
cask/cmd/upgrade_spec: remove flaky test. 2020-04-20 09:25:16 +01:00
EricFromCanada
9d6eb41fc5 cmd/dev-cmd: misc. usage and wording fixes 2020-04-19 13:31:54 -04:00
EricFromCanada
b6809f2dda analytics: rearrange help into subcommand format 2020-04-19 11:50:28 -04:00
EricFromCanada
0acfb4b819 Add line break and indent to subcommand descriptions 2020-04-19 11:50:28 -04: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
Mike McQuaid
2bbcab5615
Merge pull request #7333 from GauthamGoli/argv-cleanup-21
cli/args: Make build_from_source public instance method
2020-04-19 13:23:34 +01:00
Jonathan Chang
3b78b1aa95
Merge pull request #7369 from dawidd6/automerge-multiple-labels
pr-automerge: allow multiple comma separated without labels
2020-04-19 17:46:12 +10:00
Dawid Dziurla
8305919c93 pr-automerge: allow multiple comma separated -labels 2020-04-19 16:17:25 +10:00
Jonathan Chang
2dfaebc637 cpu: update for new processor family 2020-04-19 13:26:04 +10:00
Mike McQuaid
8d868b739c
cli/args: simplify initialisation.
Move some logic from `CLI::Parser` to `CLI::Args` to simplify and make
more consistent the initialisation process.
2020-04-18 21:14:35 +01:00
Mike McQuaid
8eed72cd8b
Move file mode audit to RuboCop. 2020-04-18 15:44:24 +01:00
Mike McQuaid
8cb90595b3
dev-cmd/audit: add TODOs for RuboCop migrations. 2020-04-18 15:30:53 +01:00
Mike McQuaid
3546c39581
audit: remove trailing newline check.
This is already done by the default RuboCop configuration.
2020-04-18 15:30:53 +01:00
Mike McQuaid
b0d3414fdb
Merge pull request #7372 from Bo98/xcode-11.4.1
os/mac/xcode: support Xcode 11.4.1
2020-04-18 15:16:05 +01:00
Mike McQuaid
b2f90b2877
Merge pull request #7378 from MikeMcQuaid/rubocop-remove-exceptions
rubocop.yml: remove formula exclusions.
2020-04-18 15:12:51 +01:00
Mike McQuaid
4132ccbf66
rubocop.yml: remove formula exclusions.
These have now been fixed so are no longer needed.
2020-04-18 14:53:32 +01:00
Mike McQuaid
8a0e6a1603
test/cask/cmd/upgrade_spec: remove flaky test.
This is the second flaky test removed in this file. Tempting to just
remove the whole file if there's more.
2020-04-18 14:37:10 +01:00
Jonathan Chang
d6cf14fd1e audit: add libiconv to uses_from_macos whitelist
This lives at /usr/lib/libiconv.dylib
2020-04-18 21:39:39 +10:00
Mike McQuaid
bc96428207
rubocop.yml: enable new rules. 2020-04-17 11:04:33 +01:00
dependabot-preview[bot]
e06e37291f
build(deps): bump rubocop from 0.81.0 to 0.82.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.81.0 to 0.82.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.81.0...v0.82.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-17 11:04:33 +01:00
Mike McQuaid
04105abf92
Merge pull request #7359 from Bo98/shims-check
formula_cellar_checks: check for shim dir references
2020-04-17 09:01:48 +01:00
Jonathan Chang
5f9fee4776
Merge pull request #7373 from jonchang/sponsors-api
github: add sponsors GraphQL API
2020-04-17 17:35:37 +10:00
Jonathan Chang
286488f753 github: add sponsors GraphQL API 2020-04-17 17:16:54 +10:00
Bo Anderson
7aff6f9bb3 os/mac/xcode: support Xcode 11.4.1 2020-04-16 11:22:40 +01: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
7da922cd5c
test: ensure pkill is run even without exception.
This should make it easier to cleanup after test failures or successes.

It may also allow simplification of `test do` blocks if they can assume
that all subprocesses will be killed.
2020-04-15 19:47:05 +01:00
Bo Anderson
c85ff0923e formula_cellar_checks: check for shim dir references 2020-04-15 18:04:43 +01:00
Mike McQuaid
bff0a90b37
cli/args: fix formulae_paths.
The `Pathname`s don't have `name`s to `uniq`.
2020-04-15 16:27:22 +01:00
Mike McQuaid
863f38eb24
Merge pull request #7358 from Bo98/werror
shims/super/cc: allow -Werror=implicit-function-declaration
2020-04-15 16:18:19 +01:00
Mike McQuaid
25dacf7d6c
Merge pull request #7364 from iMichka/meson
formula: add standard meson args
2020-04-15 16:17:45 +01:00
Alexander Bayandin
5088eff96b audit: add draft release detection 2020-04-15 15:04:10 +01:00
Michka Popoff
f8536d0b5b formula: add standard meson args
libdir is especially important on Fedora based distributions,
where it might default to "lib64", but everything else expects "lib",
so forcing the libdir is necessary there.
2020-04-15 15:14:13 +02:00
Mike McQuaid
b11d2b56f7
Merge pull request #7361 from Homebrew/dependabot/bundler/Library/Homebrew/parser-2.7.1.1
build(deps): bump parser from 2.7.1.0 to 2.7.1.1 in /Library/Homebrew
2020-04-15 11:24:44 +01:00
Bo Anderson
61bac2595f shims/super/cc: allow -Werror=implicit-function-declaration 2020-04-15 11:10:25 +01:00
Bo Anderson
9a8a4cff9f
test/dev-cmd/style_spec: fix flaky test 2020-04-15 10:56:09 +01:00
Mike McQuaid
4e5c8a35e5
cmd/upgrade: handle nil runtime_dependencies.
Fixes #7360
2020-04-15 10:52:48 +01:00
Mike McQuaid
4af3037a18
brew vendor-gems: commit updates. 2020-04-15 10:41:46 +01:00
dependabot-preview[bot]
95aab5a8a8
build(deps): bump parser from 2.7.1.0 to 2.7.1.1 in /Library/Homebrew
Bumps [parser](https://github.com/whitequark/parser) from 2.7.1.0 to 2.7.1.1.
- [Release notes](https://github.com/whitequark/parser/releases)
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/whitequark/parser/compare/v2.7.1.0...v2.7.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-15 05:35:36 +00: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
Mike McQuaid
a11eacc143
cmd/gist-logs: use named DSL. 2020-04-14 14:21:53 +01:00
Mike McQuaid
4fb649cad1
cmd, dev-cmd: use args.formulae_paths.
This makes these commands robust to invalid syntax.
2020-04-14 14:21:38 +01:00
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