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
Mike McQuaid
4f3c590873
Unify and use Git username/email/GPG handling.
...
We're using essentially the same logic to setup Git for committing in
multiple places but the way we're doing so is inconsistent. Moved to
using two shared utility methods and use them consistently.
2020-11-02 12:21:18 +00:00
Mike McQuaid
a9c988772b
diy: downcase names.
...
Fixes #9026
2020-11-02 12:09:25 +00:00
Mike McQuaid
bd7969c2b2
audit: fix non-core versioned formulae handling/
...
Fixes issue mentioned in #9016 .
2020-11-02 11:25:51 +00:00
Jonathan Chang
006fd4985f
audit: fdroidserver can have mixed python versions
2020-11-01 15:00:10 +11:00
Mike McQuaid
1702b34f18
update-test: improve debugging output.
...
Output more information about the refs and commit message for the start,
expected and actual end commits to ease debugging.
2020-10-26 12:17:22 +00:00
FX Coudert
be4723fac8
Allow both python@3.8 and python@3.9
2020-10-25 13:19:00 +01:00
FX Coudert
672bb870ef
Make python@3.9 the main formula
2020-10-24 01:05:36 +02:00
Mike McQuaid
4b361c26ea
Merge pull request #8889 from hyuraku/fix_brew_edit
...
fix brew edit
2020-10-20 13:36:31 +01:00
hyuraku
ae81ed1353
fix brew edit
2020-10-20 20:48:43 +09:00
Rylan Polster
6dec175574
tap-new: don't need to checkout default branch
2020-10-15 16:56:53 -04:00
Rylan Polster
64d135d0a7
tap-new: add option for branch name
2020-10-15 15:00:35 -04:00