aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-11-12Merge pull request #1473 from umireon/umireon-fix-cask-testsMarkus Reiter
brew-cask tests never fail on BrewTestBot
2016-11-12cask-tests: fix cask-tests always fail on the test failureKaito Udagawa
`brew cask-tests` collected the test results in an improper way so that it reports a false success in certain situations. Specially, the session under BrewTestBot always reports success regardless of the test status. With this update, the exit code of `brew cask-tests` is 1 when the test fails, and then CI preperly works.
2016-11-11Check the lock directory is writable.Mike McQuaid
And, if it isn't, print more helpful debugging messages. Fixes #1456.
2016-11-11formulary: don't warn on old formula name from keg/rack.Mike McQuaid
If there’s an old installation of e.g. `apple-gcc42` from when it was part of `homebrew/core` then the tab will say it was from the `homebrew/core` tap and then we’ll complain at the user (see #1459 for an example). Instead, we only want to complain when the user actually types in `homebrew/core/apple-gcc42` into a `brew` command. Closes #1459.
2016-11-11Merge pull request #1483 from MikeMcQuaid/uninstall-no-kegs-needed-forceMike McQuaid
uninstall: don't need kegs to exist for --force.
2016-11-11uninstall: don't need kegs to exist for --force.Mike McQuaid
Otherwise there's an error which is a regression on previous functionality. This mirrors `rm -f` which doesn't fail if a file doesn't exist.
2016-11-11Merge pull request #1475 from reitermarkus/fix-locationsMarkus Reiter
Fix `Hbc::Locations` in tests.
2016-11-11Merge pull request #1481 from reitermarkus/sudo-askpassMarkus Reiter
Support `SUDO_ASKPASS` environment variable in `brew cask`.
2016-11-11Merge pull request #1082 from alyssais/uninstall_dependancy_errorMike McQuaid
uninstall: refuse when dependents still installed
2016-11-11Support `SUDO_ASKPASS` environment variable.Markus Reiter
2016-11-10CompilerSelector: fix null check, testsMisty De Meo
2016-11-10SystemConfig: fix version reportingMisty De Meo
2016-11-10Resource: set version to nil if version is nullMisty De Meo
Is this the right fix? This fixes version cascading from the parent.
2016-11-10Version: add #to_fMisty De Meo
This is used by things which used to compare against raw strings, for example Xcode.uncached_version
2016-11-10Return compiler versions and builds as VersionsMisty De Meo
2016-11-10Version: allow coercing non-versions in comparisonsMisty De Meo
These are needed due to the raw string and fixnum comparisons which exist for legacy reasons, for instance compiler version and build comparisons.
2016-11-10Version: allow comparing against nilMisty De Meo
2016-11-10Version.parse: return Version::NULL for unparseable stringsMisty De Meo
2016-11-10Add Version::NULL singletonMisty De Meo
2016-11-11Repeated typo.Devesh Khandelwal
2016-11-11Typo: delet -> deleteDevesh Khandelwal
2016-11-10Merge pull request #1381 from adzenith/patch-1Mike McQuaid
`brew doctor` recommends using cask to upgrade XQuartz
2016-11-10Merge pull request #1469 from woodruffw/ruby-macho-revendorMike McQuaid
vendor: Update ruby-macho to 0.2.6.
2016-11-10Merge pull request #1466 from MikeMcQuaid/brew-rb-no-devcmdrun-failMike McQuaid
brew.rb: don't exit when failing to set devcmdrun.
2016-11-10Merge pull request #1476 from reitermarkus/rootlessMarkus Reiter
Disallow running `brew cask` as `root`.
2016-11-10Disallow running `brew cask` as `root`.Markus Reiter
2016-11-10Remove unnecessary `Hbc::Locations` aliases.Markus Reiter
2016-11-10Ensure `Hbc.caskroom` in tests does not use `legacy_caskroom`.Markus Reiter
2016-11-10Merge pull request #1472 from umireon/umireon-fix-cask-reinstall-testMarkus Reiter
cask-test: fix reinstall a non installed Cask
2016-11-09`brew doctor` recommends using cask to upgrade XQuartzNikolaus Wittenstein
Also changes exceptions.rb to use Formatter.url
2016-11-10cask-test: fix reinstall a non installed CaskKaito Udagawa
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-09os/mac: Rename MachO -> MachOShimWilliam Woodruff
Prevents namespace conflict with vendored ruby-macho.
2016-11-09os/mac: Allow MachO.dynamically_linked_libraries to be filtered by dylib type.William Woodruff
This allows us to filter out weak linkages during audits, preventing a false error from occurring when the dylib cannot be found.
2016-11-09vendor: Update ruby-macho to 0.2.6.William Woodruff
This brings fixes for behavior expected in #1460.
2016-11-09Merge pull request #1467 from Dorian/patch-1Vítor Galvão
Update the CaskAlreadyInstalledError with new reinstall command
2016-11-09Update the CaskAlreadyInstalledError with new reinstall commandDorian
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-09brew.rb: don't exit when failing to set devcmdrun.Mike McQuaid
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-09Merge pull request #1465 from Homebrew/revert-1460-audit-ignore-weak-linkageMike McQuaid
Revert "os/mac: MachO.dynamically_linked_libraries filtering."
2016-11-09Revert "os/mac: MachO.dynamically_linked_libraries filtering."Mike McQuaid
2016-11-09Merge pull request #1460 from woodruffw/audit-ignore-weak-linkageMike McQuaid
os/mac: MachO.dynamically_linked_libraries filtering.
2016-11-09Merge pull request #1463 from mistydemeo/test_tap_fixMike McQuaid
Tap tests: sort tap names for comparison
2016-11-08os/mac: Rename MachO -> MachOShimWilliam Woodruff
Prevents namespace conflict with vendored ruby-macho.
2016-11-08Tap tests: sort tap names for comparisonMisty De Meo
2016-11-08os/mac: Allow MachO.dynamically_linked_libraries to be filtered by dylib type.William Woodruff
This allows us to filter out weak linkages during audits, preventing a false error from occurring when the dylib cannot be found.
2016-11-08Merge pull request #1453 from ddbeck/revise-troubleshootingMike McQuaid
Revise Troubleshooting.md
2016-11-07restore the more forceful introduction to the Troubleshooting docDaniel D. Beck
2016-11-07Merge pull request #821 from chhantyal/patch-1Tim D. Smith
Do not recommend pydistutils.cfg hack, this breaks default pip command
2016-11-07Merge pull request #1455 from MikeMcQuaid/bump-minor-version1.1.0Mike McQuaid
brew.sh: bump hardcoded minor version.
2016-11-07Only remove .pydistutils.cfg option, not command lineNar Kumar
2016-11-07Do not recommend --prefix=<empty> hack, this breaks default pip commandNar Kumar Chhantyal