14765 Commits

Author SHA1 Message Date
Markus Reiter
67327c75b5 Implement conflicts_with :cask. 2017-08-05 16:19:50 +02:00
Mike McQuaid
ae0b7cb824 Merge pull request #2991 from javian/additionalphpignores
audit: add additional php header ignore patterns
2017-08-05 15:16:05 +01:00
Markus Reiter
42cfb6d238 Merge pull request #2999 from mistydemeo/tap_each_enum
Tap.each: return an enumerable when no block given
2017-08-04 16:14:06 +02:00
Markus Reiter
77fb123139 Merge pull request #3000 from reitermarkus/remove-checkurl
Remove `brew cask _checkurl`.
2017-08-04 16:13:23 +02:00
Markus Reiter
12d4226bfc Remove _checkurl. 2017-08-04 15:39:32 +02:00
Misty De Meo
1c3ece12b9 Tap.each: return an enumerable when no block given 2017-08-03 17:23:16 -07:00
Andrew Yates
365c55573b Moving /usr/lib/pkg-config to be first
Ensuring old functionality still happens and /usr/lib/pkg-config is the first location found in macOS.
2017-08-03 17:22:18 +01:00
ilovezfs
1cae6dd677 Merge pull request #2997 from ilovezfs/non-libraries
formula_cellar_checks: check_non_libraries only for new formulae
2017-08-03 05:48:15 -07:00
ilovezfs
ee6b0e7c9b formula_cellar_checks: check_non_libraries only for new formulae
This check is overly opinionated and leads to audit failures no one
cares to fix, so let's only run it for new formulae.
2017-08-03 05:21:36 -07:00
Andrew Yates
19cfcc34ef Adding in "/usr/lib/pkg-config"
Moving "/usr/lib/pkg-config" into the pkg-path path
2017-08-03 10:46:12 +01:00
Andrew Yates
980db9d3fb Remove errant pkg-config libdir
We found an issue in Linuxbrew/homebrew-core#3366 where the addition of "/usr/lib/pkg-config" causes compilation issues if system pkg-config files are in that directory on Linux. Removing the line from here and adding it into the mac superenv.
2017-08-03 10:44:56 +01:00
Jan Viljanen
85da376233 audit: add additional php header ignore patterns 2017-08-03 06:13:15 +02:00
JCount
2ad03b8eb3 Merge pull request #2990 from JCount/formula_desc_cop-x86
formula_desc_cop: add 'x86' to VALID_LOWERCASE_WORDS
2017-08-01 13:43:18 -04:00
JCount
68878d73ef formula_desc_cop: add 'x86' to VALID_LOWERCASE_WORDS 2017-08-01 11:36:44 -04:00
Mike McQuaid
877c911025 Merge pull request #2963 from cclauss/patch-2
Put the five executables in a list
2017-08-01 11:40:02 +01:00
Mike McQuaid
f4983ab16b Merge pull request #2975 from GauthamGoli/audit_urls_rubocop_strict
audit: Port audit_urls strict rules to rubocop, add tests, autocorrect
2017-08-01 11:39:01 +01:00
Mike McQuaid
43d68b6dda Merge pull request #2980 from GauthamGoli/audit_style_check_bug_fix
audit: fix bug where `brew audit foo` runs every style check.
2017-08-01 11:36:18 +01:00
Mike McQuaid
c3c3575b70 Merge pull request #2964 from GauthamGoli/audit_line_rubocop_part_1
audit: Port dependency rules from line_problems to rubocop and add tests
2017-08-01 11:29:26 +01:00
Mike McQuaid
4788e0a98e Merge pull request #2989 from rwhogg/update-emacs-tap-reference
docs/brew-tap.md: Reference dunn's Emacs tap
2017-08-01 09:48:45 +01:00
Mike McQuaid
900a5dffe9 Merge pull request #2988 from rwhogg/defunct-repo-name
formula: Remove reference to Homebrew/Homebrew
2017-08-01 09:47:53 +01:00
Bob W. Hogg
e24ed5758c docs/brew-tap.md: Reference dunn's Emacs tap
edavis' repo currently points to homebrew/emacs,
which has since been moved to dunn/emacs.

Signed-off-by: Bob W. Hogg <rwhogg@linux.com>
2017-07-31 19:31:54 -07:00
Bob W. Hogg
732e0aa689 formula: Remove reference to Homebrew/Homebrew
That repo is now defunct. Reference homebrew-core instead.

