1863 Commits

Author SHA1 Message Date
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
Seeker
50ce5ef3a4 bottle: fix adding bottle block to formulae with special licenses 2020-11-08 07:23:33 -08:00
Rylan Polster
b4d4f6d504 audit: require JSON arrays/objects for audit exceptions 2020-11-06 12:33:28 -05:00
Rylan Polster
f2f2de6ff0 audit: cleanup and only check certain JSON files 2020-11-06 11:23:11 -05:00
Rylan Polster
fe95b23736 audit: refactor tap_audit_exception method 2020-11-06 10:49:21 -05:00
Rylan Polster
2d76e830a8 audit: always run and don't fail after tap audits 2020-11-06 10:12:09 -05:00
EricFromCanada
3768b7a6e9 apidoc: update comment wording, punctuation, formatting 2020-11-06 00:21:02 -05:00
EricFromCanada
dddfbf80fc apidoc: add/update yard tags 2020-11-06 00:16:35 -05:00
Rylan Polster
2a941ec6b1 audit, tap: incorporate suggestions from code review 2020-11-05 16:14:09 -05:00
Rylan Polster
089810709c audit: add tap_audit_exceptions attribute 2020-11-05 09:27:06 -05:00
Mike McQuaid
c4fc81b26b
audit: tweak versioned formulae logic (again).
References https://github.com/Homebrew/brew/pull/9027#issuecomment-722042589
2020-11-05 10:28:02 +00:00
Rylan Polster
6171b51a82 audit: migrate VERSIONED_HEAD_SPEC_ALLOWLIST to Homebrew/core 2020-11-05 01:43:01 -05:00
Rylan Polster
fe1c7c16b0 audit: add tap audits for audit exceptions 2020-11-05 01:25:13 -05:00
Rylan Polster
e1f463ff26 audit: use name tap_audit_exceptions 2020-11-04 23:42:42 -05:00
Mike McQuaid
878cbb634f
update-test: more improvements.
- Explain why `HOMEBREW_UPDATE_TEST` is set and what it does.
- Avoid auto-updating (this should already be not happening but let's
  make sure).
- Set environment variables to ensure we're testing the default update
  behaviour (rather than deferring to user configuration).
- Use `HOMEBREW_BREW_GIT_REMOTE` as well as setting
  `git config remote.origin.url` ourselves.
- Run `brew help` quietly first to hide irrelevant portable Ruby output.
- Run `brew update --verbose --debug` to get even more output on
  failure.

Fixes https://github.com/Homebrew/brew/issues/8979
2020-11-04 13:22:59 +00:00
Rylan Polster
55e86125a6 audit: don't fail if exception list doesn't exist 2020-11-03 14:38:44 -05:00
Rylan Polster
869941bccd audit: migrate throttle list to Homebrew/core 2020-11-03 13:06:33 -05:00
Mike McQuaid
18c638de30
Merge pull request #9029 from MikeMcQuaid/diy-downcase
diy: downcase names.
2020-11-03 11:47:13 +00:00
Mike McQuaid
488a43ecd7
Merge pull request #9027 from Homebrew/revert-9016-revert-9009-improve-versioned-linking
Improve @-versioned formulae linking.
2020-11-02 14:33:32 +00:00