17964 Commits

Author SHA1 Message Date
Bo Anderson
d5d3fc0f4b formula: use installed_prefixes in opt_or_installed_prefix_keg 2020-07-09 23:04:15 +01:00
Mike McQuaid
6d2c39579e
Merge pull request #7960 from MikeMcQuaid/delete-more-linkedkegs-symlinks
keg: delete more alias LinkedKegs symlinks.
2020-07-09 17:07:16 +01:00
Bo Anderson
04370d4663
Merge pull request #7959 from Bo98/python3.7
language/python: allow python@3.7 to be used for virtualenvs
2020-07-09 16:44:54 +01:00
Mike McQuaid
66230fa842
keg: delete more alias LinkedKegs symlinks.
We don't actually care what it points to because we shouldn't have
LinkedKegs around for aliases at all (unlike `opt` links).
2020-07-09 16:37:23 +01:00
Bo Anderson
1c73393b47 language/python: raise if we can't detect the Python to use for venv 2020-07-09 15:43:36 +01:00
Mike McQuaid
a3c89ff93b
Merge pull request #7955 from MikeMcQuaid/formula-linked-keg
formula: look harder for a linked keg.
2020-07-09 15:36:37 +01:00
Bo Anderson
f01d264c3c language/python: allow python@3.7 to be used for virtualenvs 2020-07-09 15:31:53 +01:00
Bo Anderson
16049840dc formula_installer: mv rather than rename on link_overwrite
Fixes a cross-device link error if the two locations are on separate partitions.
2020-07-09 15:06:44 +01:00
Mike McQuaid
82e249b92f
formula: look harder for a linked keg.
Add and use a `possible_names` method to find a linked keg based on
an old name or alias.

Use this both for `link_overwrite` and for `linked_keg` (which is what
`brew upgrade` uses to find outdated kegs).
2020-07-09 15:03:49 +01:00
Mike McQuaid
50d12ce900
Merge pull request #7956 from MikeMcQuaid/keg-unlink-more-aliases
keg: unlink alias linkedkegs.
2020-07-09 14:54:09 +01:00
Mike McQuaid
91b0bd3798
Merge pull request #7952 from Bo98/alias_prefixes
formula: consider aliases in installed_prefixes
2020-07-09 14:53:46 +01:00
Mike McQuaid
386747c733
keg: unlink alias linkedkegs.
We did these for opt symlinks already but not linkedkegs.
2020-07-09 14:17:27 +01:00
Bo Anderson
2afa8497c0 formula: consider aliases in installed_prefixes 2020-07-09 14:08:58 +01:00
Mike McQuaid
146eca4608
Merge pull request #7951 from issyl0/revert-7933
Revert #7933 ("sorbet: set utils/git.rb to true")
2020-07-09 09:09:41 +01:00
Issy Long
2c3b2f68cd
Revert #7933 ("sorbet: set utils/git.rb to true")
- My refactoring of #7933 went wrong in that the tests passed for `brew
  extract` and my manual testing, but both forgot about third-party taps
  exist, so that functionality broke as follows (courtesy of Misty).

  Before:

  ```
  # Git.last_revision_commit_of_files("/usr/local/Homebrew", ["LICENSE.txt", "README.md"])
  => ["ac0665d", ["README.md"]]
  ```

  After:

  ```
  # Git.last_revision_commit_of_files("/usr/local/Homebrew", ["LICENSE.txt", "README.md"])
  => [nil, []]
  ```

- While we think about how to do splats in Sorbet, revert this so
  that users are able to `brew extract` from third party taps again.

- A TODO for later in a separate PR is to write a test for `brew
  extract` that tests the behaviour of third-party taps.

---

- Reverted this manually because the GitHub UI couldn't do it.
- Arguably I didn't need to remove the RBI file, but it's easier to have
  everything gone for now and then revert this revert in future once we
  have a strategy for dealing with splats in Sorbet than have
  inconsistency.
2020-07-09 08:18:38 +01:00
Seeker
02d6b671e6 Revert "python_virtualenv_constants: upgrade virtualenv to 20.0.26"
This reverts commit 6dbcf83a21d36a0c03990a923cc07ef4a06e4e7f.
2020-07-08 22:50:50 -07:00
Michka Popoff
9c3cc31cb4 uses_from_macos: move cpio to shadowed by macos list 2020-07-08 22:59:41 +02:00
Claudia Pellegrino
0735915dc5
Merge pull request #7945 from claui/oldest_cpu
Make Homebrew work with Xcode 12 Beta 2 on Apple Silicon
2020-07-08 22:29:04 +02:00
Claudia
374c734d9b
Make Hardware.oldest_cpu depend on architecture
Starting with Xcode 12 Beta 2, builds that used to work on Apple Silicon
now break due to `Hardware#oldest_cpu` returning `:nehalem` [1].

This commit is the first in a series of improvements to
`Hardware#oldest_cpu`. It resolves the Xcode 12 Beta 2 issue for now.

