Bo Anderson
e60f071c50
ENV/super: refactor SDK root selection
2020-04-07 17:22:16 +01:00
Bo Anderson
1fe0212ff2
os/mac: add sdk_root_needed? and sdk_for_formula
2020-04-07 17:22:13 +01:00
Bo Anderson
bb33a59c7b
os/mac/sdk: add SDK source attribute
2020-04-07 16:43:32 +01:00
Mike McQuaid
6e3a293ed2
Merge pull request #7300 from bayandin/patch-1
...
Library/Homebrew/rubocops/uses_from_macos: add ssh-copy-id
2020-04-07 16:27:06 +01:00
Mike McQuaid
e5995ef4f5
Merge pull request #7299 from EricFromCanada/bump-formula-pr-envconfig
...
bump-formula-pr: use Homebrew::EnvConfig
2020-04-07 16:26:36 +01:00
EricFromCanada
634e30994e
bump-formula-pr: use Homebrew::EnvConfig
2020-04-07 10:25:43 -04:00
Alexander Bayandin
1b18a01779
Library/Homebrew/rubocops/uses_from_macos: add ssh-copy-id
2020-04-07 15:04:23 +01:00
Mike McQuaid
bd082011c2
Merge pull request #7280 from issyl0/audit-uses-from-macos
...
audit: Check if `uses_from_macos` usage is correct
2020-04-07 12:47:30 +01:00
Mike McQuaid
4dd70048d6
rubocops/uses_from_macos: tweak whitelist.
2020-04-07 12:16:17 +01:00
Mike McQuaid
0c78d65b3c
Merge pull request #7275 from MikeMcQuaid/github_token
...
Set HOMEBREW_GITHUB_API_TOKEN from GITHUB_TOKEN.
2020-04-07 11:14:31 +01:00
Mike McQuaid
147bca8ddd
Merge pull request #7298 from MikeMcQuaid/remove-old-pkgconfig
...
Remove old pkgconfig files.
2020-04-07 10:51:10 +01:00
Mike McQuaid
64fdf02f07
Merge pull request #7297 from Bo98/pc
...
os/mac/pkgconfig: supply default homebrew_sdkroot
2020-04-07 10:44:58 +01:00
Mike McQuaid
4e07d7b9f4
Set HOMEBREW_GITHUB_API_TOKEN from GITHUB_TOKEN.
...
If `HOMEBREW_GITHUB_API_TOKEN` is not set and `GITHUB_TOKEN` is: let's
use it. `GITHUB_TOKEN` is a somewhat standard env var to set for
GitHub authentication tokens (e.g. used by `hub`).
2020-04-07 10:37:58 +01:00
Mike McQuaid
e12da9491d
Merge pull request #7285 from MikeMcQuaid/env_consolidation
...
Homebrew::EnvConfig: unify environment variables.
2020-04-07 10:35:36 +01:00
Mike McQuaid
6cfd8065fc
Remove old pkgconfig files.
...
Homebrew no longer runs on these macOS versions.
2020-04-07 10:17:50 +01:00
Bo Anderson
56dc568fef
os/mac/pkgconfig: supply default homebrew_sdkroot
2020-04-07 10:14:38 +01:00
Mike McQuaid
33816131a8
Homebrew::EnvConfig: add tests.
2020-04-07 10:00:32 +01:00
Mike McQuaid
ad75e40ce7
man: generate from Homebrew::EnvConfig.
2020-04-07 09:58:26 +01:00
Mike McQuaid
3381cbf5c7
Use Homebrew::EnvConfig.
2020-04-07 09:58:26 +01:00
Mike McQuaid
fb0052068f
env_config: unify environment variables.
...
cli/parser but for environment variables. This makes it easier to set,
check, document and set defaults for environment variables in a single
location that can be used for query and documentation generation.
2020-04-07 09:42:18 +01:00
Mike McQuaid
fca9b4aeb2
Merge pull request #7286 from vladimyr/cask-mdimport
...
Add `mdimporter` stanza to homebrew cask DSL
2020-04-06 19:24:23 +01:00
Dario Vladovic
d12784533b
Update options spec
2020-04-06 15:24:15 +02:00
Dario Vladovic
3a21ca8956
Implement mdimporter
cask stanza
2020-04-06 15:24:14 +02:00
Issy Long
857393ccfb
Audit correct uses_from_macos
usage with RuboCop
...
- This builds on @jonchang's work that started in #6265 .
- We now use `uses_from_macos` to declare dependencies that are implicit
on macOS because they ship with macOS, but they're needed on Linux. We
have to be sure that the dependencies people specify as
`uses_from_macos` are actually shipped with macOS. So, we maintain a
safelist of those dependencies and check against it.
- Also add more legitimate `uses_from_macos` dependencies to the list.
- This is runnable with `brew audit --only-cops=FormulaAudit/UsesFromMacos`.
- It produces different number of failures on macOS vs. Linux, because
apparently we've not synced Homebrew/linuxbrew-core upstream thoroughly
enough yet.
- Originally this was designed as a `--strict` audit, but we flipped it
to be a normal audit because - to quote Mike - this is "sufficiently
robust" now.
2020-04-06 13:42:27 +01:00
Dawid Dziurla
842d92a6c5
Merge pull request #7293 from dawidd6/unlink-lock-file
...
download_strategy: unlink the lock file after unlocking it
2020-04-06 10:29:25 +02:00
Dawid Dziurla
37dcbbaf65
download_strategy: unlink the lock file after unlocking it
2020-04-06 09:56:56 +02:00
Bo Anderson
8fe74f9b67
Merge pull request #7291 from Bo98/pkg-config-10.13
...
shims/mac/super/pkg-config: fix macOS <=10.13 compatibility
2020-04-05 22:43:55 +01:00
Bo Anderson
692b3e5a7b
shims/mac/super/pkg-config: fix macOS <=10.13 compatibility
...
Fixes #7290 .
2020-04-05 22:11:31 +01:00
Gautham Goli
64fd839c95
Merge pull request #7289 from Homebrew/revert-7279-argv-cleanup-18
...
Revert "ARGV: Deprecate ARGV.build_formula_from_source? and ARGV.build_from_source?"
2020-04-05 23:19:21 +05:30
Gautham Goli
ad7e1d48a5
Revert "ARGV: Deprecate ARGV.build_formula_from_source? and ARGV.build_from_source?"
2020-04-05 23:01:57 +05:30
Mike McQuaid
6f50801b37
Merge pull request #7287 from rwhogg/system_command_spec-more-specific-error-message
...
system_command_spec: Make part of bash error regex optional
2020-04-05 16:39:44 +01:00
Mike McQuaid
2573bf0461
Merge pull request #7288 from Moisan/pr_pull_zsh_completions
...
completions/zsh: add 'pr-pull' options
2020-04-05 16:39:14 +01:00
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
Thierry Moisan
0a95b18044
completions/zsh: add 'pr-pull' options
2020-04-05 11:20:24 -04: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
Mike McQuaid
aea4c8a745
Merge pull request #7279 from GauthamGoli/argv-cleanup-18
...
ARGV: Deprecate ARGV.build_formula_from_source? and ARGV.build_from_source?
2020-04-05 13:06:45 +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
Bo Anderson
24adf6af47
Merge pull request #7273 from jonchang/python-cellar-build-deps
...
formula_cellar_checks: skip unless Python libs
2020-04-04 11:21:56 +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