1831 Commits

Author SHA1 Message Date
Markus Reiter
49b95da14b Update sorbet and sorbet-runtime together. 2020-11-21 04:14:41 +01:00
Markus Reiter
45950bb8ad Support casks in brew edit. 2020-11-20 00:43:15 +01:00
Markus Reiter
bc24128263 Support casks in brew cat. 2020-11-19 16:01:10 +01:00
Markus Reiter
aa6a8e5c13 Add --update option to brew vendor-gems. 2020-11-19 10:11:19 +01:00
Markus Reiter
9bfbeace54 Fix corrected_problem_count and new_formula_problem_lines. 2020-11-18 18:37:53 +01:00
Markus Reiter
873b2a0042 Fix brew audit --tap=<tap>. 2020-11-18 18:29:20 +01:00
Markus Reiter
24cef5c2ce Support casks in brew audit. 2020-11-18 13:21:49 +01:00
Mike McQuaid
97a7b02f8e
Merge pull request #9188 from MikeMcQuaid/install-quiet-tweaks
Improve `brew install --quiet`
2020-11-18 11:31:43 +00:00
Mike McQuaid
4665a756b5
Merge pull request #9189 from MikeMcQuaid/big-sur-cleanup
Big Sur cleanup
2020-11-18 11:05:24 +00:00
Markus Reiter
dc11f02e16 Move auditor classes into separate files. 2020-11-18 11:22:27 +01:00
Mike McQuaid
74264b8582
Big Sur cleanup
Remove `HOMEBREW_BIG_SUR_TESTING` variable as it is no longer needed.
2020-11-18 10:15:53 +00:00
Mike McQuaid
caae165eb2
Improve brew install --quiet
- Suppress (some more) warnings when doing `brew install --quiet`
- Clarify `man brew` output that we don't suppress all warnings
  for all commands with `--quiet`

While I was doing this I noticed references to the (soon to be
deprecated) `brew switch` so:
- remove these references in `install` output
- remove a reference in the documentation
- add a comment to remind me to deprecate `brew diy`, too