[1]: https://github.com/Homebrew/brew/issues/7857#issuecomment-655536261
2020-07-08 20:59:10 +02:00
vidusheeamoli
79ac3875d5 sorbet: set utils/notability.rb to true 2020-07-08 23:38:42 +05:30
Issy Long
eee17fd1b5
Merge pull request #7933 from vidusheeamoli/utils-gem-to-true
sorbet: set utils/git.rb to true
2020-07-08 18:45:21 +01:00
vidusheeamoli
76a2e69990 sorbet: set utils/git.rb to true
(cherry picked from commit 44a04adb1de430066af73a65766eb644c0f5bd41)
2020-07-08 22:34:26 +05:30
Chongyu Zhu
6dbcf83a21
python_virtualenv_constants: upgrade virtualenv to 20.0.26 2020-07-08 20:57:30 +08:00
dependabot-preview[bot]
47b4182c87
build(deps): bump codecov from 0.1.17 to 0.1.19 in /Library/Homebrew
Bumps [codecov](https://github.com/codecov/codecov-ruby) from 0.1.17 to 0.1.19.
- [Release notes](https://github.com/codecov/codecov-ruby/releases)
- [Changelog](https://github.com/codecov/codecov-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-ruby/compare/v0.1.17...v0.1.19)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-08 11:50:21 +01:00
Issy Long
b4c171b78d
Merge pull request #7932 from vidusheeamoli/add-new-files
sorbet/files.yaml: add new files
2020-07-08 10:26:43 +01:00
dependabot-preview[bot]
14384fc5df
build(deps): bump rubocop from 0.87.0 to 0.87.1 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.87.0 to 0.87.1.
- [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.87.0...v0.87.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-07 19:42:32 +00:00
vidusheeamoli
c8c8839ba2 sorbet: update hidden definitions
srb/tapioca: update rbi of recently bumped gems
2020-07-08 01:03:54 +05:30
vidusheeamoli
1d2e68d184 srb/tapioca: update rbi of recently bumped gems 2020-07-08 00:38:34 +05:30
vidusheeamoli
0d58d2a46c srb/files: add new files. 13 errors => 14 errors. 2020-07-08 00:38:34 +05:30
EricFromCanada
8540aaf218 audit: disallow capitalization and period in conflicts_with reason 2020-07-07 13:25:54 -04:00
Mike McQuaid
fa760a2f26
Fix brew style. 2020-07-07 13:12:37 +01:00
Mike McQuaid
d2e22986cd
brew vendor-gems: commit updates. 2020-07-07 13:08:09 +01:00
dependabot-preview[bot]
7c2a293249
build(deps): bump rubocop-performance in /Library/Homebrew
Bumps [rubocop-performance](https://github.com/rubocop-hq/rubocop-performance) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/rubocop-hq/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-performance/compare/v1.6.1...v1.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-07 13:06:43 +01:00
Mike McQuaid
720a00e68e
formula_desc: handle nil first character. 2020-07-07 12:23:29 +01:00
Mike McQuaid
f951ea83d4
Fix brew style. 2020-07-07 12:23:29 +01:00
Mike McQuaid
82a725ad0a
brew vendor-gems: commit updates. 2020-07-07 12:23:29 +01:00
dependabot-preview[bot]
b5c05065b8
build(deps): bump rubocop from 0.86.0 to 0.87.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.86.0 to 0.87.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.86.0...v0.87.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-07 12:23:29 +01:00
Mike McQuaid
b9e2b82f68
Merge pull request #7930 from MikeMcQuaid/shellcheck
style: re-enable shellcheck.
2020-07-07 12:23:10 +01:00
Mike McQuaid
0fa5cc6eec
Merge pull request #7929 from MikeMcQuaid/diagnostic-allow-gems
diagnostic: allow some uncommitted gems.
2020-07-07 11:54:23 +01:00
Mike McQuaid
15a2abd9df
style: re-enable shellcheck.
Ensure that `shellcheck` is run by `brew style` again and fix the
various failures.
2020-07-07 11:53:55 +01:00
Claudia Pellegrino
99aee97856
Merge pull request #7924 from claui/hardware_cpu_armv83a
Add CPU family ARMv8.3-A
2020-07-07 11:42:09 +02:00
Mike McQuaid
300d7e4799
diagnostic: allow some uncommitted gems.
Until these feature flags are fully enabled/removed these will result
in uncommitted gems (which will block CI).
2020-07-07 09:51:22 +01:00
Michka Popoff
f455fe28a7
Merge pull request #7838 from iMichka/cpio
uses_from_macos: allow cpio
2020-07-07 07:30:46 +02:00
Michka Popoff
5b82005829 uses_from_macos: allow cpio
as it is provided by macOS
2020-07-06 23:31:39 +02:00
Dawid Dziurla
9cce4c5be3
Merge pull request #7920 from dawidd6/pr-upload-keep-old
dev-cmd/pr-upload: add --keep-old flag
2020-07-06 21:16:35 +02:00
Claudia
559d0a91a2
Add CPU family ARMv8.3-A
Darwin 20 adds the CPU family `CPUFAMILY_ARM_VORTEX_TEMPEST`
(aka ARMv8.3-A), which is assigned the identifier of `0x07d34b9f`.

This is relevant for `SystemConfig` in Homebrew.

See also:
https://en.wikipedia.org/wiki/Comparison_of_ARMv8-A_cores
2020-07-06 20:48:46 +02:00
Mike McQuaid
7015fb1601
formula: fix link_overwrite?
Fixes #7921
2020-07-06 17:02:58 +01:00
Dawid Dziurla
8a1ff9275c
dev-cmd/pr-upload: add --keep-old flag 2020-07-06 17:41:07 +02:00
dependabot-preview[bot]
1b971cf33b
build(deps): bump nokogiri from 1.10.9 to 1.10.10 in /Library/Homebrew
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.10.9 to 1.10.10.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.10.9...v1.10.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-06 14:52:20 +00:00
Mike McQuaid
f72328d9c0
Merge pull request #7915 from iMichka/link
link_overwrite: allow to overwrite files from alias
2020-07-06 09:42:52 +01:00