Jonathan Chang
5a97c08ab3
java: only disable java version ranges on Big Sur
2020-11-20 13:57:11 +11:00
Markus Reiter
45950bb8ad
Support casks in brew edit
.
2020-11-20 00:43:15 +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
Maxim Belkin
22bc5a94e7
Properly handle outdated cURL
...
`HOMEBREW_CURL_PATH` has an effect only when `HOMEBREW_DEVELOPER` is set. However, the part of `brew.sh` that prints a message about outdated cURL disregards the value of `HOMEBREW_DEVELOPER`, which leads to a misleadnig message telling the user that `HOMEBREW_CURL_PATH` is outdated even though another cURL was used/tested.
This PR fixes it and instructs Homebrew to:
1. Display a warning message when system cURL is outdated and either `HOMEBREW_CURL_PATH` **or `HOMEBREW_DEVELOPER`** are not set. New `HOMEBREW_CURL_WARNING` variable is set to display the above warning only once (useful when `brew` calls itself internally).
2. Display `Installing Homebrew cURL` before auto-installing cURL in `update.sh` (due to `HOMEBREW_FORCE_BREWED_CURL`) and stop/exit if this step fails.
3. Display `Installing Homebrew Git` before auto-installing Git in `update.sh` (due to `HOMEBREW_FORCE_BREWED_GIT`) and stop/exit if this step fails.
2020-11-19 10:14:10 -06:00
Mike McQuaid
def947cf36
Merge pull request #9208 from MikeMcQuaid/java-big-sur
...
Disable Java requirement versions on Big Sur
2020-11-19 15:56:34 +00:00
Markus Reiter
ae8ebf9464
Add rspec-sorbet
.
2020-11-19 16:14:22 +01:00
Markus Reiter
70dd41cfd8
Add type signatures to BuildEnvironment
.
2020-11-19 16:07:50 +01:00
Markus Reiter
220b4606ca
Add type signatures to GitHub::Actions
.
2020-11-19 16:07:50 +01:00
Markus Reiter
60d1246cb7
Add type signatures to Utils::Shebang
.
2020-11-19 16:07:50 +01:00
Markus Reiter
a42cc9499e
Add type signatures to Cask::Cache
.
2020-11-19 16:07:50 +01:00
Markus Reiter
0b6c31fc70
Add type signatures to Cask::Pkg
.
2020-11-19 16:07:50 +01:00
Markus Reiter
845887914e
Mark TopologicalHash
# typed: true
.
2020-11-19 16:07:50 +01:00
Markus Reiter
66bf1314a1
Add type signatures for Cask::Staged
.
2020-11-19 16:07:50 +01:00
Markus Reiter
64a0e9a721
Add type signatures for Caskroom
.
2020-11-19 16:07:50 +01:00
Markus Reiter
bc24128263
Support casks in brew cat
.
2020-11-19 16:01:10 +01:00
Markus Reiter
2c47678b05
Add --zap
flag to brew uninstall
and remove brew zap
.
2020-11-19 15:07:59 +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
Markus Reiter
181baaafb0
Merge pull request #9203 from jonchang/fix-named-args-typing
...
cli: fix type signature of to_kegs_to_casks
2020-11-19 11:43:34 +01:00
Jonathan Chang
a094e43337
cli: fix type signature of to_kegs_to_casks
2020-11-19 21:00:56 +11:00
Markus Reiter
1e9710fdc3
Merge pull request #9201 from reitermarkus/vendor-gems-update
...
Add `--update` option to `brew vendor-gems`.
2020-11-19 10:42:45 +01:00
Markus Reiter
aa6a8e5c13
Add --update
option to brew vendor-gems
.
2020-11-19 10:11:19 +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
Dawid Dziurla
125555752f
Merge pull request #9192 from reitermarkus/fix-audit
...
Fix `brew audit --tap=<tap>`.
2020-11-18 19:46:58 +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
0ce654bbde
Merge pull request #9191 from reitermarkus/cask-uninstall
...
Support `--cask` flag in `brew uninstall`.
2020-11-18 18:07:40 +01:00
Markus Reiter
5097af3b74
Support --cask
flag in brew uninstall
.
2020-11-18 17:30:34 +01:00
Markus Reiter
1cd1155dd2
Merge pull request #9190 from reitermarkus/cask-audit
...
Support casks in `brew audit`.
2020-11-18 16:13:40 +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
8d9a767e6d
Merge pull request #9187 from reitermarkus/cask-audit
...
Preparations for merging `brew cask audit` into `brew audit`.
2020-11-18 11:51:37 +01: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
e54e719e38
Add Cask::Cmd::Audit.audit_casks
method.
2020-11-18 10:25:32 +01:00
Mike McQuaid
f00e094884
Merge pull request #9176 from EricFromCanada/show-upgradeable-dependents
...
upgrade: show upgradeable dependents during dry run
2020-11-18 09:14:20 +00:00
Markus Reiter
7c5d8a5288
Refactor FormulaInstaller
.
2020-11-18 09:30:11 +01:00
Markus Reiter
fb0539a2c3
Merge pull request #9184 from reitermarkus/npm-package-json
...
Don't create `package.json` in current directory.
2020-11-18 09:27:12 +01:00
Markus Reiter
549763d594
Don't create package.json
in current directory.
2020-11-18 08:40:59 +01:00