12387 Commits

Author SHA1 Message Date
JCount
68878d73ef formula_desc_cop: add 'x86' to VALID_LOWERCASE_WORDS 2017-08-01 11:36:44 -04: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
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`.
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
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
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
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
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
Vítor Galvão
f450178763 Fix style error 2017-07-29 21:54:18 +01:00
Markus Reiter
5fea557da3 Use mktmpdir. 2017-07-29 22:21:41 +02:00
Markus Reiter
b4381ddcaa Cleanup after each Cask. 2017-07-29 21:48:29 +02:00
Markus Reiter
2ad3a87045 Silence all specs by default. 2017-07-29 20:25:37 +02:00
Mike McQuaid
4440afa99a installer_spec: silence test output. 2017-07-29 16:59:32 +01:00
Gautham Goli
e1cb0b43d7 audit: Port dependency rules from line_problems to rubocop and add tests 2017-07-29 16:36:32 +05:30
Mike McQuaid
b8611bd988 formula_installer: simplify callers.
There's a bunch of duplication going on that's not really necessary.
2017-07-28 15:27:47 +01:00
Mike McQuaid
1651647a3d keg: correctly cleanup old aliases.
Cleanup old, versioned aliases and tap aliases folders when unlinking
or uninstalling a keg.
2017-07-28 11:41:12 +01:00
Gautham Goli
0c04b9041a audit: Check for style violations when --new-formula is passed 2017-07-28 05:05:34 +05:30
Markus Reiter
a49d99a2d6 Merge pull request #2949 from reitermarkus/caskroom-messages
Don’t output Caskroom creation messages on non-TTY.
2017-07-27 19:33:01 +02:00
ilovezfs
867590b648 Merge pull request #2954 from ilovezfs/allow-install-mixed-build-dependency-tree
formula_installer: allow version mismatched build deps
2017-07-27 09:18:17 -07:00
ilovezfs
deac8f14bb formula_installer: allow version mismatched build deps
Only check runtime dependencies for version conflicts to avoid
having to create unnecessary duplicate formulae.

For example, a formula that needs to be built with ghc@8.0 should still
be allowed to have a build-time dependency on a cabal-install that was
itself built with ghc@8.2.
2017-07-27 08:34:12 -07:00
Mike McQuaid
baa61f5a6e Use https for all docs.brew.sh links.
May as well use the more secure link when possible.
2017-07-27 15:59:37 +01:00
Mike McQuaid
0b78a7f884 Merge pull request #2951 from bfontaine/s/ruby_platform/rbconfig
OS: use RbConfig instead of RUBY_PLATFORM
2017-07-27 15:31:19 +01:00
Baptiste Fontaine
d6dd63d1a0 OS: use RbConfig instead of RUBY_PLATFORM
`RUBY_PLATFORM` is always `"java"` when running JRuby, no matter what is
the underlying platform.

See also https://github.com/pry/pry/issues/386.
2017-07-26 22:26:30 +02:00
Markus Reiter
d8288eeb3a Don’t output Caskroom creation messages on non-TTY. 2017-07-26 20:30:37 +02:00
Dominyk Tiller
627cf06fb7
pkgconfig: update zlib for 10.13 2017-07-26 02:32:48 +01:00
Dominyk Tiller
afaee7f816
mac/xcode: update expected Clang on 10.13 2017-07-26 02:23:56 +01:00
Misty De Meo
2bd8091ae8 Merge pull request #2804 from mansimarkaur/caveats
Increasing test coverage for caveats.rb
2017-07-25 09:28:46 -07:00
mansimarkaur
ae02b9776a Added tests for python caveats 2017-07-25 21:00:37 +05:30
mansimarkaur
9218d3014d Added tests for plist_caveats 2017-07-25 21:00:26 +05:30
mansimarkaur
5fba0c4776 Added tests for function_completion_caveats 2017-07-25 21:00:04 +05:30
mansimarkaur
a5334b9dca Added tests for keg_only_text 2017-07-25 20:59:46 +05:30
mansimarkaur
6de94839de Adding tests for caveats 2017-07-25 20:58:20 +05:30