Mike McQuaid
cae099bb2c
Merge pull request #7957 from MikeMcQuaid/keg-refactoring
...
keg: general cleanup.
2020-07-10 12:57:35 +01:00
Mike McQuaid
bab7c7e190
Merge pull request #7961 from MikeMcQuaid/cleanup-exist
...
cleanup: check path exists before cleanup.
2020-07-10 10:16:23 +01:00
Mike McQuaid
4816e8320d
cleanup: check path exists before cleanup.
...
It may have been already cleaned up by an earlier step.
2020-07-10 09:32:27 +01:00
Mike McQuaid
b8018b49da
Merge pull request #7967 from Bo98/opt_or_installed_prefix_keg
...
formula: use installed_prefixes in opt_or_installed_prefix_keg
2020-07-10 08:38:34 +01:00
Bo Anderson
d5d3fc0f4b
formula: use installed_prefixes in opt_or_installed_prefix_keg
2020-07-09 23:04:15 +01:00
Rylan Polster
111f9e5ca3
docs: update docs to reflect new Python procedures
2020-07-09 14:36:22 -04:00
vidusheeamoli
ca97f93bd4
sorbet: set utils/shebang.rb to true
2020-07-09 23:22:48 +05:30
vidusheeamoli
5d91491a93
sorbet: set utils/link.rb to true
2020-07-09 23:18:51 +05:30
Mike McQuaid
6d2c39579e
Merge pull request #7960 from MikeMcQuaid/delete-more-linkedkegs-symlinks
...
keg: delete more alias LinkedKegs symlinks.
2.4.5
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
William Ma
62a5614850
list: Update documentation
2020-07-09 11:21:22 -04: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
17ddfe102b
Merge pull request #7958 from Bo98/mv
...
formula_installer: mv rather than rename on link_overwrite
2020-07-09 15:34:36 +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
dfbc09c12f
keg: general cleanup.
...
Some refactoring while doing #7956 .
2020-07-09 14:21:14 +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
Dawid Dziurla
de4f25c13d
utils/github: add workflow_dispatch_event method
2020-07-09 12:50:09 +02:00
lionellloh
1952c140e9
brew man
2020-07-09 17:46:21 +08:00
lionellloh
c1bdbc53ea
include logic for ignore-deps and only-deps
2020-07-09 17:45:04 +08:00
lionellloh
7ed33959f9
description for HOMEBREW_FORBIDDEN_LICENSES
2020-07-09 17:42:08 +08:00
Lionell Loh Jian An
bdb64aa178
Apply suggestions from code review
...
Code review changes
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-07-09 16:28:00 +08: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
Jonathan Chang
5c8ad2fb48
Merge pull request #7950 from SeekingMeaning/venv-hotfix
...
Revert "python_virtualenv_constants: upgrade virtualenv to 20.0.26"
2020-07-09 17:49:19 +10: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
lionellloh
22ef3d5294
brew style --fix
2020-07-09 11:48:09 +08:00
lionellloh
4de020ec6c
adapt to forbidden_license_check method signature
2020-07-09 11:38:23 +08:00
William Ma
8f3d230995
list: Remove extraneous flag conflicts
2020-07-08 20:39:54 -04:00
Michka Popoff
369f919dab
Merge pull request #7947 from iMichka/cpio2
...
uses_from_macos: move cpio to shadowed by macos list
2020-07-08 23:31:28 +02: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
Issy Long
d1f6296f0f
Merge pull request #7943 from vidusheeamoli/utils-notability-to-true
...
sorbet: set utils/notability.rb to true
2020-07-08 19:35:35 +01: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
Lionell
4836970fdc
brew man
2020-07-09 00:06:34 +08:00
Lionell
fc146873ee
Merge branch 'license-forbidden' of https://github.com/MLH-Fellowship/brew into license-forbidden
2020-07-09 00:06:02 +08:00
Lionell
55878cab99
Merge remote-tracking branch 'origin/master' into license-forbidden
2020-07-09 00:05:23 +08:00
William Ma
28c0962430
list: Integrate brew list with brew cask list
2020-07-08 12:02:42 -04:00
Lionell Loh Jian An
5e99ecfbdb
Apply suggestions from code review
...
Code review changes
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-07-08 23:55:48 +08:00
Bo Anderson
bb0be60dea
os/mac: silence AppleLanguages error, fallback to system prefs
2020-07-08 15:47:15 +01:00
Mike McQuaid
d5123743b6
Merge pull request #7941 from lembacon/virtualenv-20.0.26
...
python_virtualenv_constants: upgrade virtualenv to 20.0.26
2020-07-08 14:28:46 +01:00