27376 Commits

Author SHA1 Message Date
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
Bo Anderson
9b94234866
Merge pull request #10685 from kthchew/licenses-with-plus
utils/spdx: correctly detect non-deprecated licenses with plus
2021-02-24 00:29:30 +00:00
Kenneth Chew
edead95768
utils/spdx: correctly detect non-deprecated licenses with plus 2021-02-23 16:28:24 -05:00
Shaun Jackman
be11a22d97
Update man pages 2021-02-23 11:31:53 -08: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
3efab3efa7
Merge pull request #10421 from SeekingMeaning/uninstall-cask-binaries
uninstall: delete references to unused `--binaries` flag
2021-02-23 14:10:28 +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
Dustin Rodrigues
787e6cb75f
Merge pull request #10667 from dtrodrigues/pr-man 2021-02-22 20:58:42 -05:00
Shaun Jackman
7fd6d2166b
Update man pages 2021-02-22 17:58:13 -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
2794641a28
Update man pages 2021-02-22 17:24:05 -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
nandahkrishna
88127eee4b
Automate updation of maintainers in README 2021-02-23 02:18:53 +05:30
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
Mike McQuaid
b712bcc01e
Merge pull request #10670 from Bo98/nounzip-stage-fix
download_strategy: fix nounzip strategy ignoring block
3.0.2
2021-02-22 14:17:45 +00:00
Bo Anderson
a04c1c83d5
Merge pull request #10669 from Homebrew/dependabot/github_actions/reitermarkus/rerun-workflow-64cba9e834916060e77b7dad424d086837fdd0a6
build(deps): bump reitermarkus/rerun-workflow from e2647e8885422412d5acbd61f9add5b1e77ad3ab to 1.1.6
2021-02-22 13:58:41 +00:00
Bo Anderson
da4aa54116
Merge pull request #10668 from Homebrew/dependabot/bundler/docs/html-proofer-3.18.6
build(deps-dev): bump html-proofer from 3.18.5 to 3.18.6 in /docs
2021-02-22 13:57:11 +00:00
Bo Anderson
85eb346fb7 download_strategy: fix nounzip strategy ignoring block 2021-02-22 13:48:19 +00:00
dependabot[bot]
55208416cc
build(deps): bump reitermarkus/rerun-workflow
Bumps [reitermarkus/rerun-workflow](https://github.com/reitermarkus/rerun-workflow) from e2647e8885422412d5acbd61f9add5b1e77ad3ab to 1.1.6. This release includes the previously tagged commit.
- [Release notes](https://github.com/reitermarkus/rerun-workflow/releases)
- [Commits](e2647e8885...64cba9e834)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 06:55:14 +00:00
dependabot[bot]
b280741ae1
build(deps-dev): bump html-proofer from 3.18.5 to 3.18.6 in /docs
Bumps [html-proofer](https://github.com/gjtorikian/html-proofer) from 3.18.5 to 3.18.6.
- [Release notes](https://github.com/gjtorikian/html-proofer/releases)
- [Commits](https://github.com/gjtorikian/html-proofer/compare/v3.18.5...v3.18.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 05:34:06 +00:00
Dustin Rodrigues
315c905ccd
tests.yml: remove 'brew man --fail-if-changed' in PR tests 2021-02-21 14:16:31 -05:00
Dustin Rodrigues
5ee7949c79
PR template: remove local 'brew man' step now that it's scheduled 2021-02-21 13:51:08 -05:00
Issy Long
ead84825a6
test: Fix all RSpec/RepeatedExampleGroupDescription offenses 2021-02-21 14:06:24 +00:00
Issy Long
80be2007b7
rubocop_rspec: Enable RSpec/RepeatedExampleGroupDescription cop 2021-02-21 13:42:14 +00:00
Issy Long
5793be5b86
test: Change more contexts to describes for better sentences
- We could have added "to" to the `RSpec/ContextWording` list of valid
  `context` prefixes, but switching these to `describe` is less special.
2021-02-21 13:31:26 +00:00
Nanda H Krishna
cdaf5cca16
Merge pull request #10650 from nandahkrishna/automate-brew-man
Add workflow to automate manpage updates
2021-02-20 20:46:07 +05:30
Issy Long
dfebf71e26
test/livecheck/skip_conditions_spec: Even better context wording
Co-authored-by: Nanda H. Krishna <nanda.harishankar@gmail.com>
2021-02-20 13:22:47 +00:00
Issy Long
38a427bf0d
test/option_declaration_spec: Align test description with contents 2021-02-20 00:04:05 +00:00
Issy Long
f194b5e983
test/bottle_format_spec: Align test description with contents 2021-02-20 00:03:47 +00:00
Issy Long
83ead25229
rubocop: Disable RSpec/ContextWording for shared_context descs
- I couldn't figure out a way to start these with "when", "with" or
  "without" given where these are in cop descriptions. Three ignored
  things out of 150 problems is a good ratio though.
2021-02-19 23:31:17 +00:00
Issy Long
e1ad07190e
rubocop: Fix RSpec/ContextWording offenses
- For some of these I changed `context` to `describe` as it fit better
  rather than contriving a "when", "with" or "without", or massively
  restructuring the tests.
2021-02-19 23:30:41 +00:00
Issy Long
103f4a8334
rubocop_rspec: Enable RSpec/ContextWording cop 2021-02-19 23:14:34 +00:00