14069 Commits

Author SHA1 Message Date
Shaun Jackman
d70d91cf2a test/utils/svn: Requires svn to succeed 2018-02-15 13:50:09 -08:00
Maxim Belkin
30d468978f
Unifying Linux/Mac logic that sets HOMEBREW_CURL 2018-02-15 13:26:17 -06:00
Maxim Belkin
e47c364c55
Don't set HOMEBREW_MACOS_VERSION on non-mac systems 2018-02-15 13:09:47 -06:00
Maxim Belkin
e5f4160d3e
brew.sh: changes from Linuxbrew (Linux fork)
These fixes do two things:

- set HOMEBREW_MACOS_VERSION to 0 on non-HOMEBREW_MACOS machines
- set HOMEBREW_CURL to Homebrew'd curl
2018-02-15 11:43:20 -06:00
Markus Reiter
988e805448
Merge pull request #3801 from reitermarkus/ignore-metadata-deprecations
Make sure `.metadata` shows up in Cask backtrace.
2018-02-15 09:07:44 +01:00
ilovezfs
88b1e92236 formula_installer: also run audit_installed for keg_only formulae 2018-02-14 04:53:57 -08:00
commitay
b864ae7b40 backing up 2018-02-14 07:57:04 +10:00
commitay
e078becf4f cask move_back: copy / delete 2018-02-14 07:39:44 +10:00
Markus Reiter
2a41f1359e
Merge pull request #3803 from reitermarkus/cask-installer
Add Homebrew’s `bin` to PATH for Cask installers.
2018-02-13 19:18:50 +01:00
Markus Reiter
d309e50a32
Merge pull request #3802 from reitermarkus/cask-auto-update
Auto-update on `brew cask install/upgrade`.
2018-02-13 18:58:45 +01:00
Markus Reiter
102a2a491b Add Homebrew’s bin to PATH for Cask installers. 2018-02-13 18:49:01 +01:00
Markus Reiter
c09a0972e5
Merge pull request #3774 from sbol-coolblue/fix-formula-formulae
Grammar: "formula are" -> "formulae are"
2018-02-13 18:10:23 +01:00
Markus Reiter
cf4c2bb97a Auto-update on brew cask install/upgrade. 2018-02-13 18:02:54 +01:00
Markus Reiter
191b621815 Make sure .metadata shows up in Cask backtrace. 2018-02-13 17:23:49 +01:00
Mike McQuaid
8a30be7442
Merge pull request #3800 from commitay/cask-doctor
cask doctor: check_cached_downloads
2018-02-13 11:21:14 +00:00
Mike McQuaid
62f1bb79bd
Merge pull request #3799 from ilovezfs/diagnostic-remove-cache-size-check
diagnostic: remove cache size check
2018-02-13 11:14:48 +00:00
commitay
8d458fa443 cask doctor: check_cached_downloads 2018-02-13 21:03:06 +10:00
Mike McQuaid
b609e406bc
Merge pull request #3795 from MikeMcQuaid/rspec-retry
Use rspec-retry in brew tests
2018-02-13 10:04:24 +00:00
ilovezfs
0efe63402b diagnostic: remove cache size check 2018-02-13 01:57:20 -08:00
Mike McQuaid
c57ab279ba Use rspec-retry in flaky brew tests.
We have a few tests that are intermittently flaky. Let's try this to see
if we can get them a bit more reliable.
2018-02-13 09:34:25 +00:00
Mike McQuaid
2a9660fb2b
Merge pull request #3657 from kabel/php-cache-ext
Fix cached download file extension for certain URLs
2018-02-13 09:09:11 +00:00
AndrewMcBurney
69b590012d Berkeley db cache optimization for brew linkage command. 2018-02-12 16:31:41 -05:00
Mike McQuaid
b3f0e571f4
Merge pull request #3090 from jcs/no_color
Tty: if NO_COLOR env var is present, disable color
2018-02-12 20:50:34 +00:00
Kevin Abel
ca3fccaf2b
Make ext use bounded iterator 2018-02-12 14:22:10 -06:00
joshua stein
7388acb86e Tty: if HOMEBREW_NO_COLOR env var is present, disable color
bin/brew will recognize NO_COLOR variable and copy it to
HOMEBREW_NO_COLOR
2018-02-12 14:19:25 -06:00
Mike McQuaid
a30c74987a brew, diagnostic: tweak CI variable checks.
I've adjusted test-bot in:
603918939a
to set CI=1 for Jenkins to make future JENKINS_HOME checks unnecessary.

