14001 Commits

Author SHA1 Message Date
Mike McQuaid
c2815fbb9a Merge pull request #1381 from adzenith/patch-1
`brew doctor` recommends using cask to upgrade XQuartz
2016-11-10 21:05:21 +00:00
Mike McQuaid
42aa0982f9 Merge pull request #1469 from woodruffw/ruby-macho-revendor
vendor: Update ruby-macho to 0.2.6.
2016-11-10 21:02:35 +00:00
Mike McQuaid
9889007099 Merge pull request #1466 from MikeMcQuaid/brew-rb-no-devcmdrun-fail
brew.rb: don't exit when failing to set devcmdrun.
2016-11-10 16:29:00 +00:00
Markus Reiter
9a9ab929ae Merge pull request #1476 from reitermarkus/rootless
Disallow running `brew cask` as `root`.
2016-11-10 15:57:53 +01:00
Markus Reiter
a0f9963391 Disallow running brew cask as root. 2016-11-10 15:01:29 +01:00
Markus Reiter
8dd8273d5e Remove unnecessary Hbc::Locations aliases. 2016-11-10 14:48:53 +01:00
Markus Reiter
0f673cc27f Ensure Hbc.caskroom in tests does not use legacy_caskroom. 2016-11-10 14:48:14 +01:00
Markus Reiter
842120ccf3 Merge pull request #1472 from umireon/umireon-fix-cask-reinstall-test
cask-test: fix reinstall a non installed Cask
2016-11-10 14:18:40 +01:00
Nikolaus Wittenstein
969ac3a9c6 brew doctor recommends using cask to upgrade XQuartz
Also changes exceptions.rb to use Formatter.url
2016-11-09 22:21:21 -05:00
Kaito Udagawa
ad1fa738ef cask-test: fix reinstall a non installed Cask
Trying to uninstall a non installed Cask made this test fail.
This commit remove that and thus this test passes.
Note that every Cask is uninstalled after each test case.
2016-11-10 08:04:11 +09:00
William Woodruff
9267511e6b
os/mac: Rename MachO -> MachOShim
Prevents namespace conflict with vendored ruby-macho.
2016-11-09 17:35:56 -05:00
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
Vítor Galvão
f802c55c90 Merge pull request #1467 from Dorian/patch-1
Update the CaskAlreadyInstalledError with new reinstall command
2016-11-09 15:28:21 +00:00
Dorian
702d07917e Update the CaskAlreadyInstalledError with new reinstall command
e.g. this changes:

```
To re-install google-chrome, run:
  brew cask uninstall --force google-chrome && brew cask install google-chrome
```

To:

```
To re-install google-chrome, run:
  brew cask reinstall google-chrome
```
2016-11-09 15:08:12 +01:00
Mike McQuaid
007002ad6f brew.rb: don't exit when failing to set devcmdrun.
It's not necessary to make this a hard failure so don't (and this makes
it more consistent with `brew.sh`).

Fixes #1462.
2016-11-09 12:44:13 +00:00
Mike McQuaid
c091882246 Merge pull request #1465 from Homebrew/revert-1460-audit-ignore-weak-linkage
Revert "os/mac: MachO.dynamically_linked_libraries filtering."
2016-11-09 12:30:11 +00:00
Mike McQuaid
848c4461af Revert "os/mac: MachO.dynamically_linked_libraries filtering." 2016-11-09 12:29:58 +00:00
Mike McQuaid
1fb7d0fa57 Merge pull request #1460 from woodruffw/audit-ignore-weak-linkage
os/mac: MachO.dynamically_linked_libraries filtering.
2016-11-09 11:15:23 +00:00
Mike McQuaid
a7dc9e1aac Merge pull request #1463 from mistydemeo/test_tap_fix
Tap tests: sort tap names for comparison
2016-11-09 11:14:40 +00:00
William Woodruff
126c15d9ae
os/mac: Rename MachO -> MachOShim
Prevents namespace conflict with vendored ruby-macho.
2016-11-08 16:16:34 -05:00
Misty De Meo
9f03a0b255 Tap tests: sort tap names for comparison 2016-11-08 11:38:59 -08:00
William Woodruff
79b124b78d
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-08 09:45:56 -05:00
Mike McQuaid
42bb0f8c4d Merge pull request #1453 from ddbeck/revise-troubleshooting
Revise Troubleshooting.md
2016-11-08 08:45:07 +00:00
Daniel D. Beck
0532e1e06a restore the more forceful introduction to the Troubleshooting doc 2016-11-07 18:15:10 +00:00
Tim D. Smith
89e82226c6 Merge pull request #821 from chhantyal/patch-1
Do not recommend pydistutils.cfg hack, this breaks default pip command
2016-11-07 06:58:05 -08:00
Mike McQuaid
b7abd33475 Merge pull request #1455 from MikeMcQuaid/bump-minor-version
brew.sh: bump hardcoded minor version.
1.1.0
2016-11-07 14:29:23 +00:00
Nar Kumar
b0bdee46d1 Only remove .pydistutils.cfg option, not command line 2016-11-07 12:33:28 +01:00
Nar Kumar Chhantyal
a1de500073 Do not recommend --prefix=<empty> hack, this breaks default pip command 2016-11-07 12:27:30 +01: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
f8c3a3cc48 Merge pull request #1438 from marmarama/master
Add static libs and dylibs commonly put in /usr/local/lib by Symantec…
2016-11-06 19:30:13 +00:00
Daniel D. Beck
20e48d8df6 revise troubleshooting doc 2016-11-06 18:15:58 +00:00
Mike McQuaid
b8647778ee Merge remote-tracking branch 'origin/master' into HEAD 2016-11-06 17:58:24 +00:00
Daniel D. Beck
36431d94b8 stop short-circuiting the common issues troubleshooting steps 2016-11-06 17:51:26 +00:00
Daniel D. Beck
459d732714 put troubleshooting steps in order of specificity 2016-11-06 17:43:49 +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