William Woodruff
032ed07bce
os/mac: Allow MachO.dynamically_linked_libraries to be filtered by dylib type.
...
This allows us to filter out weak linkages during audits, preventing
a false error from occurring when the dylib cannot be found.
2016-11-09 17:35:56 -05:00
William Woodruff
7e09379669
vendor: Update ruby-macho to 0.2.6.
...
This brings fixes for behavior expected in #1460 .
2016-11-09 17:35:56 -05:00
Mike McQuaid
37518c1b3a
brew.sh: bump hardcoded minor version.
2016-11-07 10:31:31 +00:00
Mike McQuaid
586b35fe29
Merge pull request #1452 from MikeMcQuaid/disable-root
...
brew.sh: disable running Homebrew as root.
2016-11-06 20:42:13 +00:00
Mike McQuaid
58f21b51c9
Merge pull request #1451 from MikeMcQuaid/disable-sha1
...
compat/sha1: disable SHA-1 support.
2016-11-06 20:42:08 +00:00
Mike McQuaid
b8647778ee
Merge remote-tracking branch 'origin/master' into HEAD
2016-11-06 17:58:24 +00:00
Mike McQuaid
fcaa48d80b
compat/sha1: disable SHA-1 support.
...
This has been deprecated for quite a while now so disabling seems
reasonable.
2016-11-06 17:38:50 +00:00
Mike McQuaid
eabdbde3f0
brew.sh: disable running Homebrew as root.
...
November 1st 2016 has come and gone so it's time to disable this.
Also, add comments explaining why the things that have been whitelisted
have been (to avoid more being added without good justification).
2016-11-06 17:37:46 +00:00
Mike McQuaid
ce2b11fd65
Merge pull request #1371 from MikeMcQuaid/tap-migrate-fully-scoped
...
formulary: migrate fully-scoped formulae names.
2016-11-06 08:22:08 -05:00
Mike McQuaid
cfaa05f841
Merge pull request #1443 from MikeMcQuaid/better-development-tools-checks
...
Improve debugging information based on failures
2016-11-06 08:21:11 -05:00
Mike McQuaid
77a6878779
Merge pull request #1446 from MikeMcQuaid/or_later_bottles_filename
...
software_spec: no `_or_later` in bottle filenames.
2016-11-06 08:20:27 -05:00
Mike McQuaid
bc67414b9a
Merge pull request #1449 from ilovezfs/bottle-improve-relocatability-check
...
bottle: improve relocatability check
2016-11-06 08:15:13 -05:00
ilovezfs
c5bd5c4aa7
bottle: improve relocatability check
...
Given how common it is for formulae to hard-code `etc` and `var`, check
for those paths (`/usr/local/etc` and `/usr/local/var`) when determing
relocatability.
2016-11-06 04:00:14 -08:00
Markus Reiter
654fa2513b
Merge pull request #1445 from MikeMcQuaid/caskroom-prefix
...
update-report: default Caskroom moved to prefix.
2016-11-06 00:24:31 +01:00
Mike McQuaid
1f6c26a2e4
software_spec: no _or_later
in bottle filenames.
...
It's more useful to be able to "bless" an existing bottle to be used on
later OSs (e.g. where it cannot yet be built) than it is to have to
create a new, identical bottle just to have a different filename.
2016-11-05 16:13:42 -04:00
Mike McQuaid
a1e798d964
exceptions: reorder output based on importance.
2016-11-05 15:39:25 -04:00
Mike McQuaid
276864ebd1
update-report: default Caskroom moved to prefix.
...
Look at HOMEBREW_PREFIX rather than HOMEBREW_REPOSITORY for the default
Caskroom location.
2016-11-05 15:37:28 -04:00
Mike McQuaid
c7de142800
os: don't tell people to report unsupported version issues.
2016-11-05 10:58:39 -04:00
Mike McQuaid
6c9ca906af
install: only check fatal development tools checks.
2016-11-05 10:58:39 -04:00
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
ihatetoregister
12c252855a
Added a hint how to link a formula that is installed but not linked
2016-11-05 00:17:02 +01: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
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
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
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
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