3736 Commits

Author SHA1 Message Date
Mike McQuaid
9bd312bab2
Merge pull request #9267 from reitermarkus/macos-version-11.1
Handle macOS versions >= 11.1 correctly.
2020-11-25 14:36:01 +00:00
Mike McQuaid
f364f0c841
Merge remote-tracking branch 'origin/master' into deprecate-cask-commands 2020-11-25 09:39:00 +00:00
Mike McQuaid
db33c9a2a0
Merge pull request #9209 from MikeMcQuaid/deprecations
Deprecations for Homebrew 2.6.0
2020-11-25 08:49:52 +00:00
Rylan Polster
b2e25d12aa utils/pypi: refactor package handling 2020-11-24 15:40:15 -05:00
Tom Schoonjans
b2864fb118 Temporarily disable VERSIONED_KEG_ONLY_ALLOWLIST test 2020-11-24 17:57:44 +00:00
Mike McQuaid
d496f5c121
Deprecations for Homebrew 2.6.0
Do the usual deprecate/disable dance for the Homebrew 2.6.0 release.

Not to be merged until the next release will definitely be 2.6.0.
2020-11-24 16:44:02 +00:00
Michka Popoff
1fc3d22ab4 pr-pull: allow to pull from multiple workflows
and allow to skip missing workflows

Can be used like this:
brew pr-pull --workflows=tests.yml,wheezy_tests.yml --ignore-missing-artifacts=wheezy_tests.yml PRNUMBER
2020-11-24 15:46:44 +01:00
Markus Reiter
1d7cfc4337
Merge pull request #9261 from reitermarkus/system_command-types
Add types for `SystemCommand`.
2020-11-24 09:56:25 +01:00
Markus Reiter
8598b1186a Handle macOS versions >= 11.1 correctly. 2020-11-23 13:46:15 +01:00
Markus Reiter
d5b184d17a Add types for SystemCommand. 2020-11-23 05:48:43 +01:00
Markus Reiter
3c2ec1c60f Deprecate remaining cask commands. 2020-11-21 19:56:12 +01:00
Michka Popoff
a044f99d56 on_macos/on_linux block: allow to use deprecate or disable 2020-11-20 22:14:56 +01:00
Rylan Polster
5a14be6f51
Merge pull request #9178 from Rylan12/migrate-license-mismatch-allowlist
Migrate license mismatch allowlist to Homebrew/core
2020-11-20 09:40:12 -05:00
Markus Reiter
7dd7d69cd8
Merge pull request #9207 from reitermarkus/brew-zap
Add `--zap` flag for `brew uninstall`.
2020-11-20 09:42:13 +01:00
Markus Reiter
bf486c5397
Merge pull request #9212 from reitermarkus/brew-cask-fetch
Support casks in `brew fetch`.
2020-11-20 09:32:13 +01:00
Markus Reiter
6d850a97a1
Merge pull request #9182 from reitermarkus/formula-installer
Refactor `FormulaInstaller`.
2020-11-19 20:18:57 +01:00
Markus Reiter
c54a9937e7 Remove cask-specific checksum errors. 2020-11-19 19:46:59 +01:00
Markus Reiter
7a83f34dd1 Support casks in brew fetch. 2020-11-19 19:46:59 +01:00
Rylan Polster
67e4e78f22 fix typo in audit tests
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
Co-authored-by: Markus Reiter <me@reitermark.us>
2020-11-19 13:38:52 -05:00
Rylan Polster
b0d10fdf28 add audit tests for migrated audit exception lists 2020-11-19 13:38:52 -05:00
Rylan Polster
899783b35a migrate license mismatch allowlist to Homebrew/core 2020-11-19 13:38:52 -05:00
Issy Long
12495bc804
Merge pull request #9195 from issyl0/specify-order-for-disable-and-deprecate-in-formulae
rubocops/components_order: Specify `disable!` and `deprecate!` order
2020-11-19 18:32:26 +00:00
Markus Reiter
ca333a5da0
Merge pull request #9199 from reitermarkus/type-signatures
Add more type signatures and `rspec-sorbet`.
2020-11-19 18:11:51 +01:00
Markus Reiter
97b7eaec84
Merge pull request #9210 from reitermarkus/brew-cask-cat
Support casks in `brew cat`.
2020-11-19 18:01:41 +01:00
Markus Reiter
ae8ebf9464 Add rspec-sorbet. 2020-11-19 16:14:22 +01:00
Markus Reiter
bc24128263 Support casks in brew cat. 2020-11-19 16:01:10 +01:00
Mike McQuaid
35db40fe25
Disable Java requirement versions on Big Sur
It would be possible to work around this but I'm not convinced it's
worth it given https://github.com/Homebrew/homebrew-core/issues/63290

Fixes #9194
2020-11-19 14:03:57 +00:00
Markus Reiter
f4b4fdac98 Add brew zap command. 2020-11-19 13:42:02 +01:00
Issy Long
7bcf554799
rubocops/components_order: Specify disable! and deprecate! order
- Ordering them this way seems to require less `--fix`ing in
  Homebrew/homebrew-core than the other way around.
- In the Big Sur bottling, we found many repos that were archived. We've
  been going through and deprecating repos that are archived or that
  don't build any more. I felt weird without the ordering of these
  stanzas without an audit to guide me - I spent time looking at
  previous examples to see "should `deprecate!` go before or after
  `depends_on`" question. Computers can tell us this instead.
2020-11-18 21:44:46 +00:00
Markus Reiter
dc11f02e16 Move auditor classes into separate files. 2020-11-18 11:22:27 +01:00
Markus Reiter
7c5d8a5288 Refactor FormulaInstaller. 2020-11-18 09:30:11 +01:00
Markus Reiter
549763d594 Don't create package.json in current directory. 2020-11-18 08:40:59 +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
Markus Reiter
b21c59f751
Merge pull request #9152 from reitermarkus/update-gems
Update Gems.
2020-11-17 13:51:27 +01:00
Mike McQuaid
844fa3bbd5
spec_helper: increase needs_network timeout and retry.
This should help with flakiness on these tests.
2020-11-17 12:01:09 +00:00
Markus Reiter
0184e271d8 Fix RuboCop offenses. 2020-11-17 11:09:55 +01:00
Markus Reiter
9f458142b7
Merge pull request #9146 from reitermarkus/upgrade
Mention `--greedy` when no casks were upgraded.
2020-11-16 22:03:10 +01:00
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
Markus Reiter
3ee66d8c0d Add type annotations related to upgrade. 2020-11-16 19:45:15 +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