3646 Commits

Author SHA1 Message Date
Claudia
b36fd8ebd9 Fix brew audit Formula/formula.rb
Fix a regression introduced in PR #8542, which wouldn’t exclude
formulae and casks from stricter style checks properly unless tapped.
This caused `brew audit Formula/formula.rb` to report violations which
were not meant for formulae and casks.

The fix is to add Exclude patterns for formulae and casks in any
`git clone`d tap’s working tree.

Working outside of the productive Homebrew installation makes sure that
the latter doesn’t interfere with development, and vice versa.
It also helps track work in progress, especially if one tends to forget
things.
2020-11-16 20:01:48 +01:00
Mike McQuaid
a83336db02
Merge pull request #9105 from samford/expand-livecheck-preprocess_url-tests
Expand Livecheck#preprocess_url tests
2020-11-16 12:54:05 +00:00
Rylan Polster
50890ebd51 fix Lint/DuplicateBranch style 2020-11-16 02:02:52 +01:00
Rylan Polster
dda0dc72a7 format note comments 2020-11-16 02:02:52 +01:00
Ikko Ashimine
1e07b77f49
bintray: fix typo in it comment
non-existant -> non-existent
2020-11-15 13:42:01 +09:00
Sam Ford
c5fea1b719
Merge pull request #9112 from samford/livecheck-skip-disabled-formulae
livecheck: skip disabled formulae
2020-11-13 22:57:23 -05:00
Markus Reiter
78f1761802
Merge pull request #8956 from reitermarkus/sorbet
Add more type signatures.
2020-11-13 16:14:35 +01:00
Dustin Rodrigues
24c825efe2
Merge pull request #9111 from dtrodrigues/checksum-url
audit: only flag if checksum changes when full url and version stay the same
2020-11-13 07:04:03 -05:00
Markus Reiter
da9289eff0 Add more type signatures. 2020-11-13 12:26:36 +01:00
Dustin Rodrigues
ba0699a8d7 audit: only flag if checksum changes when version and full url stay the same 2020-11-11 23:12:58 -05:00
Sam Ford
e40932e261
livecheck: skip disabled formulae 2020-11-11 17:03:51 -05:00
Sam Ford
e5a8574332
Expand Livecheck#preprocess_url tests 2020-11-11 11:52:58 -05:00
Markus Reiter
5bc626bbe1 Completely deprecate Homebrew.args. 2020-11-11 08:52:55 +01:00
Rylan Polster
e05b0fc7f5
Merge pull request #9092 from Rylan12/fix-checksum-audit
audit: fix checksum audit
2020-11-10 15:28:26 -05:00
Jonathan Chang
49bb2561aa
Merge pull request #9087 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.2.0
build(deps): bump rubocop from 0.93.1 to 1.2.0 in /Library/Homebrew
2020-11-11 00:53:11 +11:00
Jonathan Chang
215a84e328 rubocop: fix Style/DocumentDynamicEvalDefinition 2020-11-10 23:28:31 +11:00
Jonathan Chang
05d7821cd6 Update for rubocop-rspec 2.0 2020-11-10 23:28:31 +11:00
Dustin Rodrigues
a8a83d1f24 dev-cmd/audit: only go back in git history until revision or version changes 2020-11-09 22:04:25 -05:00
Rylan Polster
59b1309900
Merge pull request #9039 from Rylan12/move-audit-allowlist-to-core
audit: migrate throttle list to Homebrew/core
2020-11-09 15:14:06 -05:00
Rylan Polster
67127cb2ff audit: add checksum change test 2020-11-09 10:49:31 -05:00
EricFromCanada
ec17dfbfcd requirements: drop unused "cli/args" requirement 2020-11-07 11:01:21 -05:00
EricFromCanada
5c6a12e5b7 requirements: allow depends_on arch: :arm64 2020-11-07 11:00:41 -05:00
Mike McQuaid
2ac5cffd0d
Merge pull request #9047 from tie624/add_autoremove
Add autoremove
2020-11-06 16:47:59 +00:00
Mike McQuaid
3543d69373
Merge pull request #9010 from MikeMcQuaid/github_actions_big_sur
workflows/tests: use Big Sur.
2020-11-06 15:56:12 +00:00
Mike McQuaid
6b27dcb11c
workflows/tests: use Big Sur.
Migrate GitHub Actions to Big Sur.
2020-11-06 15:11:33 +00:00
FX Coudert
f8b775d69c
Merge pull request #9070 from fxcoudert/bs4
Add :arm_vortex_tempest as CPU family
2020-11-06 16:03:48 +01:00
FX Coudert
00636cc5ad
Merge pull request #9069 from fxcoudert/bs3
Fix Big Sur ARM bottle filename
2020-11-06 15:59:14 +01:00
FX Coudert
60afa5f584
Merge pull request #9068 from fxcoudert/bs2
Allow casks to depend on ARM
2020-11-06 15:59:03 +01:00
Francois-Xavier Coudert
7c56f8cabe Add :arm_vortex_tempest as CPU family 2020-11-06 15:33:29 +01:00
Francois-Xavier Coudert
bc3be145cf Fix Big Sur ARM bottle filename 2020-11-06 15:26:03 +01:00
Mike McQuaid
e18c0e4767
Merge pull request #9067 from fxcoudert/bs1
Fix test for ARM
2020-11-06 14:25:01 +00:00
Francois-Xavier Coudert
50807c81b0 Allow casks to depend on ARM 2020-11-06 15:16:47 +01:00
Francois-Xavier Coudert
6b0e26102a Fix test for ARM 2020-11-06 14:50:43 +01:00
Dustin Rodrigues
0f3c4b1781
Merge pull request #9048 from dtrodrigues/npm-scripts
language/node: remove unneeded scripts prior to installation
2020-11-06 07:07:39 -05:00
EricFromCanada
3768b7a6e9 apidoc: update comment wording, punctuation, formatting 2020-11-06 00:21:02 -05:00
Dustin Rodrigues
027419effe test/language/node: add test for prepare/prepack removal 2020-11-05 21:12:41 -05:00
Tie
afd7bb8889 make suggestions 2020-11-05 12:27:22 -05:00
Rylan Polster
6171b51a82 audit: migrate VERSIONED_HEAD_SPEC_ALLOWLIST to Homebrew/core 2020-11-05 01:43:01 -05:00
Tie
b5427e5095 fix style issues 2020-11-04 18:53:03 -05:00
Dawid Dziurla
0fa417706a cmd: add autoremove command 2020-11-04 17:15:32 -05:00
Tie
4127a7b624 move some uninstall tests to new file 2020-11-04 17:14:43 -05:00
Tie
f95e1729a2 move logic from leaves to formula 2020-11-04 16:45:14 -05:00
Michka Popoff
084f2e75eb
Merge pull request #8907 from iMichka/onlinux
formula: add on_linux and on_macos blocks
2020-11-03 23:30:37 +01:00
Michka Popoff
8b85ef2e88 formula: add on_linux and on_macos blocks
for install and others
2020-11-03 22:54:07 +01:00
Rylan Polster
869941bccd audit: migrate throttle list to Homebrew/core 2020-11-03 13:06:33 -05:00
EricFromCanada
62984b956e relocate requirement tests 2020-11-01 15:42:55 -05:00
EricFromCanada
212367c1c0 requirements: reword error messages for consistency
also add formatting to download URLs
2020-11-01 15:20:02 -05:00
EricFromCanada
635233b37e requirements: reword inspect() to place tags at end
This more closely matches requirements' display in the DSL.
2020-11-01 15:20:02 -05:00
EricFromCanada
a232ac8b1e requirements: improve display in brew info 2020-11-01 15:20:02 -05:00
Mike McQuaid
9d7b0bad11
spec_helper: fix Timeout::Error/SystemExit handling.
These need to be manually caught and set otherwise they will not be
retried by `rspec-retry`. This is particularly annoying and a cause of
CI failures when tests timeout but are not retried.

Fixes https://github.com/Homebrew/brew/issues/8979
2020-10-29 11:05:12 +00:00