21685 Commits

Author SHA1 Message Date
Mike McQuaid
811df90e67
Merge pull request #10671 from XuehaiPan/bottle-fallback
software_spec: Add HOMEBREW_BOTTLE_DEFAULT_DOMAIN as a fallback option
2021-02-26 11:47:36 +00:00
Bo Anderson
ff662aa47c
Merge pull request #10689 from Bo98/download_strategy-less-chdir
download_strategy: don't chdir unless a block is passed
2021-02-26 11:45:55 +00:00
Bo Anderson
90e32b228e
Merge pull request #10595 from Bo98/ruby-shims
shims/mac/super: add ruby shims to set SDKROOT
2021-02-26 11:45:00 +00:00
XuehaiPan
d2533ff2a6
software_spec: Add HOMEBREW_BOTTLE_DEFAULT_DOMAIN as a fallback option
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-02-26 11:23:33 +00:00
Mike McQuaid
cb72872c83
Merge pull request #10711 from Homebrew/dependabot/bundler/Library/Homebrew/tapioca-0.4.15
build(deps): bump tapioca from 0.4.14 to 0.4.15 in /Library/Homebrew
2021-02-26 11:14:59 +00:00
Mike McQuaid
bde83586ce
Merge pull request #10706 from MikeMcQuaid/bootsnap_tweaks
Improve Bootsnap behaviour
2021-02-26 10:48:38 +00:00
Mike McQuaid
545c568f52
Merge pull request #10693 from MikeMcQuaid/speedup_brew_prefix
Speedup `brew --prefix <formula>`
2021-02-26 10:47:51 +00:00
BrewTestBot
3c58d8f9fb Update RBI files for tapioca. 2021-02-26 06:02:08 +00:00
BrewTestBot
44749950f5 brew vendor-gems: commit updates. 2021-02-26 06:01:16 +00:00
dependabot[bot]
b863809a9d
build(deps): bump tapioca from 0.4.14 to 0.4.15 in /Library/Homebrew
Bumps [tapioca](https://github.com/Shopify/tapioca) from 0.4.14 to 0.4.15.
- [Release notes](https://github.com/Shopify/tapioca/releases)
- [Commits](https://github.com/Shopify/tapioca/compare/v0.4.14...v0.4.15)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-26 05:55:06 +00:00
Bo Anderson
06381deef4
Merge pull request #10686 from Bo98/safe_fork-status
utils/fork: handle termsig in safe_fork
2021-02-26 04:25:54 +00:00
Mike McQuaid
ca47b47f77
Speedup brew --prefix <formula>
This case is _really_ slow even although it's something we encourage
people to run often and build systems often do. The `brew --prefix`
case is really fast because it's just in Bash so: let's pull the
`brew --prefix <formula>` case into Bash too.

This doesn't handle any edge-cases like `--installed` and the formula
detection is pretty simple.

Also, to make this behaviour consistent, never output `Cellar` paths
from the (Ruby) `brew --prefix`; we never want people relying on the
Cellar paths anyway, only output them if the formula wasn't installed
(where, arguably, using a Cellar path is even worse) and the speedup is
worth this deviation in behaviour.
2021-02-25 17:07:28 +00:00
Dustin Rodrigues
a625948b14
Merge pull request #10691 from dtrodrigues/prof-silicon
dev-cmd/prof: prevent from running on Apple Silicon
2021-02-25 11:22:30 -05:00
Mike McQuaid
60876eed88
Improve Bootsnap behaviour
- further refactor nested conditional to make it clearer
- allow running on Linux while still excluding Apple Silicon
- only warn on `bundle install` failures
2021-02-25 15:59:17 +00:00
Bo Anderson
f079373d8c
utils/fork: handle termsig in safe_fork 2021-02-25 13:42:44 +00:00
Mike McQuaid
38be286643
Merge pull request #10704 from Homebrew/revert-10680-bootsnap-developers
Revert "Enable HOMEBREW_BOOTSNAP for developers"
2021-02-25 11:35:41 +00:00
Mike McQuaid
f55b80a9a4
Revert "Enable HOMEBREW_BOOTSNAP for developers" 2021-02-25 11:06:50 +00:00
BrewTestBot
6ebb501e47 Update RBI files for parallel_tests. 2021-02-25 06:03:17 +00:00
BrewTestBot
aeb4a46a7b brew vendor-gems: commit updates. 2021-02-25 06:02:26 +00:00
dependabot[bot]
2265e2d33b
build(deps): bump parallel_tests in /Library/Homebrew
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Changelog](https://github.com/grosser/parallel_tests/blob/master/CHANGELOG.md)
- [Commits](https://github.com/grosser/parallel_tests/compare/v3.4.0...v3.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-25 05:58:46 +00:00
Bo Anderson
b534b4b019
Merge pull request #10698 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2021-02-25 01:33:07 +00:00
Bo Anderson
74f7d2f84f
Merge pull request #10694 from MikeMcQuaid/bootsnap_dev_tools
homebrew_bootsnap: require some developer tools.
2021-02-25 00:51:58 +00:00
BrewTestBot
e85149cbc4 sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2021-02-25 00:47:59 +00:00
Shaun Jackman
c4787a0a8b
pr-upload: Fix a typo affecting Internet Archive 2021-02-24 15:06:06 -08:00
Mike McQuaid
634efba261
homebrew_bootsnap: require some developer tools.
Do a very basic developer tools check to ensure that we can compile
things. We cannot use `DevelopmentTools.installed?` because this has
much higher speed requirements and needs to be run before we `require`
anything else.
2021-02-24 16:49:06 +00:00
Dustin Rodrigues
511fcee1d7
dev-cmd/prof: prevent from running on Apple Silicon 2021-02-24 09:03:50 -05:00
Mike McQuaid
f14ed4987f
Merge pull request #10679 from Bo98/unbottled
dev-cmd/unbottled: various improvements
2021-02-24 13:56:52 +00:00
Mike McQuaid
9349571974
Merge pull request #10681 from MikeMcQuaid/fix_installed_on_request
Fix `installed_on_request` for dependencies.
2021-02-24 13:47:13 +00:00
Mike McQuaid
3a73a7b2d3
Merge pull request #10680 from MikeMcQuaid/bootsnap-developers
Enable HOMEBREW_BOOTSNAP for developers
2021-02-24 13:46:56 +00:00
Bo Anderson
7e75a49b77
shims/mac/super: add ruby shims to set SDKROOT 2021-02-24 12:48:07 +00:00
Shaun Jackman
bd75cfc4e0
Merge pull request #10677 from sjackman/sj/pr-upload
pr-upload: Upload bottles to Archive.org
2021-02-23 19:06:44 -08:00
Jonathan Chang
538b6d1a52
Merge pull request #10678 from jonchang/fix-cask-info
cmd/info: fix `brew info --cask` on Linux
2021-02-24 14:06:40 +11:00
Bo Anderson
03e59f4ec8
download_strategy: don't chdir unless a block is passed 2021-02-24 01:13:10 +00:00
Kenneth Chew
edead95768
utils/spdx: correctly detect non-deprecated licenses with plus 2021-02-23 16:28:24 -05:00
Shaun Jackman
641f134274
Apply Mike's suggestions 2021-02-23 11:31:43 -08:00
Bo Anderson
fb8b247db3
dev-cmd/unbottled: various improvements
* Ignore bottles for older macOS versions
* Ignore disabled formulae
* Ignore formulae which can't build on the chosen macOS
* Improve/fix sort description
2021-02-23 16:27:58 +00:00
Mike McQuaid
2b1f460289
Fix installed_on_request for dependencies.
Dependencies were using `Tab.for_formula(df)` to get a `Tab` which meant
that they were always ending up with the (default) value of `true` for
`installed_on_request`. Fix this by:
- setting `installed_on_request` to `false` by default in empty `Tab`s;
  we always override it on installation so we'd rather have it default
  to `false`
- only read and use a `Tab` for the existing dependency formula if
  there's an existing `Keg`
2021-02-23 10:19:45 +00:00
Mike McQuaid
22fb25d96d
Enable HOMEBREW_BOOTSNAP for developers
- Enable it by default if you've run a developer command or set
  `HOMEBREW_DEVELOPER`.
- Clarify the documentation that there's various configuration in which
  it doesn't work.

I've rolled this out of most of GitHub's developers with no ill effects
and we've enabled it in both CI and for various maintainers so it feels
appropriate to have a bigger rollout.
2021-02-23 09:35:21 +00:00
Seeker
880a82d21a
uninstall: delete references to unused --binaries flag 2021-02-22 19:48:43 -08:00
Jonathan Chang
90db84242f cmd/info: fix brew info --cask on Linux
We should be able to provide info on casks even if installing
casks isn't supported on Linux.
2021-02-23 13:42:38 +11:00
Shaun Jackman
0f2c47dbe3
Add test/archive_spec.rb 2021-02-22 18:07:39 -08:00
Shaun Jackman
3d715ca3f0
archive.rb: Rename dir to directory 2021-02-22 18:06:44 -08:00
Shaun Jackman
c11692ba78
pr-pull: Upload bottles to Archive.org
Add option --archive-item
2021-02-22 17:57:10 -08:00
Shaun Jackman
b0bd15fb41
pr-upload: Upload bottles to Archive.org
--archive-item specifies the item identifier.
HOMEBREW_ARCHIVE_KEY=access:secret specifies the S3 key.
2021-02-22 17:21:43 -08:00
Issy Long
e143dfdad6
Merge pull request #10658 from issyl0/rubocop-enable-rspec-context-wording
rubocop: Enable RSpec/ContextWording cop & fix offenses
2021-02-23 00:14:02 +00:00
Issy Long
7a0effdf6f
Merge pull request #10659 from issyl0/fix-mismatched-test-descriptions
test/rubocops: Fix mismatched test descriptions
2021-02-23 00:13:58 +00:00
Issy Long
8dfaad9ac2
Merge pull request #10665 from issyl0/rubocop-enable-rspec-repeated-example-group-description
rubocop: Enable RSpec/RepeatedExampleGroupDescription cop & fix offenses
2021-02-23 00:13:54 +00:00
Dustin Rodrigues
b1bde5f5ba
Merge pull request #10655 from dtrodrigues/no-no-user
python: stop passing no-user flag on installation
2021-02-22 16:05:38 -05:00
Dustin Rodrigues
52e1fadb70
Merge pull request #10654 from dtrodrigues/update-plural
update-report: use appropriate pronoun in update message
2021-02-22 13:06:16 -05:00
Bo Anderson
85eb346fb7 download_strategy: fix nounzip strategy ignoring block 2021-02-22 13:48:19 +00:00