15827 Commits

Author SHA1 Message Date
Mike McQuaid
f35a86ff70 audit: stricter test system calls check.
Ensure that the name is suffixed with whitespace or quotes.
2016-11-02 15:57:19 -04:00
Mike McQuaid
133bad9a97 formulary: migrate fully-scoped formulae names.
e.g. allow `brew install some/tap/formula` to look that formula up in
another tap if it has been migrated.

Also, add a deprecation message to point people towards the correct
naming.
2016-11-02 14:47:24 -04:00
Mike McQuaid
7aa26f7817 audit: check more unscoped test calls.
Also check `def test`, `shell_output`, `pipe_output` and method calls
using parentheses.
2016-11-02 13:23:38 -04:00
Mike McQuaid
89fd34b24e Merge pull request #1368 from MikeMcQuaid/build-options-file
build: write options to file.
2016-11-02 12:01:06 -04:00
Mike McQuaid
b3ef8bd044 Merge pull request #1369 from MikeMcQuaid/boneyard-reason
boneyard-formula-pr: add reason argument.
2016-11-02 12:00:33 -04:00
Mike McQuaid
dc47fb3364 Merge pull request #1370 from MikeMcQuaid/better-github-scopes
Improve GitHub API scopes output.
2016-11-02 12:00:27 -04:00
Mike McQuaid
134b650151 Merge pull request #1411 from MikeMcQuaid/audit-check-version-no-decrease
audit: check the stable version does not decrease.
2016-11-02 12:00:05 -04:00
ilovezfs
2c43649ffc superenv: prune -Wl,-z,defs when refurbishing
`-Wl,-z,defs` should be pruned out entirely since `-z defs` is not
understood by macOS's `ld`, and the analogue `-undefined error` is
already the default.
2016-11-02 01:21:15 -07:00
Josh Hagins
f14a3a17de Merge pull request #1420 from jawshooah/fix-relocate
keg_relocate: include hard links and fix replacement ordering
2016-11-01 15:21:13 -04:00
Josh Hagins
e57d312ad1 keg_relocate: don't forget the hard links 2016-11-01 12:58:38 -04:00
Josh Hagins
d60020f1a9 keg_relocate: fix ordering of replacements 2016-11-01 12:07:14 -04:00
Robin Kunde
2c79868229 Update latest clang version for 10.12 2016-10-31 00:51:38 -04:00
Robin Kunde
5326eecb9d Update macOS Xcode tool checks do use Version class for comparisons instead of strings 2016-10-31 00:51:21 -04:00
Mike McQuaid
3396d479d2 build: write options to file.
These can be useful for later inspection or upload by `gist-logs` if
there's a failed install and it's unclear from logs alone what options
were used.
2016-10-30 16:14:51 -04:00
Mike McQuaid
9f382bfd53 boneyard-formula-pr: add reason argument.
Used to provide a user-facing reason why this formula was boneyarded.
2016-10-30 15:40:11 -04:00
Mike McQuaid
3c7446f3ff Improve GitHub API scopes output.
Improve the GitHub API scope and token related messaging by
autopopulating the scopes we need on the new scopes page and, in the
case of a lacking a scope we need, output what scope was required.

Also, DRY up the personal access token code.
2016-10-30 15:38:19 -04:00
Alyssa Ross
f3526381c3 Update man 2016-10-30 19:20:36 +00:00
Baptiste Fontaine
127461d879 audit: don't check new formulae revision/versions. 2016-10-30 13:51:23 -04:00
Mike McQuaid
ef58225749 audit: check the version does not decrease.
This will prevent brew upgrade from working correctly.
2016-10-30 13:51:21 -04:00
Mike McQuaid
8d5df2ea87 Merge pull request #1402 from MikeMcQuaid/audit-system-test
audit: check test system calls are fully scoped.
2016-10-30 13:30:03 -04:00
Mike McQuaid
20c8c5958e Merge pull request #1367 from MikeMcQuaid/audit-check-master-branch
audit: check for master branch tar/zipballs.
2016-10-30 13:29:47 -04:00
ilovezfs
90e5de9115 Merge pull request #1395 from ilovezfs/superenv-mark-timingsafe_bcmp-weak-on-10.11
superenv: treat timingsafe_bcmp as weak on 10.11
2016-10-30 10:21:18 -07:00
Alyssa Ross
702345ee67 docs: fix typo for brew missing 2016-10-30 16:30:40 +00:00
Mike McQuaid
ec527ff982 Merge pull request #1406 from Homebrew/revert-1366-audit-check-version-decrease
Revert "audit: check the version does not decrease."
2016-10-30 07:32:32 -04:00
Mike McQuaid
a093c62b16 Revert "audit: check the version does not decrease." 2016-10-30 07:32:20 -04:00
Markus Reiter
5e44184b35 Merge pull request #1400 from reitermarkus/move-bundle-path
Move `test/vendor/bundle` to `vendor/bundle`.
2016-10-30 01:41:10 +02:00
Mike McQuaid
0bd0fec6a6 audit: check test system calls are fully scoped.
This doesn't matter for everything but it does for the binaries that
are installed. Have a limited name/alias check when not installed and
a better one that iterates bin/sbin if installed.
2016-10-29 17:53:05 -04:00
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