14001 Commits

Author SHA1 Message Date
Mike McQuaid
83af084079 exceptions: use specific build error checks. 2016-11-05 10:58:39 -04:00
Mike McQuaid
262eaca56e diagnostic: add build error checks. 2016-11-05 10:58:39 -04:00
Mike McQuaid
b38f5b3e7d diagnostic: only make minimum Xcode/CLT version checks fatal.
Also: freeze the relevant arrays.
2016-11-05 10:58:39 -04:00
Mike McQuaid
6359c75a2d os/mac/diagnostic: split some unless conditions. 2016-11-05 10:58:39 -04:00
Mike McQuaid
bccd792bbf diagnostic: add checks for minimum Xcode/CLT versions. 2016-11-05 10:58:38 -04:00
Mike McQuaid
4015d0465a xcode: add checks for Xcode/CLT minimum versions. 2016-11-05 10:58:38 -04:00
Mike McQuaid
3cef6a3a78 Merge pull request #1413 from zmwangx/update-preinstall-message
brew.sh: display message when auto update runs for too long
2016-11-05 09:55:37 -04:00
Mike McQuaid
297c60059c Merge pull request #1442 from ihatetoregister/patch-1
Added a hint how to link a formula that is installed but not linked
2016-11-04 21:59:34 -04:00
Mike McQuaid
83b8c6cccd Merge pull request #1441 from briandunn/patch-1
Fix Typo
2016-11-04 19:38:35 -04:00
Josh Hagins
faa5062696 Merge pull request #1440 from jawshooah/whitelist-sentinel
diagnostics: whitelist dylib installed by SentinelOne
2016-11-04 19:38:04 -04:00
ihatetoregister
12c252855a Added a hint how to link a formula that is installed but not linked 2016-11-05 00:17:02 +01:00
Brian Dunn
0904badc6f Fix Typo 2016-11-04 14:18:23 -05:00
Josh Hagins
b35134239a diagnostics: whitelist dylib installed by SentinelOne 2016-11-04 12:18:23 -04:00
James Young
f46e0032bf Add static libs and dylibs commonly put in /usr/local/lib by Symantec Endpoint Protection to the brew doctor white lists 2016-11-04 14:35:54 +00:00
Mike McQuaid
0028cf9fb8 Merge pull request #1433 from bfontaine/audit-escape
audit: Escape interpolated string in regexp
2016-11-03 17:35:12 -04:00
Baptiste Fontaine
bfa19b3385 audit: Escape interpolated string in regexp
This avoids issues with names containing special characters like e.g. [

Fixes #1431
2016-11-03 18:17:11 +01:00
Mike McQuaid
09f438aecc Merge pull request #1429 from mandarg/fix-few-typos
Correct a few typos
2016-11-03 09:00:20 -04:00
Mike McQuaid
018669084e Merge pull request #1427 from MikeMcQuaid/rubocop-exclude-more-taps
rubocop: exclude more tap dirs from hash rockets.
2016-11-03 08:55:45 -04:00
Mandar Gokhale
0e15ffff62 Correct a few typos
...and update man pages where applicable
2016-11-03 12:09:44 +00:00
Zhiming Wang
0ca697ad2f
brew.sh: communicate when autoupdate runs for long
This will ease user anxiety when `brew install foo' is typed but nothing
seems to happen.
2016-11-02 22:37:08 -04:00
Mike McQuaid
2a865f085e Merge pull request #1424 from MikeMcQuaid/audit-more-test-system
audit: check more unscoped test calls.
2016-11-02 21:50:54 -04:00
Mike McQuaid
f796fe794d rubocop: exclude more tap dirs from hash rockets.
This is useful for e.g. homebrew/bundle that doesn't live in just
`cmd`.
2016-11-02 21:49:05 -04:00
Mike McQuaid
82d1269c9f Merge pull request #1426 from scpeters/patch-3
audit: restore check that was lost in #927
2016-11-02 21:24:49 -04:00
Steven Peters
72f889fef0 audit: restore check that was lost in #927
This audit check ensures that certain build dependencies
are explicitly marked either as `:build` or `:run`.
It seems to have been lost in #927.
It was also adjusted in #1290.
2016-11-02 16:52:09 -07:00
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