Mike McQuaid
c91ff3c399
install: fix prefix checks.
...
Co-authored-by: Bo Anderson <mail@boanderson.me>
2020-11-12 18:58:03 +00: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
BrewTestBot
c1c8bda3ed
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2020-11-12 00:38:14 +00:00
Markus Reiter
08d4ba6877
Merge pull request #8795 from reitermarkus/homebrew-args
...
Completely deprecate `Homebrew.args`.
2020-11-11 22:44:59 +01:00
Markus Reiter
5bc626bbe1
Completely deprecate Homebrew.args
.
2020-11-11 08:52:55 +01:00
dependabot[bot]
be14f528fa
build(deps): bump sorbet from 0.5.6040 to 0.5.6042 in /Library/Homebrew
...
Bumps [sorbet](https://github.com/sorbet/sorbet ) from 0.5.6040 to 0.5.6042.
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-11 06:34:51 +00:00
BrewTestBot
e9be4cb83d
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2020-11-11 00:34:08 +00: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
cc3345577f
unpack_strategy/zip: widen type of super call
2020-11-11 00:13:28 +11:00
Markus Reiter
52de3f9d8d
extract: fix tap regex
2020-11-10 23:28:31 +11:00
Jonathan Chang
8b1aaa957a
rubocop: set Lint/EmptyBlock as rubocop_todo
2020-11-10 23:28:31 +11:00
Jonathan Chang
215a84e328
rubocop: fix Style/DocumentDynamicEvalDefinition
2020-11-10 23:28:31 +11:00
Jonathan Chang
f9fec9bdc7
rubocop: fix Style/IfInsideElse
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
20b8fcd726
rubocop: fix Style/CollectionCompact
2020-11-10 23:28:31 +11:00
Jonathan Chang
556c81b540
rubocop: fix Security/Open
2020-11-10 23:28:31 +11:00
Jonathan Chang
ab7b757400
rubocop: fix Style/NegatedIfElseCondition
2020-11-10 23:28:31 +11:00
Jonathan Chang
5ce561c4d1
rubocop: fix Naming/MemoizedInstanceVariableName
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
Jonathan Chang
ab8b1b361f
brew vendor-gems: commit updates.
2020-11-10 23:28:31 +11:00
dependabot[bot]
c02c4b8749
build(deps): bump rubocop from 0.93.1 to 1.2.0 in /Library/Homebrew
...
Bumps [rubocop](https://github.com/rubocop-hq/rubocop ) from 0.93.1 to 1.2.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.93.1...v1.2.0 )
Signed-off-by: dependabot[bot] <support@github.com>
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
866f7b10aa
Merge pull request #9094 from MikeMcQuaid/audit-no-dep-checks-linux
...
dev-cmd/audit: don't do dependency checks on Linux.
2020-11-09 17:08:59 +00: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
Mike McQuaid
9ad37ddc36
Revert "uses_from_macos: fix force_homebrew_on_linux behaviour."
2020-11-09 16:26:09 +00:00
Rylan Polster
67127cb2ff
audit: add checksum change test
2020-11-09 10:49:31 -05:00
Mike McQuaid
a867e78f62
uses_from_macos: fix force_homebrew_on_linux behaviour.
...
Otherwise the dependencies are read incorrectly on Linux when we're
trying to analyse Homebrew.
2020-11-09 15:23:35 +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
Mike McQuaid
29160b9e7f
Merge pull request #9081 from SeekingMeaning/bottle-block
...
bottle: fix adding bottle block to formulae with special license
2020-11-09 09:54:16 +00:00
Mike McQuaid
5b75133d00
Merge pull request #9076 from EricFromCanada/arm-arch-requirement
...
Add support for arm64 architecture requirement
2020-11-09 09:51:51 +00:00
Jonathan Chang
ff645884fb
Merge pull request #9085 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.6040
...
build(deps): bump sorbet from 0.5.6036 to 0.5.6040 in /Library/Homebrew
2020-11-09 19:39:08 +11:00
Jonathan Chang
35fde3ec77
build(deps): bump sorbet-runtime from 0.5.6036 to 0.5.6040 in /Library/Homebrew
2020-11-09 19:03:22 +11:00
dependabot[bot]
bb2c663e23
build(deps): bump sorbet from 0.5.6036 to 0.5.6040 in /Library/Homebrew
...
Bumps [sorbet](https://github.com/sorbet/sorbet ) from 0.5.6036 to 0.5.6040.
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2020-11-09 07:16:32 +00:00
BrewTestBot
d73a0e3040
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml ) workflow.
2020-11-09 00:42:36 +00:00
Markus Reiter
d66ca60cdb
Only warn if repo of discontinued cask is archived.
2020-11-08 18:08:02 +01:00
Seeker
50ce5ef3a4
bottle: fix adding bottle block to formulae with special licenses
2020-11-08 07:23:33 -08:00
Jonathan Chang
ad44a83b72
inreplace: fix typecheck error
2020-11-08 23:25:52 +11: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
Rylan Polster
b4d4f6d504
audit: require JSON arrays/objects for audit exceptions
2020-11-06 12:33:28 -05:00
Mike McQuaid
2ac5cffd0d
Merge pull request #9047 from tie624/add_autoremove
...
Add autoremove
2020-11-06 16:47:59 +00:00
Rylan Polster
f2f2de6ff0
audit: cleanup and only check certain JSON files
2020-11-06 11:23:11 -05: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
Rylan Polster
fe95b23736
audit: refactor tap_audit_exception method
2020-11-06 10:49:21 -05:00
Tie
8b4197dd10
make suggestions round 2
2020-11-06 10:36:21 -05:00