20359 Commits

Author SHA1 Message Date
Shaun Jackman
099af8cf9c
Revert "Improve @-versioned formulae linking." 2020-10-30 10:40:10 -07:00
FX Coudert
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
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
b37b6e10a3 brew vendor-gems: commit updates. 2020-10-29 21:13:26 +11:00
dependabot[bot]
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
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]
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
Mike McQuaid
ffe827ad0e
Fix upgrading dependents on missing keg
Ensure that we don't try to check for broken linkage in a keg that
doesn't exist. Furthermore, fix the reason we checked for the keg that
doesn't exist by `Formula.clear_cache`.

While here, I noticed that there was other methods of caching at use in
`Formula` so consolidate them to be consistent.

Fixes #8997
2020-10-29 08:31:04 +00:00
Tie
aa979f0e31 add missing param header to url class 2020-10-27 16:47:07 -04:00
Mike McQuaid
e1b988770a
Merge pull request #9000 from miccal/shared-audits-update
shared_audits: add syntax-highlight to GITHUB_PRERELEASE_ALLOWLIST
2020-10-27 11:53:27 +00:00
Mike McQuaid
8f5988f21d
Merge pull request #8998 from muneebmahmed/dependent-check
Refresh installed list before dependency check
2020-10-27 11:52:55 +00:00
Mike McQuaid
88cf9a304f
Merge pull request #8996 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2020-10-27 11:52:04 +00:00
Mike McQuaid
1c822206a0
Merge pull request #8911 from iMichka/requirement
xcode_requirement: support linux
2020-10-27 11:50:42 +00:00
Mike McQuaid
da71dde43c
Merge pull request #8988 from MikeMcQuaid/tweak-search
install: tweak missing formula behaviour.
2020-10-27 11:49:33 +00:00
Jonathan Chang
c4eaa387ff mac/xcode: version bumps for Xcode 12.1 and 11.3.1 2020-10-27 21:37:04 +11:00
miccal
a782406e08 shared_audits: add syntax-highlight to GITHUB_PRERELEASE_ALLOWLIST 2020-10-27 17:06:12 +08:00
Muneeb Ahmed
4322b44d4c Refresh installed list before dependency check 2020-10-26 19:29:55 -07:00
BrewTestBot
75e2f1a2a9 sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-10-27 01:00:30 +00:00
Michka Popoff
3aec8a0398 xcode_requirement: support linux
2020-10-12T21:29:03.7866574Z [31mError:[0m undefined method `latest_version' for OS::Mac::Xcode:Module
2020-10-12T21:29:03.7867686Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/requirements/xcode_requirement.rb:33:in `message'
2020-10-12T21:29:03.7868902Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-test-bot/lib/tests/formulae.rb:199:in `map'
2020-10-12T21:29:03.7870227Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-test-bot/lib/tests/formulae.rb:199:in `satisfied_requirements?'
2020-10-12T21:29:03.7871547Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-test-bot/lib/tests/formulae.rb:593:in `formula!'
2020-10-12T21:29:03.7873156Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-test-bot/lib/tests/formulae.rb:20:in `block in run!'
2020-10-12T21:29:03.7875029Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-test-bot/lib/tests/formulae.rb:19:in `each'
2020-10-12T21:29:03.7876299Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-test-bot/lib/tests/formulae.rb:19:in `run!'
2020-10-12T21:29:03.7877495Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-test-bot/lib/test_runner.rb:119:in `run_tests'
2020-10-12T21:29:03.7878705Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-test-bot/lib/test_runner.rb:36:in `block in run!'
2020-10-12T21:29:03.7879908Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/delegate.rb:83:in `each'
2020-10-12T21:29:03.7881136Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/lib/ruby/2.6.0/delegate.rb:83:in `method_missing'
2020-10-12T21:29:03.7882519Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-test-bot/lib/test_runner.rb:25:in `run!'
2020-10-12T21:29:03.7883735Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-test-bot/lib/test_bot.rb:126:in `run!'
2020-10-12T21:29:03.7884875Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-test-bot/cmd/test-bot.rb:75:in `test_bot'
2020-10-12T21:29:03.7885882Z /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/brew.rb:119:in `<main>'
2020-10-26 22:22:16 +01:00
Mike McQuaid
f099256fef
install: tweak missing formula behaviour.
- Run `brew search` for local formulae first (as it's quickest) rather
  than checking Git history.
- Don't output `Searching taps...` because `Searching taps on GitHub...`
  is output by the called function (and because it'll say it's searching
  taps even when it is not if `HOMEBREW_NO_GITHUB_API` is set).
2020-10-26 12:18:07 +00: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
Mike McQuaid
60046ac41c
Merge pull request #8893 from whoiswillma/william/integrate-brew-info
cmd/info: Add support for casks in brew info
2020-10-26 11:59:53 +00:00
Mike McQuaid
a5241e868c
Merge pull request #8987 from Homebrew/dependabot/bundler/Library/Homebrew/simplecov-0.19.1
build(deps): bump simplecov from 0.19.0 to 0.19.1 in /Library/Homebrew
2020-10-26 11:49:08 +00:00
Mike McQuaid
1f6c1e9749
Merge pull request #8973 from diogoazevedos/npm-7-support
Add support for npm 7
2020-10-26 11:36:30 +00:00
dependabot[bot]
53ae3a3aa7
build(deps): bump simplecov from 0.19.0 to 0.19.1 in /Library/Homebrew
Bumps [simplecov](https://github.com/simplecov-ruby/simplecov) from 0.19.0 to 0.19.1.
- [Release notes](https://github.com/simplecov-ruby/simplecov/releases)
- [Changelog](https://github.com/simplecov-ruby/simplecov/blob/main/CHANGELOG.md)
- [Commits](https://github.com/simplecov-ruby/simplecov/compare/v0.19.0...v0.19.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-26 07:16:43 +00:00
Issy Long
de8f487b84
Merge pull request #8985 from issyl0/rm-infrakit-from-prerelease-allowlist
Remove `infrakit` from `GITHUB_PRERELEASE_ALLOWLIST` as it's deprecated
2020-10-25 16:44:21 +00:00
FX Coudert
c75bd76389
Merge pull request #8980 from Homebrew/py39-again
Allow python@3.9 to be non-keg-only
2020-10-25 16:33:36 +01:00
Issy Long
6212c1d6c8
Remove infrakit from GITHUB_PRERELEASE_ALLOWLIST as it's deprecated 2020-10-25 14:28:40 +00:00
FX Coudert
be4723fac8
Allow both python@3.8 and python@3.9 2020-10-25 13:19:00 +01:00
miccal
a176c3f75b shared_audits: add nuclear to GITHUB_PRERELEASE_ALLOWLIST 2020-10-25 06:13:26 +08:00
Diogo Azevedo
35a7e336be
node: add support for npm 7
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2020-10-24 15:26:36 +02:00
FX Coudert
672bb870ef
Make python@3.9 the main formula 2020-10-24 01:05:36 +02:00
Rylan Polster
c4ae961efa
Merge pull request #8972 from Rylan12/license-add-cannot-represent
Add more license symbol functionality
2020-10-23 08:31:51 -04:00
Rylan Polster
42d75c2787 formula_installer: fix forbidden license check
Convert forbidden licenses to a string before duplicating to have empty
strings instead of `nil`.
2020-10-22 15:15:56 -04:00
Rylan Polster
b06bcf3db1 formula_installer: unfreeze forbidden licenses string 2020-10-22 11:22:06 -04:00
Jonathan Chang
268cb87d5e bintray: warn on upload error on uploads
Previously this would only warn on errors for certain Bintray API
requests like publishing. This should now also warn on error for curl
POST uploads (if the appropriate flag has been passed).
2020-10-23 01:04:57 +11:00
Rylan Polster
24523f8225 utils/spdx: allow other license symbols 2020-10-22 10:01:40 -04:00
Jonathan Chang
1648011189 rubocops: permit openjdk@8 to bootstrap 2020-10-22 22:27:32 +11:00
BrewTestBot
392f2e3a5c sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-10-22 00:58:31 +00:00
Markus Reiter
6747474148
Merge pull request #8960 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2020-10-21 10:39:09 +02:00
Markus Reiter
4ce8acb583 Disable RSpec/StubbedMock cop. 2020-10-21 09:50:58 +02:00
Markus Reiter
9bfc745940 brew vendor-gems: commit updates. 2020-10-21 09:50:54 +02:00
dependabot[bot]
4a02728c3a
build(deps): bump rubocop-rspec in /Library/Homebrew
Bumps [rubocop-rspec](https://github.com/rubocop-hq/rubocop-rspec) from 1.43.2 to 1.44.1.
- [Release notes](https://github.com/rubocop-hq/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-rspec/compare/v1.43.2...v1.44.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-21 06:15:31 +00:00
BrewTestBot
4f7497ddf9 sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2020-10-21 00:57:15 +00:00
Rylan Polster
6e82f77108 audit: allow python symlinks based on keg-only status 2020-10-20 12:46:23 -04:00
Rylan Polster
dccece702c audit: avoid python symlink conflict 2020-10-20 12:09:11 -04:00
Jonathan Chang
4b6fe870d8
Merge pull request #8958 from jonchang/paginate-pr-commits
utils/github: paginate pull request commits API
2020-10-21 00:45:39 +11:00