Tie
8b4197dd10
make suggestions round 2
2020-11-06 10:36:21 -05:00
Tie
afd7bb8889
make suggestions
2020-11-05 12:27:22 -05:00
Tie
b5d5be3474
fix typecheck
2020-11-05 00:53:12 -05:00
Tie
b5427e5095
fix style issues
2020-11-04 18:53:03 -05:00
Tie
10ae9bcde7
modify autoremove to use uninstall
2020-11-04 17:15:32 -05:00
Dawid Dziurla and Tie
0fa417706a
cmd: add autoremove command
2020-11-04 17:15:32 -05:00
Tie
4127a7b624
move some uninstall tests to new file
2020-11-04 17:14:43 -05:00
Tie
30a3561448
move uninstall logic to new file
2020-11-04 16:45:52 -05:00
Tie
f95e1729a2
move logic from leaves to formula
2020-11-04 16:45:14 -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
Mike McQuaid
7e2b228460
diagnostic: improve deleted message.
...
Raised in #9036 .
2020-11-04 10:20:14 +00:00
Mike McQuaid
1f971ba2a0
link: link kegs without formulae.
...
Needed for `brew diy`.
Fixes #9036
2020-11-04 08:57:30 +00:00
Michka Popoff and GitHub
084f2e75eb
Merge pull request #8907 from iMichka/onlinux
...
formula: add on_linux and on_macos blocks
2020-11-03 23:30:37 +01:00
Michka Popoff
8b85ef2e88
formula: add on_linux and on_macos blocks
...
for install and others
2020-11-03 22:54:07 +01:00
Mike McQuaid
438874af3c
list: more parameters fixes.
...
- Remove incorrect `--formula` requirements.
- Fix bad `OptionConstraintError` output message.
Fixes #9037 .
2020-11-03 16:50:03 +00:00
Mike McQuaid and GitHub
dbdf7cf265
Merge pull request #9035 from MikeMcQuaid/ls-flags
...
list: fix flag handling.
2020-11-03 15:00:25 +00:00
Mike McQuaid
5adb76a5ba
list: fix flag handling.
...
Fix `-1` and other flags so they're handled correctly with casks. Use
the "right" exceptions for declaring invalid combinations and change
their parent class so that `--help` is printed nicely too.
Fixes #9033
2020-11-03 12:29:58 +00:00
Mike McQuaid and GitHub
18c638de30
Merge pull request #9029 from MikeMcQuaid/diy-downcase
...
diy: downcase names.
2020-11-03 11:47:13 +00:00
Mike McQuaid and GitHub
5465a866a9
Merge pull request #9022 from chenrui333/bypass-artifact-check-for-vifm
...
audit: bypass artifact check for vifm-osx-0.11
2020-11-02 16:57:33 +00:00
Mike McQuaid and GitHub
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
f41afe6256
audit: use the specific url for vifm allowlist
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com >
2020-11-02 09:10:44 -05:00
Mike McQuaid and GitHub
5648ae12f2
Merge pull request #9031 from MikeMcQuaid/keg-for-realpath
...
Keg.for: handle non-existent path.
2020-11-02 14:09:32 +00:00
Mike McQuaid and GitHub
05bbb41022
Merge pull request #9030 from MikeMcQuaid/gpg-tweaks
...
Unify and use Git username/email/GPG handling.
2020-11-02 14:09:08 +00:00
Mike McQuaid
b54b022f73
Keg.for: handle non-existent path.
...
Otherwise `path.realpath` will raise `Errno::ENOENT` rather than the
expected `NotAKegError`.
Fixes https://github.com/Homebrew/brew/issues/9015
2020-11-02 12:56:59 +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 and GitHub
4ecd5d9824
Merge pull request #9023 from Homebrew/dependabot/bundler/Library/Homebrew/rspec-3.10.0
...
build(deps): bump rspec from 3.9.0 to 3.10.0 in /Library/Homebrew
2020-11-02 12:06:17 +00:00
Mike McQuaid and GitHub
d6d38e35d4
Merge pull request #9021 from EricFromCanada/requirements-display
...
Update display of requirements
2020-11-02 11:58:01 +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
Mike McQuaid and GitHub
dcba99c7d1
Revert "Revert "Improve @-versioned formulae linking.""
2020-11-02 11:20:09 +00:00
dependabot[bot] and GitHub
b3fce9aa23
build(deps): bump rspec from 3.9.0 to 3.10.0 in /Library/Homebrew
...
Bumps [rspec](https://github.com/rspec/rspec ) from 3.9.0 to 3.10.0.
- [Release notes](https://github.com/rspec/rspec/releases )
- [Commits](https://github.com/rspec/rspec/compare/v3.9.0...v3.10.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-11-02 07:17:40 +00:00
miccal
249088038c
shared_audits: add lidarr to GITHUB_PRERELEASE_ALLOWLIST
2020-11-02 06:57:50 +08:00
Rui Chen
ee0e9a86eb
audit: bypass artifact check for vifm-osx-0.11
...
```
==> FAILED
Formula/vifm.rb:4:3: C: https://github.com/vifm/vifm/releases/download/v0.11/vifm-osx-0.11.tar.bz2 looks like a binary package, not a source archive; homebrew/core is source-only.
url "https://github.com/vifm/vifm/releases/download/v0.11/vifm-osx-0.11.tar.bz2 "
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
```
2020-11-01 17:25:50 -05:00
EricFromCanada
62984b956e
relocate requirement tests
2020-11-01 15:42:55 -05:00
EricFromCanada
212367c1c0
requirements: reword error messages for consistency
...
also add formatting to download URLs
2020-11-01 15:20:02 -05:00
EricFromCanada
635233b37e
requirements: reword inspect() to place tags at end
...
This more closely matches requirements' display in the DSL.
2020-11-01 15:20:02 -05:00
EricFromCanada
a232ac8b1e
requirements: improve display in brew info
2020-11-01 15:20:02 -05:00
EricFromCanada
f4aeb3e956
arch_requirement: update and add to JSON representation of formulae
2020-11-01 11:57:00 -05:00
Jonathan Chang
006fd4985f
audit: fdroidserver can have mixed python versions
2020-11-01 15:00:10 +11:00
FX Coudert and GitHub
ac8cc16b9e
Merge pull request #9014 from Homebrew/fxcoudert-patch-1
...
python: update virtualenv
2020-10-30 22:29:19 +01:00
Shaun Jackman and GitHub
099af8cf9c
Revert "Improve @-versioned formulae linking."
2020-10-30 10:40:10 -07:00
FX Coudert and GitHub
b4ad930b5d
python: update virtualenv
2020-10-30 18:04:54 +01:00
Mike McQuaid
849034c368
Improve @-versioned formulae linking.
...
The way we currently handle @-versioned formulae linking is pretty
labourius:
- it requires extensive use of `link_overwrite` to avoid the `link`
stage failing on certain install/upgrade scenarios
- we teach people to use `brew link --force` whenever they wish to
link a versioned formulae when it's pretty obvious what's expected
in that situation
Instead, let's:
- automatically unlink other versioned formulae when linking a
versioned formula (either through `brew link` or `install`/`upgrade`
/`reinstall`)
- notify the user what we've done (with the same messaging as if
they had run `brew link` manually)
2020-10-29 13:35:03 +00:00
Mike McQuaid and GitHub
63fc64a050
Merge pull request #9004 from MikeMcQuaid/fix-timeout-exit-retry
...
spec_helper: fix Timeout::Error/SystemExit handling.
2020-10-29 11:41:32 +00:00
Mike McQuaid
9d7b0bad11
spec_helper: fix Timeout::Error/SystemExit handling.
...
These need to be manually caught and set otherwise they will not be
retried by `rspec-retry`. This is particularly annoying and a cause of
CI failures when tests timeout but are not retried.
Fixes https://github.com/Homebrew/brew/issues/8979
2020-10-29 11:05:12 +00:00
Markus Reiter and Jonathan Chang
b37b6e10a3
brew vendor-gems: commit updates.
2020-10-29 21:13:26 +11:00
dependabot[bot] and Jonathan Chang
3f0c9fef19
build(deps): bump sorbet-runtime in /Library/Homebrew
...
Bumps [sorbet-runtime](https://github.com/sorbet/sorbet ) from 0.5.5973 to 0.5.5981.
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Signed-off-by: dependabot[bot] <support@github.com >
2020-10-29 21:13:23 +11:00
Jonathan Chang and GitHub
447fbc1cfc
Merge pull request #9002 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.6006
...
build(deps): bump sorbet from 0.5.5949 to 0.5.6006 in /Library/Homebrew
2020-10-29 21:11:28 +11:00
Jonathan Chang
55dc8bbada
Fix strict typecheck errors.
2020-10-29 20:39:49 +11:00
dependabot[bot] and Jonathan Chang
f7492c0a54
build(deps): bump sorbet from 0.5.5949 to 0.5.6006 in /Library/Homebrew
...
Bumps [sorbet](https://github.com/sorbet/sorbet ) from 0.5.5949 to 0.5.6006
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Signed-off-by: dependabot[bot] <support@github.com >
2020-10-29 20:39:39 +11:00