17311 Commits

Author SHA1 Message Date
Mike McQuaid
e2cfc2b50f
Merge pull request #7278 from Bo98/libxml2-10.15.4
ENV: don't help include libxml2 on macOS SDK 10.15.4 and later
2020-04-05 16:28:58 +01:00
Mike McQuaid
e1c7d9971f
Merge pull request #7282 from GauthamGoli/argv-cleanup-20
Initialize Homebrew.args with CLI::Args instance
2020-04-05 16:28:36 +01:00
Mike McQuaid
91d506bd01
Merge pull request #7284 from Bo98/gems-path
utils/gems: prioritise Homebrew's chosen Ruby
2020-04-05 16:27:58 +01:00
Bob Wombat Hogg
1a32ba3d2b system_command_spec: Make part of bash error regex optional 2020-04-05 11:05:30 -04:00
Gautham G
96e1d7e1b2 Initialize Homebrew.args with CLI::Args instance
If we initialize it with OpenStruct, then methods defined in CLI::Args
cannot be called and they would always return nil leading to bugs
2020-04-05 20:12:13 +05:30
Bo Anderson
846166c62f utils/gems: prioritise Homebrew's chosen Ruby 2020-04-05 15:38:10 +01:00
Bo Anderson
aac3337c64
Merge pull request #7277 from Bo98/sdkroot-pkgconfig
shims/mac/super/pkg-config: pass and use HOMEBREW_SDKROOT
2020-04-05 15:35:54 +01:00
Bo Anderson
32497bd511 ENV: don't help include libxml2 on macOS SDK 10.15.4 and later 2020-04-05 15:30:39 +01:00
Mike McQuaid
b9fc765e56
Merge pull request #7276 from Bo98/std-pkgconfig
ENV/std: withdraw support for Homebrew supplied *.pc files
2020-04-05 13:10:25 +01:00
Gautham G
602cb7e636 ARGV: Deprecate ARGV.build_formula_from_source? and ARGV.build_from_source? 2020-04-05 16:47:47 +05:30
Bo Anderson
9294bee866 shims/mac/super/pkg-config: pass and use HOMEBREW_SDKROOT
Fixes #5068.
2020-04-04 23:44:29 +01:00
Bo Anderson
fa35916818 ENV/std: withdraw support for Homebrew supplied *.pc files 2020-04-04 15:21:35 +01:00
Mike McQuaid
28a1497c2b
Merge pull request #7271 from Homebrew/dependabot/bundler/Library/Homebrew/parser-2.7.1.0
build: bump parser from 2.7.0.5 to 2.7.1.0 in /Library/Homebrew
2020-04-04 13:33:07 +01:00
Jonathan Chang
2c85f26b0b formula_cellar_checks: skip unless Python libs
This avoids an unusual error message when Python is needed for building
(e.g., code generation) but is not used at runtime.