Signed-off-by: Bob W. Hogg <rwhogg@linux.com>
2017-07-31 19:24:33 -07:00
Markus Reiter
05e9086355 Merge pull request #2978 from reitermarkus/simplify-dsl
Simplify `assert_only_one_stanza_allowed`.
1.3.0
2017-07-31 16:44:12 +02:00
Mike McQuaid
af463a0535 formula_installer: never build dependency bottles.
This also helpfully avoids always building all dependencies from source
when passing `--build-bottle` or forcing all bottles when passing
`--force-bottle`.
2017-07-31 10:36:10 +01:00
Mike McQuaid
2aa56748c4 Merge pull request #2983 from MikeMcQuaid/tweak-preserve-link-on-upgrade-reinstall
Tweak preserve link status on reinstall/upgrade.
2017-07-30 22:18:41 +01:00
Mike McQuaid
044f4d947b Tweak preserve link status on reinstall/upgrade.
Treat a `brew install` command as normal i.e. link by default unless
keg-only and only specify whether a keg should be linked when upgrading
or reinstalling. Also, adjust the naming accordingly so it's more
obvious that this is the case.
2017-07-30 21:44:43 +01:00
Mike McQuaid
9d55446cd0 formula_installer: fix typo. 2017-07-30 20:04:41 +01:00
Mike McQuaid
ecfcf3500d Merge pull request #2979 from MikeMcQuaid/travis-fast-finish
travis: fast finish builds.
2017-07-30 18:43:40 +01:00
Mike McQuaid
e1fd69de42 Merge pull request #2961 from MikeMcQuaid/preserve-link-on-upgrade-reinstall
Preserve link status on reinstall/upgrade.
2017-07-30 18:42:06 +01:00
Mike McQuaid
e755505c70 Merge pull request #2969 from MikeMcQuaid/default-formula-bottles
formula_installer: use default_formula for bottles
2017-07-30 18:41:10 +01:00
Markus Reiter
ae9d36b2dd Merge pull request #2981 from reitermarkus/fix-trash
Fix trash script.
2017-07-30 19:18:11 +02:00
cclauss
132d696d3b Reworded 2017-07-30 19:15:46 +02:00
Markus Reiter
0d1162d821 Make zap recognize --force. 2017-07-30 18:51:05 +02:00
Markus Reiter
8779784d70 Fix trash script. 2017-07-30 18:44:53 +02:00
Gautham Goli
5e8e705b50 audit: fix bug where brew audit foo runs every style check. 2017-07-30 22:03:43 +05:30
Markus Reiter
8d7ab78a75 Simplify assert_only_one_stanza_allowed. 2017-07-30 18:06:59 +02:00
Mike McQuaid
7ea1841f5e travis: fast finish builds.
Show failing Linux builds (which run much more quickly) before the macOS
build has completed.

https://docs.travis-ci.com/user/customizing-the-build/#Fast-Finishing
2017-07-30 17:00:28 +01:00
Mike McQuaid
a83baba8b5 formula_installer: use default_formula for bottles
This was the original, intended functionality before this was broken
in fe117bf79b244c42b7e4049d353c3c003eae4880.

Fixes https://github.com/Homebrew/homebrew-core/issues/13680.
2017-07-30 16:56:24 +01:00
Mike McQuaid
896f41f7ed Merge pull request #2899 from MikeMcQuaid/enable-deprecations
Enable more deprecations.
2017-07-30 16:32:34 +01:00
Mike McQuaid
7ec0505200 Preserve link status on reinstall/upgrade.
This means if a user has manually `brew unlink` or `brew link --force`d
something then that status will be preserved after they `brew upgrade`
or `brew reinstall` that formula.

This generally should make things that are keg-only by default easier
to swallow.
2017-07-30 16:20:32 +01:00
Mike McQuaid
05956781a2 Merge pull request #2973 from DomT4/keg_only_additions
formula_support: add provided_pre_high_sierra keg_only
2017-07-30 16:16:51 +01:00
Mike McQuaid
b3a96af069 Merge pull request #2959 from MikeMcQuaid/formula-installer-duplication
formula_installer: simplify callers.
2017-07-30 16:03:01 +01:00
Mike McQuaid
e8c4989efb Merge pull request #2923 from MikeMcQuaid/alias-fixes
keg: correctly cleanup old aliases.
2017-07-30 16:02:49 +01:00
Mike McQuaid
3821132f9e Merge pull request #2898 from MikeMcQuaid/sandbox-all-taps
sandbox: sandbox all taps by default.
2017-07-30 16:02:36 +01:00
Markus Reiter
6d6ce7cf0a Detect Tap in CaskLoader. 2017-07-30 14:22:05 +02:00
Gautham Goli
c575f34d5f audit: Port audit_urls strict rules to rubocop, add tests and autocorrect 2017-07-30 12:59:37 +05:30
Dominyk Tiller
0a10ca61dc
formula_support: add provided_pre_high_sierra keg_only 2017-07-30 00:21:33 +01:00
Markus Reiter
627b1dae70 Merge pull request #2972 from reitermarkus/plist_path
Use `mktmpdir`.
2017-07-30 00:34:59 +02:00
Markus Reiter
49e12b5b53 Merge pull request #2971 from reitermarkus/cleanup-audit-modified-casks
Cleanup after each Cask.
2017-07-30 00:22:44 +02:00
Vítor Galvão
f450178763 Fix style error 2017-07-29 21:54:18 +01:00