20710 Commits

Author SHA1 Message Date
Issy Long
9f80a7bce2
rubocops/patches: Make more GitHub patch locations enforce revisions
- We recently deleted a load of old Homebrew/formula-patches patches for
  non-existent core formulae
  (https://github.com/Homebrew/formula-patches/pull/283). This is a good
  action to take. Users should always be able to retrieve the patch once
  it's been deleted from the repo, if the formula they continue to use
  specifies a git revision to pull from, not just `master`.
- The code to detect `master` formulae was already here, so this adds
  another GitHub host to the detection: `raw.githubusercontent.com` as
  that's what the current patches that use `master`
  (https://github.com/Homebrew/homebrew-core/pull/51329) link to.
- Fixes https://github.com/Homebrew/homebrew-core/issues/51313.
2020-03-08 20:21:43 +00:00
Bo Anderson
1f29f70929 os/mac: prefer CLT SDK over Xcode 2020-03-08 20:09:06 +00:00
Bo Anderson
20d9f436ca os/mac/sdk: prioritise SDK matching OS version 2020-03-08 20:08:33 +00:00
Mike McQuaid
19050bd738
Merge pull request #6974 from athas/cabal-v2
formula: add std_cabal_v2_args
2020-03-07 13:27:02 +00:00
Troels Henriksen
76afad82be formula: add std_cabal_v2_args 2020-03-06 15:35:30 +01:00
Mike McQuaid
78140cef4a
Merge pull request #7073 from alexreg/issue-7068
audit: ignore group write bit
2020-03-06 14:08:45 +00:00
Michka Popoff
d3459161de
Merge pull request #7128 from bayandin/patch-1
rewrite_python_shebang: move loop invariants out of loop
2020-03-06 07:23:24 +01:00
Alexander Bayandin
9bab086967 rewrite_python_shebang: move loop invariants out of loop 2020-03-05 23:20:16 +00:00
Alexander Regueiro
68047abc0e audit: ignore group write bit 2020-03-05 23:01:41 +00:00
Markus Reiter
97b7099ef2
Merge pull request #7127 from EricFromCanada/cask-update-check
update: highlight currently-installed casks
2020-03-05 18:45:36 +01:00
EricFromCanada
b75b39097d update: highlight currently-installed casks 2020-03-05 11:26:55 -05:00
Mike McQuaid
d5a785374e
Merge pull request #7126 from MikeMcQuaid/rubocop-line-length
rubocop.yml: reduce Max LineLength.
2020-03-05 13:33:53 +00:00
Mike McQuaid
c7c9f83ff6
rubocop.yml: reduce Max LineLength.
Fixed the formulae in homebrew/core. Slowly but surely...
2020-03-05 12:22:40 +00:00
Mike McQuaid
67d7697165
Merge pull request #7120 from MikeMcQuaid/args-tweaks
cli/parser: add and use more helpers.
2020-03-05 12:21:24 +00:00
Mike McQuaid
e3ac94fc5d
dev-cmd: use more and cleanup new args APIs. 2020-03-05 09:40:15 +00:00
Mike McQuaid
a7fe0ed847
cmd: use more and cleanup new args APIs. 2020-03-05 09:40:15 +00:00
Mike McQuaid
42477a1aaa
Merge pull request #7125 from Bo98/make-regex
extend/string: match multiline make variables
2020-03-05 09:29:52 +00:00
Mike McQuaid
677e6c972a
Merge pull request #7123 from dawidd6/resource-build-and-test
dependency_collector: make resource dep available at test-time too
2020-03-05 09:29:17 +00:00
Mike McQuaid
ad32d387e9
exceptions: fix case for UsageError subclasses. 2020-03-05 09:25:14 +00:00
Mike McQuaid
495daf0aee
extend/ARGV: remove/private unused methods. 2020-03-05 09:25:14 +00:00
Mike McQuaid
66155ea370
cli/parser: add named/min_named helpers. 2020-03-05 09:25:14 +00:00
Bo Anderson
d0896d641a extend/string: match multiline make variables 2020-03-05 04:11:35 +00:00
Dawid Dziurla
59ce122e90
dependency_collector: make resource dep available at test-time too
There are formulae that use resource blocks for stuff that is needed in
test blocks. If a resource is a `.zip` archive, one needs `unzip`
utility in `PATH` to extract it, but its only available at build-time,
so one observes an error like that for example:

```
==> brew test psftools --verbose
Testing psftools
==> Downloading https://www.zone38.net/font/pc8x8.zip
Already downloaded: /github/home/.cache/Homebrew/downloads/ea5f6a485687368ff5bc99e4cc43a49b06e081baa51a97ee6ddcd8d1b82d7963--pc8x8.zip
==> Verifying ea5f6a485687368ff5bc99e4cc43a49b06e081baa51a97ee6ddcd8d1b82d7963--pc8x8.zip checksum
unzip -o /github/home/.cache/Homebrew/downloads/ea5f6a485687368ff5bc99e4cc43a49b06e081baa51a97ee6ddcd8d1b82d7963--pc8x8.zip -d /tmp/d20200304-21389-ui0wr0
Error: psftools: failed
undefined method `shelljoin' for nil:NilClass
```

Of course this issue affects Linux the most, because of higher
probability that the system lacks `unzip` for example.

With this commit, all resource guessed dependencies should be available
at build and test time.
2020-03-04 22:49:54 +01:00
Shaun Jackman
01d5e53120
Merge pull request #7122 from sjackman/docs-linux
docs/Homebrew-on-Linux.md: Use the bash installer
2020-03-04 13:40:59 -08:00
Shaun Jackman
d6a8ff752f docs/Homebrew-on-Linux.md: Use the bash installer 2020-03-04 12:17:33 -08:00
Mike McQuaid
f13b0513ea
cli/parser: avoid using remaining. 2020-03-04 17:27:01 +00:00
Mike McQuaid
4d9e117430
args: avoid using remaining. 2020-03-04 17:26:38 +00:00
Mike McQuaid
2bf990bb29
cli/args: add no_named? helper. 2020-03-04 17:26:15 +00:00
Mike McQuaid
eb5c882b7d
Merge pull request #7119 from PtrTeixeira/python-virtualenv-install
python: Use literal "python" for virtualenv path
2.2.9
2020-03-04 16:48:36 +00:00
Mike McQuaid
9c1d564716
Merge pull request #7118 from MikeMcQuaid/actions-cleanup
workflows/tests: cleanup actions.
2020-03-04 15:17:56 +00:00
Peter Teixeira
7ccec0cdf0 Use literal "python" 2020-03-04 10:13:32 -05:00
Mike McQuaid
1a296e4302
workflows/tests: cleanup actions.
Tweak GitHub Actions code to be more consistent.
2020-03-04 14:47:51 +00:00
Mike McQuaid
46a56d0462
Merge pull request #7117 from MikeMcQuaid/uninstall-handle-more-exceptions
keg: handle more exceptions on uninstall.
2020-03-04 14:36:11 +00:00
Mike McQuaid
98935fd777
Merge pull request #7116 from Bo98/python
python: Fix error in virtualenv_install_with_resources
2020-03-04 14:35:48 +00:00
Mike McQuaid
b4b17fa892
keg: handle more exceptions on uninstall.
Fixes https://github.com/Homebrew/brew/issues/7110
2020-03-04 14:17:08 +00:00
Bo Anderson
f9481d4d35 python: Fix error in virtualenv_install_with_resources
Fixes #7115.
2020-03-04 14:13:41 +00:00
Mike McQuaid
c42d43c824
Merge pull request #7094 from vidusheeamoli/search-add-formulae-flag
search: add separate flag for formulae
2020-03-04 13:38:50 +00:00
Mike McQuaid
6ead927500
cmd/search: tweak documentation text. 2020-03-04 13:14:39 +00:00
Mike McQuaid
35ae54494b
Merge pull request #7103 from iida-hayato/master
change `export PATH` to `add-path` for github actions
2020-03-04 12:59:56 +00:00
vidusheeamoli
67d012afcc search: add separate flag for formulae 2020-03-04 17:58:19 +05:30
Mike McQuaid
2b838713a2
Merge pull request #7112 from Homebrew/dependabot/bundler/Library/Homebrew/zeitwerk-2.3.0
build: bump zeitwerk from 2.2.2 to 2.3.0 in /Library/Homebrew
2020-03-04 11:47:53 +00:00
Mike McQuaid
0d7100e686
Merge pull request #7105 from EricFromCanada/json-requirements
API: supply additional data for requirements
2020-03-04 11:47:10 +00:00
Mike McQuaid
89fd3cc234
Merge pull request #7109 from CodeMonk/pkg_version_fix
Fix for when version is nil
2.2.8
2020-03-04 11:46:05 +00:00
Mike McQuaid
2f141c771a
workflows/tests: add missing newline. 2020-03-04 11:38:02 +00:00
Mike McQuaid
9667d45f10
workflows/tests: tweak PATH setup. 2020-03-04 11:37:23 +00:00
Mike McQuaid
57fd98ec4f
pkg_version: tweak variable naming. 2020-03-04 11:28:28 +00:00
Mike McQuaid
ee9ea66893
brew vendor-gems: commit updates. 2020-03-04 11:24:32 +00:00
dependabot-preview[bot]
9ce448b369
build: bump zeitwerk from 2.2.2 to 2.3.0 in /Library/Homebrew
Bumps [zeitwerk](https://github.com/fxn/zeitwerk) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/fxn/zeitwerk/releases)
- [Changelog](https://github.com/fxn/zeitwerk/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fxn/zeitwerk/compare/v2.2.2...v2.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-04 11:22:03 +00:00
Mike McQuaid
f6631d6449
Merge pull request #7019 from iMichka/python2doc
brew: remove most traces of python@2
2020-03-04 11:21:07 +00:00
Mike McQuaid
c421141453
Merge pull request #7111 from Homebrew/dependabot/bundler/docs/zeitwerk-2.3.0
build: bump zeitwerk from 2.2.2 to 2.3.0 in /docs
2020-03-04 11:20:38 +00:00