19698 Commits

Author SHA1 Message Date
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
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