```
==> brew audit recode --online
Error: 1 problem in 1 formula detected
recode:
  * Packages have been installed for:

    but this formula depends on:
      Python 3.7
```
2020-04-04 15:54:42 +11:00
dependabot-preview[bot]
dfb14bca54
build: bump parser from 2.7.0.5 to 2.7.1.0 in /Library/Homebrew
Bumps [parser](https://github.com/whitequark/parser) from 2.7.0.5 to 2.7.1.0.
- [Release notes](https://github.com/whitequark/parser/releases)
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/whitequark/parser/compare/v2.7.0.5...v2.7.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 20:33:34 +00:00
Mike McQuaid
0859115a24
Merge pull request #7270 from Bo98/xcode
ENV/super: prioritise Xcode if Xcode is a build req
2020-04-03 16:27:50 +01:00
Bo Anderson
cb6128fc7c ENV/super: prioritise Xcode if Xcode is a build req 2020-04-03 15:49:04 +01:00
Mike McQuaid
e94fff8943
Merge pull request #7269 from MikeMcQuaid/rubocop-enable
rubocop.yml: enable non-default checks.
2020-04-03 15:43:40 +01:00
Mike McQuaid
93e323ff5d
Merge pull request #7265 from MikeMcQuaid/git-quiet-again
update: make git rebase quiet on Mojave system Git.
2020-04-03 14:58:18 +01:00
Mike McQuaid
845c71270e
rubocop.yml: enable non-default checks.
Closes https://github.com/Homebrew/brew/pull/7258
2020-04-03 14:54:50 +01:00
Mike McQuaid
37a79498a0
rubocops/urls: whitelist cspice.
As explained in https://github.com/Homebrew/brew/pull/7256#issuecomment-607787949
2020-04-03 13:53:03 +01:00
Mike McQuaid
ddaf467741
rubocops/urls: reorder for quicker scanning. 2020-04-03 13:52:44 +01:00
Bo Anderson
4f85398dea
Merge pull request #7266 from Bo98/xcrun
shims/mac/super/xcrun: set DEVELOPER_DIR less often
2020-04-03 10:43:14 +01:00
Mike McQuaid
69fbfaa1ae
Merge pull request #7261 from Bo98/python-linkage
formula_cellar_checks: check Python site packages
2020-04-03 10:10:30 +01:00
Bo Anderson
1a277de494 shims/mac/super/xcrun: set DEVELOPER_DIR less often 2020-04-03 09:47:24 +01:00
Bo Anderson
a298d7d8fe formula_cellar_checks: check Python site packages 2020-04-03 09:32:01 +01:00
Mike McQuaid
e575915967
brew vendor-gems: commit updates. 2020-04-03 09:02:46 +01:00
Mike McQuaid
79bc4f1136
update: make git rebase quiet on Mojave system Git.
Fix regression from https://github.com/Homebrew/brew/pull/7260.

This code makes me sad.
2020-04-03 08:59:11 +01:00
dependabot-preview[bot]
32487322f7
build: bump tzinfo from 1.2.6 to 1.2.7 in /Library/Homebrew
Bumps [tzinfo](https://github.com/tzinfo/tzinfo) from 1.2.6 to 1.2.7.
- [Release notes](https://github.com/tzinfo/tzinfo/releases)
- [Changelog](https://github.com/tzinfo/tzinfo/blob/master/CHANGES.md)
- [Commits](https://github.com/tzinfo/tzinfo/compare/v1.2.6...v1.2.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-03 07:52:54 +00:00
hyuraku
399caa007c chnage how to extract owner and tag 2020-04-02 23:44:55 +09:00
Mike McQuaid
9da6c9b521
rubocops/urls: stricter binary URL requirements.
Don't rely on x86_64 detection but instead whitelist the few projects
that fun afoul of these regex.
2020-04-02 09:54:14 +01:00
Mike McQuaid
fe5717519c
update: make rebase quiet.
I tested the workaround with the newest Git and the Catalina system Git
and it wasn't needed in either case. We can re-add it if we get
complaints with supported Git versions.

Fixes https://github.com/Homebrew/brew/issues/7259
2020-04-02 09:00:25 +01:00
Mike McQuaid
91223b3011
Merge pull request #7255 from Bo98/xcrun
shims/mac/super/xcrun: use Homebrew's chosen SDK and DEVELOPER_DIR
2020-04-02 08:26:30 +01:00
Bo Anderson
99550ff564 shims/mac/super/xcrun: use Homebrew's chosen SDK and DEVELOPER_DIR
Fixes #7250.
2020-04-01 17:34:30 +01:00
Mike McQuaid
1824435f67
Merge pull request #7254 from Homebrew/revert-7246-pr-pull-commit-author
Revert "bottle: author bottle commit as BrewTestBot"
2020-04-01 17:05:43 +01:00
hyuraku
40871a9782 repair style 2020-04-02 00:32:09 +09:00
Mike McQuaid
c0dca271ef
Merge pull request #7144 from spaceapegames/master
Add headers option to URLs in forumlas
2020-04-01 16:22:35 +01:00
Mike McQuaid
29fd98960c
Revert "bottle: author bottle commit as BrewTestBot" 2020-04-01 16:20:35 +01:00
Dawid Dziurla
fe6cf5767f
Merge pull request #7246 from dawidd6/pr-pull-commit-author
bottle: author bottle commit as BrewTestBot
2020-04-01 17:15:58 +02:00
hyuraku
e89be06447 change how to get tag 2020-04-02 00:13:58 +09:00
Chris Tompkinson
4bfed9cdb0 flatten before compact 2020-04-01 15:46:28 +01:00
Mike McQuaid
7df1dd7797
diagnostic: complain on deprecated/disabled formulae. 2020-04-01 13:43:15 +01:00
Mike McQuaid
c4c0e45aba
brew.rb: warn on deprecated/disabled formula. 2020-04-01 13:43:02 +01:00
Mike McQuaid
3effcc4dff
Tweak formula deprecation/disabling. 2020-04-01 13:42:52 +01:00
Mike McQuaid
4121659413
Merge remote-tracking branch 'origin/master' into deprecate-method-formulae 2020-04-01 13:07:11 +01:00
Mike McQuaid
8d3aa49ae2
Merge pull request #7234 from issyl0/head-builds-arent-officially-supported
When a HEAD build fails, output an instruction to raise PRs not issues
2020-04-01 13:05:20 +01:00
Mike McQuaid
1cbf261c9b
Merge pull request #7252 from dawidd6/github-not-json
github: return output if JSON parsing is not desired
2020-04-01 12:44:22 +01:00
Mike McQuaid
9e86ea536b
Merge pull request #7253 from MikeMcQuaid/rubocop_rspec_include
rubocop_rspec: fix includes.
2020-04-01 12:24:37 +01:00
Dawid Dziurla
e1ce5c852d
github: return output if JSON parsing is not desired 2020-04-01 13:23:54 +02:00
Mike McQuaid
e2b08d47a8
Merge pull request #7251 from Bo98/load_path
load_path: trim entries where possible to fix Ruby crashes
2020-04-01 12:22:09 +01:00