Fixes #9179
2020-11-18 10:13:57 +00:00
Markus Reiter
04272f5f68 Move TapAuditor into separate file. 2020-11-18 10:25:32 +01:00
Markus Reiter
7904cfd122
Merge pull request #9183 from reitermarkus/fix-tests
Unset `HOMEBREW_BAT` in tests.
2020-11-18 08:06:58 +01:00
Markus Reiter
dfeb1b4d08 Unset HOMEBREW_BAT in tests. 2020-11-18 07:03:39 +01:00
Markus Reiter
d1cb2dd872
Merge pull request #9181 from reitermarkus/local-tests
Fix tests failing locally.
2020-11-18 07:01:43 +01:00
Markus Reiter
f87c9c5dc4 Fix tests failing locally. 2020-11-18 05:54:42 +01:00
Dustin Rodrigues
d26567a65d audit: allow checksum to be added/removed when changing download scheme 2020-11-17 08:02:55 -05:00
Mike McQuaid
40cc423fa1
Merge pull request #9136 from EricFromCanada/man-page-formatting
Update manpage formatting
2020-11-16 14:39:47 +00:00
Mike McQuaid
76ef45fac7
Merge pull request #9134 from Rylan12/pr-pull-ci-cyntax-only
pr-pull: skip bottles for CI-syntax-only PRs
2020-11-16 14:20:26 +00:00
EricFromCanada
72bc057014 manpage: fixes for formatting 2020-11-16 08:02:50 -05:00
EricFromCanada
f784b7107f manpage: fixes for grammar 2020-11-16 07:56:50 -05:00
EricFromCanada
eb16624c5f manpage: reformat lists of subcommands & env vars
Modify parser.rb to add a colon between each term and the line break, which `ronn` converts into a definition list.
The <br> that follows ensures each term description is on a new line in the manpage output, and also replaces the
double trailing space for generating the hard return that follows each term in the HTML output.
Also modify man.rb to print environment variables with list markup matching the cask commands, and then drop
trailing colons from both lists of terms (cask commands, env vars) and non-list terms (analytics, bundle, services;
a <br> is added here because it would prevent the term description from being indented in the manpage output).
https://docs.brew.sh/Manpage#cask-command-options-cask
2020-11-16 07:56:50 -05:00
Mike McQuaid
aaa38b6a35
Merge pull request #9109 from SeekingMeaning/automerge/exclude-linux-only
pr-automerge: don't automerge PRs with linux-only label
2020-11-16 12:54:59 +00:00
Markus Reiter
1b732ec7b2 Fix RuboCop offenses. 2020-11-16 02:05:29 +01:00
Rylan Polster
20ee7e8881 add Lint/DuplicateBranch cop exceptions 2020-11-16 02:02:52 +01:00
Jonathan Chang
e547e3aba9 audit: don't error on old OS X versions 2020-11-15 17:18:32 +11:00
Rylan Polster
e14ce96f22 pr-pull: skip bottles for CI-syntax-only PRs 2020-11-14 02:52:43 -05:00
Seeker
fa61eefa15
Merge pull request #9122 from SeekingMeaning/bump-cask-pr/languages
bump-cask-pr: fix for casks that have multiple languages
2020-11-13 09:45:57 -08: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
Seeker
e7ce9a3982 bump-cask-pr: fix for casks that have multiple languages 2020-11-12 13:49:57 -08:00
Dawid Dziurla
c0f247bbf4
Merge pull request #9119 from dawidd6/pr-upload-audit
pr-upload: audit only changed formulae
2020-11-12 22:01:30 +01:00
Dawid Dziurla
939f22c268
pr-upload: audit only changed formulae 2020-11-12 20:04:20 +01:00
Mike McQuaid
5afff3f3aa
Handle macOS Homebrew on ARM
- Output `brew doctor` and `brew install` messages noting this configuration is (currently) unsupported and encourage use of Rosetta instead
- Output Rosetta 2 usage in `brew config` on ARM (whether in Rosetta 2 or not)
- Check the architecture of (newly installed) dependencies and ensure they are using the correct architecture.
- Don't allow installing macOS Intel Homebrew in macOS ARM Homebrew default prefix (and vice versa
- Actually write out the architecture of dependencies to the tab rather than generating and throwing them away
- Set and document the expected default prefix for macOS Intel Homebrew, macOS ARM Homebrew (`/opt/homebrew`) and Homebrew on Linux

While we're here:
- Don't say Big Sur is a prerelease version but still make it clear we
  don't support it (yet).
- Don't reference non-existent IRC channel
2020-11-12 17:06:47 +00: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
Seeker
d3080c8ce1 pr-automerge: don't automerge PRs for linux-only formulae 2020-11-11 01:18:16 -08: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
Markus Reiter
52de3f9d8d extract: fix tap regex 2020-11-10 23:28:31 +11:00
Jonathan Chang
500908ee6f rubocop: fix Lint/NoReturnInBeginEndBlocks 2020-11-10 23:28:31 +11:00
Jonathan Chang
ab7b757400 rubocop: fix Style/NegatedIfElseCondition 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
Mike McQuaid
93362547c9
dev-cmd/audit: don't do dependency checks on Linux.
Alternate approach to #9091 for
https://github.com/Homebrew/homebrew-core/pull/64423
2020-11-09 16:26:44 +00:00
Rylan Polster
8a58dc09cd audit: fix checksum audit 2020-11-09 09:44:03 -05:00
Mike McQuaid
e62090a4f4
dev-cmd/pr-upload: fix brew audit arguments.
I accidentally committed an earlier version for this.
2020-11-09 13:49:40 +00:00
Rylan Polster
4ae72e0bdf tap: add constants for json files 2020-11-09 08:39:56 -05:00
Mike McQuaid
9057a63021
dev-cmd/pr-upload: run brew audit before uploading.
Check that `brew bottle --merge --write` hasn't broken `brew audit`.
2020-11-09 09:59:59 +00:00