12000 Commits

Author SHA1 Message Date
Mike McQuaid
337810bf3e audit: check for master branch tar/zipballs.
These have unstable checksums and aren't the tagged, stable releases
we require.
2016-10-29 17:52:13 -04:00
Mike McQuaid
9ab38dd751 Merge pull request #1366 from MikeMcQuaid/audit-check-version-decrease
audit: check the version does not decrease.
2016-10-29 17:50:41 -04:00
Markus Reiter
a9746934fd Update .gitignore to match vendor/bundle everywhere. 2016-10-29 18:28:08 +02:00
Markus Reiter
f863d61374 Move vendor/bundle up one level to HOMEBREW_LIBRARY_PATH. 2016-10-29 18:28:07 +02:00
ilovezfs
8e874fa333 Merge pull request #1398 from MikeMcQuaid/update-test-new-tag-fix
update-test: fix --to-tag failure on new tag.
2016-10-29 09:05:31 -07:00
Josh Hagins
2605521ca9 Merge pull request #1361 from jawshooah/cask/refactor-auditor
hbc/auditor: refactor and fix bug
2016-10-29 11:40:39 -04:00
Mike McQuaid
59933f5cd9 update-test: fix --to-tag failure on new tag.
Without this updating to a tag will always have the same start commit
and end commit as there's been no updates to `master` since the tag was
created.
2016-10-29 09:09:00 -04:00
ilovezfs
e26750e112 superenv: treat timingsafe_bcmp as weak on 10.11
Xcode 8.1 added timingsafe_bcmp to string.h and libsystem_c.tbd,
and 10.12.1 added it to libsystem_c.dylib, but it is not present in
libsystem_c.dylib on 10.11.6 (15G1108).

It may appear in libsystem_c.dylib in a later 10.11 release or it may
be marked weak on 10.11 in a later Xcode release.

Fixes Homebrew/homebrew-core#6344.
2016-10-29 03:26:52 -07:00
Mike McQuaid
8a7317aa8f Merge pull request #1392 from zmwangx/step-down
docs: remove zmwangx from the list of maintainers
1.0.9
2016-10-28 21:39:53 -04:00
Mike McQuaid
713737e854 Merge pull request #1384 from dersvenhesse/patch-1
XCode 8.1 is stable
2016-10-28 21:17:03 -04:00
Zhiming Wang
a3efe57fd6
docs: remove zmwangx from the list of maintainers 2016-10-28 18:58:14 -04:00
dersvenhesse
70cc7790f6 Updated latest versions since XCode 8.1 release 2016-10-28 23:34:12 +02:00
dersvenhesse
4701eff45f XCode 8.1 is stable 2016-10-27 23:35:52 +02:00
Mike McQuaid
4284b82de4 Merge pull request #1380 from woodruffw/silence-git
Redirect stderr output from git (shim) invocations to /dev/null.
2016-10-26 17:16:47 -04:00
William Woodruff
72b81844ed
Redirect stderr output from git (shim) invocations to /dev/null.
These invocations occur before we can actually automatically install git via
bottle, and as such their output isn't relevant.
2016-10-26 16:33:35 -04:00
Alyssa Ross
ec83d1decb uninstall: remove more integration tests 2016-10-26 15:07:06 +01:00
Alyssa Ross
b71ce88fa1 test_uninstall: style fixes 2016-10-26 00:04:12 +01:00
Alyssa Ross
481a097643 uninstall: document --ignore-dependencies 2016-10-25 23:59:55 +01:00
Alyssa Ross
bb30b01d5d uninstall: go easier on the integration tests 2016-10-25 23:53:59 +01:00
Alyssa Ross
3702e561d6 uninstall: test should_check_for_dependents? 2016-10-25 23:53:10 +01:00
Alyssa Ross
5a3d6c4c8f uninstall, keg: update style 2016-10-25 23:48:34 +01:00
Alyssa Ross
d0ad097082 uninstall: remove duplicated method
This was moved to Keg, but looks like I forgot to get rid of it here.
2016-10-25 23:48:00 +01:00
Alyssa Ross
aff5f42c58 missing: document --hide 2016-10-25 22:36:13 +01:00
Alyssa Ross
c4c855b9fc ARGV: extract #values from missing 2016-10-25 22:36:13 +01:00
Alyssa Ross
a4dc835ba0 uninstall: call Formula#missing_dependencies directly 2016-10-25 22:36:13 +01:00
Alyssa Ross
422f38b945 missing: call Formula#missing_dependencies directly 2016-10-25 22:36:13 +01:00
Alyssa Ross
0cd983487c missing_deps: extract formula instance method 2016-10-25 22:34:35 +01:00
Alyssa Ross
99a7fb8cb4 uninstall: don't use unless || 2016-10-25 22:34:35 +01:00
Alyssa Ross
ef13f8eaca uninstall: only <=1 Diagnostic.missing_deps call 2016-10-25 22:34:35 +01:00
Alyssa Ross
452691528d Revert "keg: fallback to missing_deps if deps not in tab"
This reverts commit da1caba17c624f03fa8e6fbe59683f57fb7ac17a.
2016-10-25 22:34:35 +01:00
Alyssa Ross
ae3f53a1ec keg: fallback to missing_deps if deps not in tab 2016-10-25 22:34:35 +01:00
Alyssa Ross
c88b67f3a8 missing: simplify code a bit 2016-10-25 22:34:35 +01:00
Alyssa Ross
8e3e8e31c2 missing: add tests for not missing and hide 2016-10-25 22:34:35 +01:00
ilovezfs
7fa4ffe3dc missing: allow hiding specified formulae 2016-10-25 22:34:35 +01:00
Alyssa Ross
ed0fffd931 uninstall: style fixes 2016-10-25 22:34:35 +01:00
Alyssa Ross
7792acda52 uninstall: allow dependent checks to be by-passed
Dependent can be bypassed with `--ignore-dependencies`.
This is now the default for `HOMEBREW_DEVELOPER`s.
2016-10-25 22:34:35 +01:00
Alyssa Ross
13d705c5e7 integration tests: preserve HOMEBREW_DEVELOPER
This means that run_as_not_developer can be used in integration tests
2016-10-25 22:34:34 +01:00
Alyssa Ross
ecb1075390 uninstall: check for dependents even with --force 2016-10-25 22:34:34 +01:00
Alyssa Ross
b42f76939c uninstall: reorganise code
With the way uninstall is set up at the moment, it's pretty difficult to
add functionality to both the --force and normal variants.

