24610 Commits

Author SHA1 Message Date
Mike McQuaid
cf1e4fbcc3
Merge pull request #9442 from MikeMcQuaid/catalina-ruby-fix
brew.sh: don't allow system Ruby on Catalina.
2020-12-07 12:19:45 +00:00
Mike McQuaid
ed7df8f99d
Merge pull request #9381 from nandahkrishna/github-latest
livecheck: add GithubLatest strategy
2020-12-07 12:14:49 +00:00
Mike McQuaid
179459347a
brew.sh: don't allow system Ruby on Catalina.
It's (far) too broken for our purposes.

Fixes https://github.com/Homebrew/brew/issues/9410
2020-12-07 11:52:44 +00:00
Mike McQuaid
fa2f991b38
Merge pull request #9415 from MikeMcQuaid/consolidate_macos_tests
workflows/tests: consolidate macOS tests.
2020-12-07 11:50:10 +00:00
Jonathan Chang
24f7898606
Merge pull request #9336 from jonchang/refactor-git-extensions
git_extensions: refactor and delete redundant functions
2020-12-06 15:55:05 +11:00
Jonathan Chang
8b206dfa33 git_extensions: move commit_message from utils/git 2020-12-06 14:33:23 +11:00
Jonathan Chang
92d3eda914 git_extensions: move origin_branch from utils/git 2020-12-06 14:33:23 +11:00
Jonathan Chang
d802b3755a utils/git: remove redundant current_branch 2020-12-06 14:33:23 +11:00
Jonathan Chang
5bda84b594 dev-cmd/pr-pull: use git_extensions 2020-12-06 14:33:23 +11:00
Jonathan Chang
75be0ca4d0 git_repository: add type signatures and comments 2020-12-06 14:33:23 +11:00
Markus Reiter
596b4f6278
Merge pull request #9431 from RandomDSdevel/restore-semantically-significant-indentation-lost-accidentally-in-PR-9398
[Library/Homebrew/cli/named_args.rb] `to_formulae_to_casks()`:  Reasssociate its `rescue` Block with the Correct Enclosing Scope
2020-12-06 01:55:57 +01:00
Bryce Glover
c237223e15 [Library/Homebrew/cli/named_args.rb] to_formulae_to_casks(): Reassociate its
`rescue` block with the right enclosing scope.

     PR #9398 accidentally removed some semantically significant indentation in
this function, thus inadvertently kicking the `rescue` block inside out to func-
tion scope, when it moved its code further up in the file.  This may well not
confuse a Ruby interpreter, but it could trip human readers up.  Compensate and
correct the overlooked offending oversight and potential refactoring mistake by
restoring only that indentation, leaving the function in its new location.

Refs #9398.
2020-12-05 16:34:55 -05:00
FX Coudert
f901b57bb5
Merge pull request #9418 from fxcoudert/rosetta2
brew: re-exec under native arch if requested
2020-12-05 19:53:31 +01:00
Sam Ford
28bfa0c93f
GithubLatest: Rework documentation comments 2020-12-05 11:53:50 -05:00
Sam Ford
524272aed0
Livecheck: Rework non-positive PRIORITY handling 2020-12-05 11:49:47 -05:00
Sam Ford
7ef88f1966
Livecheck: Skip URL processing for GithubLatest 2020-12-05 11:44:28 -05:00
Sam Ford
e37da96341
GithubLatest: Align test URL with example 2020-12-05 11:40:08 -05:00
nandahkrishna
d173b57c42
github_latest: modify strategy and tests 2020-12-05 20:37:28 +05:30
nandahkrishna
f96b8e7138
livecheck: add GithubLatest strategy 2020-12-05 20:37:27 +05:30
Markus Reiter
1834a33d08
Merge pull request #9398 from reitermarkus/cask-tap
Ensure default cask tap is installed on `CaskUnavailableError`.
2020-12-05 04:47:21 +01:00
Markus Reiter
9649ef975c Only install default cask tap automatically on macOS. 2020-12-05 03:39:01 +01:00
Markus Reiter
e0aa934219 Ensure default cask tap is installed on CaskUnavailableError. 2020-12-05 03:25:58 +01:00
Steve Peters
7e3e86eb41
Merge pull request #9370 from scpeters/ruby-e_testball_f_path_test
Test for `brew ruby -e 'puts "testball".f.path'`
2020-12-04 13:37:04 -08:00
Rylan Polster
20ee566165
Merge pull request #9411 from Rylan12/remove-tap-list-for-macos
Remove style exceptions for ProvidedByMacos and UsesFromMacos
2020-12-04 16:22:26 -05:00
Steve Peters
f4e42191d0
Add comment about :needs_linux
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-12-04 09:10:58 -08:00
Francois-Xavier Coudert
961f4cc14f brew: re-exec under native arch if requested 2020-12-04 18:03:24 +01:00
Mike McQuaid
284d75afd4
Merge pull request #9160 from claui/apple-m1-cpu-family
Add CPU family for M1, remove Intel Arrandale
2020-12-04 16:47:09 +00:00
Claudia
564e21c382
Update CPU families from current machine.h 2020-12-04 16:21:02 +01:00
Claudia
2a197af076
Add CPU family for Apple’s M1 SoC
According to reports, XNU’s CPU family identifier previously used for
the Westmere family (which Homebrew mislabels as the Arrandale family)
is now being reused for one of Apple’s M1 SoC models.