The only `TRAVIS_*` variable we care about is `TRAVIS_SUDO` so whitelist
that specifically rather than passing through loads of others.
2018-02-12 16:41:21 +00:00
Dominyk Tiller
51ed7983a5
diagnostic: guard cache check on Jenkins too 2018-02-12 10:11:45 +00:00
Mike McQuaid
918f1b775b
Merge pull request #3631 from amyspark/doctor
Let cask doctor exit with 1
2018-02-12 08:54:47 +00:00
Mike McQuaid
8c98317dc7
Merge pull request #3783 from DomT4/cache_size
diagnostic: implement cache size check
2018-02-12 08:53:11 +00:00
Mike McQuaid
adfd3dbe16
Merge pull request #3782 from apjanke/version-option-for-write_jar_script
write_jar_script: add java version option
2018-02-12 08:52:20 +00:00
Andrew Janke
49972e5905 write_jar_script: add java version option 2018-02-11 14:47:51 -05:00
Dominyk Tiller
f97d8e3905
diagnostic: implement cache size check 2018-02-11 17:05:13 +00:00
Alyssa Ross
10ec789660
Don't include declared dependencies in undeclared
oops
2018-02-11 16:30:58 +00:00
Alyssa Ross
40ca03e975
Add undeclared dependencies to Tab when installing
An installed formula doesn't get optlinked until _after_ it's installed,
meaning that we can't rely on `opt_prefix` to get the right keg.

So, if not optlinked, fall back to the formula's prefix, which will be
that of the current installation.
2018-02-11 16:23:22 +00:00
Mike McQuaid
b6a1302b86
Merge pull request #3785 from apjanke/linkage-indirect-deps
linkage_checker: Distinguish indirect deps from undeclared deps
2018-02-11 15:40:25 +00:00
Alyssa Ross
8386e6a8c1
Undeclared dependencies in runtime_dependencies
Fixes https://github.com/Homebrew/brew/issues/2173.
2018-02-11 13:44:20 +00:00
Mike McQuaid
021fe22e3c
Merge pull request #3781 from MikeMcQuaid/gem-path-home
utils: only look for gems in GEM_HOME.
2018-02-10 19:27:43 +00:00
Andrew Janke
c946da88ab linkage_checker: Distinguish indirect deps from undeclared deps 2018-02-10 10:26:54 -05:00
Mike McQuaid
99dda758c4 utils: only look for gems in GEM_HOME.
This avoids issues where a gem is installed but cannot be found.

Fixes #3355.
Fixes #3760.
2018-02-09 21:09:18 +00:00
Mike McQuaid
646d696135
Merge pull request #3780 from MikeMcQuaid/xcode_req_version
xcode_requirement: handle nil @version.
2018-02-09 20:35:19 +00:00
Mike McQuaid
c32865011d xcode_requirement: handle nil @version.
When the Xcode requirement doesn't specify a version then we need to
guard this check.
2018-02-09 19:37:15 +00:00
Chayoung You
b05d69f600
Format identifiers in oh1 2018-02-09 18:00:29 +09:00
William Woodruff
b4443e1cc0
Merge branch 'audit-deny-binary-looking-urls' 2018-02-07 11:20:19 -05:00
Sander Bol
14a25bdd69
Grammar: "formula are" -> "formulae are"
Fix plural form of formula in `brew doctor` output.
2018-02-07 09:50:01 +01:00
William Woodruff
3f43f60a2a
audit: Warn on new formulae containing binary URLs 2018-02-06 08:44:56 -05:00
Mike McQuaid
3a2e6b82fd Make pinning more robust
Don’t autoremove pins on uninstall or upgrade and note this in the
manpage.
2018-02-05 10:59:11 +00:00
Mike McQuaid
62f85cfabb
Merge pull request #3765 from MikeMcQuaid/metadata-odeprecated
utils: no .metadata deprecations.
2018-02-05 11:58:29 +01:00
Mike McQuaid
3ac2f81f3c
Merge pull request #3757 from EricFromCanada/master
docs: add more option descriptions
2018-02-05 10:31:57 +01:00
Mike McQuaid
0a12328500 utils: no .metadata deprecations.
Otherwise running on old casks can produce deprecations.

Fixes #3738.
2018-02-05 09:14:54 +00:00
William Woodruff
7fffccba05
audit: Remove FILEUTILS_METHODS constant
This constant hasn't been used since there was an `audit_line`
method, and as such is vestigial.
2018-02-04 22:44:46 -05:00