Extracting the racks and kegs to be uninstalled before uninstalling them
should make this easier.
2016-10-25 22:34:34 +01:00
Alyssa Ross
888c44b238 uninstall: fix dependent order bug 2016-10-25 22:34:34 +01:00
Alyssa Ross
08c898f280 integration tests: testball install overridable 2016-10-25 22:34:34 +01:00
Alyssa Ross
563b56701b keg: rename #formula to #to_formula
@vladshablinsky pointed out that other Homebrew classes, like Dependency,
use #to_formula.
2016-10-25 22:34:34 +01:00
Alyssa Ross
08f3aecf6b uninstall: consistent spelling of "dependent"
@ilovezfs pointed out that Homebrew generally uses "dependent", rather than
"dependant".
2016-10-25 22:34:34 +01:00
Alyssa Ross
e41c4e5029 uninstall: better message when dependents remain
Suggested by @MikeMcQuaid
2016-10-25 22:34:34 +01:00
Alyssa Ross
6f0aabe707 uninstall: refuse when dependants still installed
Closes #934.
2016-10-25 22:34:34 +01:00
Mike McQuaid
84d1661b9a Merge pull request #1365 from MikeMcQuaid/audit-stable-url-beta
audit: check for alpha/beta/rc usage in URLs.
2016-10-25 08:17:40 -04:00
Josh Hagins
030c3a5016 Merge pull request #1375 from zmwangx/fix-bottle-nonexistent-pyc-bug
bottle: fix nonexistent pyc bug
2016-10-25 04:33:26 -04:00
ilovezfs
a4f654fd3f Merge pull request #1376 from jawshooah/fix-relocate-regression
formula_installer: fix regression in #1253
2016-10-25 01:30:01 -07:00
Josh Hagins
ca540d8811 Merge pull request #1377 from buo/fix-download-restart
Fix cask's restarting incomplete downloads
2016-10-25 04:24:52 -04:00
buo
6a406763f3 Open incomplete download in append mode
Open the incomplete download in append mode instead of write mode.
Opening in write mode truncates the existing file, so curl keeps
restarting downloads instead of resuming the incomplete downloads.
2016-10-25 16:46:59 +09:00