Resolve the conflict by splitting the list of CPU families and adding a
microarchitecture check.

Sources for the values:

- https://github.com/Homebrew/brew/issues/7857#issuecomment-728739049
- https://en.wikipedia.org/wiki/Comparison_of_ARMv8-A_cores
- Direct messages
2020-12-04 16:20:53 +01:00
Markus Reiter
de1afcbfc5
Merge pull request #9409 from Homebrew/dependabot/bundler/Library/Homebrew/rspec-sorbet-1.8.0
build(deps): bump rspec-sorbet from 1.7.0 to 1.8.0 in /Library/Homebrew
2020-12-04 13:15:24 +01:00
Mike McQuaid
623840a304
workflows/tests: consolidate macOS tests.
We have a limited number of macOS workers (for the Homebrew
organisation) and queuing these seems to be slowing things down overall
compared to when we had one big job.

Linux throughput is still significantly quicker so it makes sense to
split up those jobs for providing quick feedback on breakages that are
cross-platform (which ends up being most but definitely not all of
them).
2020-12-04 10:13:01 +00:00
Mike McQuaid
fc0ab4c0a3
Merge pull request #9414 from hyuraku/add-flag-to-deps-installed
add flags to deps --installed
2020-12-04 09:04:10 +00:00
Steve Peters
7455d53f88
add :needs_linux to brew ruby test 2020-12-03 22:27:02 -08:00
hyuraku
e2ce4ab1b6 add flags to deps --installed 2020-12-04 10:11:17 +09:00
Rylan Polster
cb38fe6e3f
Merge pull request #9413 from Rylan12/pypi-fix
utils/pypi: return nil for non-pypi-packages from url
2020-12-03 17:13:31 -05:00
Rylan Polster
01fb30c0b0
Merge pull request #9412 from Homebrew/revert-9385-add-flag-to-deps-command
Revert "add two flag to deps --installed"
2020-12-03 16:09:45 -05:00
Rylan Polster
22a3025f6e utils/pypi: return nil for non-pypi-packages from url 2020-12-03 15:00:30 -05:00
Mike McQuaid
9298e4959b
Merge pull request #9404 from MikeMcQuaid/zsh-fpath-fixes
Fix ZSH FPATH handling
2020-12-03 19:39:40 +00:00
Mike McQuaid
c23db73e36
Revert "add two flag to deps --installed" 2020-12-03 19:39:32 +00:00
Mike McQuaid
ef06804011
Merge pull request #9385 from hyuraku/add-flag-to-deps-command
add two flag to deps --installed
2020-12-03 19:31:43 +00:00
Rylan Polster
01cf98e526 Remove style exceptions for ProvidedByMacos and UsesFromMacos 2020-12-03 14:30:34 -05:00
BrewTestBot
656481824b Update RBI files for rspec-sorbet. 2020-12-03 17:18:08 +00:00
BrewTestBot
e3fd119252 brew vendor-gems: commit updates. 2020-12-03 17:17:15 +00:00
dependabot[bot]
bc8681bf1f
build(deps): bump rspec-sorbet from 1.7.0 to 1.8.0 in /Library/Homebrew
Bumps [rspec-sorbet](https://github.com/tricycle/rspec-sorbet) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/tricycle/rspec-sorbet/releases)
- [Changelog](https://github.com/tricycle/rspec-sorbet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tricycle/rspec-sorbet/compare/v1.7.0...v1.8.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-03 17:00:30 +00:00
hyuraku
33fccb46ca
add two flag to deps --installed 2020-12-03 16:54:17 +00:00
Mike McQuaid
ac84a4b051
Fix ZSH FPATH handling
Don't require it to be exported but shell out to `zsh` instead.

Fixes https://github.com/Homebrew/brew/issues/9387
2020-12-03 16:52:55 +00:00
Mike McQuaid
5ad949672f
Merge pull request #9407 from MikeMcQuaid/vendored-gems-macos-11
workflows/tests: run vendored gems on macOS 11.
2020-12-03 16:29:43 +00:00
Markus Reiter
27331f71a7
Merge pull request #9400 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.6130
build(deps): bump sorbet from 0.5.6124 to 0.5.6130 in /Library/Homebrew
2020-12-03 17:03:05 +01:00
Mike McQuaid
cb4ed5a8c2
workflows/tests: run vendored gems on macOS 11.
All existing workflows using this seem to be broken.
2020-12-03 15:38:17 +00:00
Mike McQuaid
086ac7f4f7
Merge pull request #9383 from MikeMcQuaid/update-no-shallow
update.sh: refuse to update shallow homebrew-core/cask clones.
2020-12-03 15:28:54 +00:00