aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2015-10-23run Checks#check_for_unsupported_osx unconditionallyXu Cheng
2015-10-23os: centralize check for pre-release OS X versionsMartin Afanasjew
Provide `OS::Mac.prerelease?` for pre-release checks and use it where appropriate. This should simplify updating the test once a new OS X release lands. This also fixes a bug in `BuildError#dump`, where an empty warning message was printed on El Capitan after a failed from-source build, because the check there and the one in `check_for_unsupported_osx` were out of sync. Closes Homebrew/homebrew#45257. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-20paq8px: boneyardAlex Dunn
Fixes Homebrew/homebrew#44061. Closes Homebrew/homebrew#44501. Closes Homebrew/homebrew#45108. Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
2015-10-20test-bot: fix testing builds building everything.Mike McQuaid
We don't care about the formulae that have changed since the last commit so just ignore it.
2015-10-20underline url in Error messageXu Cheng
2015-10-20linkapps: stop linking .app bundles from 'bin/'Martin Afanasjew
`Keg#app_installed?` only checks the formula prefix and `libexec/` for .app bundles to determine if a formula provides any. This is used by `Caveats#app_caveats` to generate an appropriate message. The same list should be used by `brew linkapps` for consistency. Reduce likelihood of future inconsistencies by creating `Keg#apps` and using it in place of the duplicate code. Closes Homebrew/homebrew#45173. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-20linkapps/unlinkapps: improve bash/zsh completionMartin Afanasjew
Closes Homebrew/homebrew#45175. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-20Update manpage.Mike McQuaid
2015-10-20unlinkapps: avoid deleting too many symlinksMartin Afanasjew
Use `start_with?` to make sure the symlink actually points into one of the Homebrew directories (depending on given arguments). Previously, only a substring match was used, which would also remove a symlink to a hypothetical `/opt/unrelated/usr/local/opt/Unrelated.app`. Even if unlikely to occur, altering stuff unrelated to Homebrew is bad. Furthermore, make sure to always use a trailing slash with directories. Otherwise, e.g., `brew unlinkapps qt` will unlink .app bundles of both `qt` and `qt5` if both are installed and `brew linkapps qt qt5` was issued before. (Please ignore that `qt` and `qt5` offer a conflicting set of .app bundles. This will have to be addressed elsewhere.) Closes Homebrew/homebrew#45174. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-20Provide better link when rate limit exceeded error is thrownPatrick Stadler
Closes Homebrew/homebrew#45134. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-20travis.yml: email on failure, post to Slack.Mike McQuaid
2015-10-20test-bot: remove duplicated conflicts unlinkingXu Cheng
2015-10-20test-bot: install bottle unneeded formulae in --fast modeXu Cheng
2015-10-19test-bot: don't use `--build-bottle` flag if bottle disabledXu Cheng
2015-10-19add test for bottle disableXu Cheng
Closes Homebrew/homebrew#43935. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-19allow install bottle unneeded formulae for non Xcode/CLT installXu Cheng
2015-10-19test-bot: skip bottling if it's unneededXu Cheng
2015-10-19bottle: fail if bottle is disabledXu Cheng
2015-10-19formula_installer: let build_bottle? check bottle_disabled?Xu Cheng
Also don't pour bottle if it's disabled.
2015-10-19Formula: add bottle disable DSLXu Cheng
2015-10-19install: make search output more intuitive.Eric Andrew Lewis
Closes Homebrew/homebrew#42222. Closes Homebrew/homebrew#44892. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-19brew: add more non-root-user sudo checksDominyk Tiller
2015-10-19brew: tighten sudo checksDominyk Tiller
`reinstall` can currently be executed under sudo and has every chunk of problems running install under sudo does when `brew` isn't root owned. Likewise with `postinstall` which we increasingly use to create directories and move/install files elsewhere. Using sudo there both masks deeper issues and makes uninstall troublesome. Closes Homebrew/homebrew#45112. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-10-18use Utils.popen_read instead of ENV trick to escape pathXu Cheng
Closes Homebrew/homebrew#45021. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-18move mach.rb to os/mac/mach.rbXu Cheng
2015-10-18remove unnecessary require statementsXu Cheng
2015-10-18MacOS: full_version addedBaptiste Fontaine
Closes Homebrew/homebrew#44988. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-18doc: add links to jenkins jobsSteven Peters
Add links to specific jenkins jobs described in Brew-Test-Bot-For-Core-Contributors.md Closes Homebrew/homebrew#45052. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-18Add --cleanup to `brew upgrade` bash completionRoger Que
Closes Homebrew/homebrew#45075. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-10-17owamp: return from boneyardBrian Candler
By including the missing patch inline See Homebrew/homebrew#43361 and Homebrew/homebrew-boneyard#66 Closes Homebrew/homebrew#44888. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-10-16SUPPORTERS: use https where supportedViktor Szakats
and not broken Closes Homebrew/homebrew#45045. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-10-17downloads: fix undefined local variableXu Cheng
https://github.com/Homebrew/homebrew/commit/2950e5ab6ee76f35c7015cfa2d07bee6ddb1170e#commitcomment-13824130
2015-10-17uninstall: fix indentXu Cheng
2015-10-17uninstall: fix when Cellar doesn't existXu Cheng
2015-10-16always use opt_prefix in install_nameTim D. Smith
dylib install_names are presently rewritten relative to HOMEBREW_PREFIX, except for keg-only formulas, which are rewritten relative to opt_prefix. If we make a formula keg_only, all of its dependents need to be bumped, since it will no longer exist in HOMEBREW_PREFIX and all of the links will be written incorrectly. If we always use opt_prefix, we avoid that dilemma, and make installed packages more robust if a dependency is `brew unlink`ed. Closes Homebrew/homebrew#43518. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-10-16utils: improve highlighting in multi-column outputMartin Afanasjew
The yellow background made the text unreadable for light-on-dark color schemes. Fix by making the highlighted text just bold. Fixes Homebrew/homebrew#45028. Closes Homebrew/homebrew#45030. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-16downloads: Fix checkout on initial cloneAndrew Janke
Moves the "Checking out" output to where checkouts actually happen, to avoid spurious checkout announcements. Closes Homebrew/homebrew#45019. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-16New-Maintainer-Checklist: general updates.Mike McQuaid
2015-10-16tap-info: tweak output for two edge casesMartin Afanasjew
Improve output in the (rare) cases where a tap offers both commands and formulae or neither. Also adjust code to stay below the 80 column limit. Closes Homebrew/homebrew#44995. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-16update: report tap updates and improve wordingMartin Afanasjew
Closes Homebrew/homebrew#43468. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-15brew: check xcode license statusDominyk Tiller
The xcrun code is stolen right out of the INSTALL script. Check for user agreement of the Xcode license before permitting any other brew usage to continue. This prevents the situation where people are instructed to "please re-run as root via sudo" on brew commands. The check can only fail when Xcode is installed & the active developer dir. Closes Homebrew/homebrew#44974. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-10-15commands: ensure external commands are executableMartin Afanasjew
For consistency with `brew command` and the logic in `brew.sh` (both use `which` to find/validate an external command), we need to filter files that are not executable. Otherwise `brew commands` and thus bash completion will offer commands that will produce an error when attempting to use them. Closes Homebrew/homebrew#44999. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-15search: various improvementXu Cheng
* Move listing all formula names in the top to speed up shell script. * Simplify logic. * Only search PR and check bad regex for tty?, which will benefit to shell script. Closes Homebrew/homebrew#44985. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-15search: highlight installed formulaeXu Cheng
2015-10-15test-bot: remove unused --tap args for brew bottleXu Cheng
2015-10-15test-bot: ensure cleanup is runningXu Cheng
Closes Homebrew/homebrew#44982. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-15test-bot: merge formula's bottle before testXu Cheng
Fixes the bug described in https://github.com/Homebrew/homebrew-science/pull/2866#issuecomment-148298146
2015-10-15bottle: allow --merge --write without commitXu Cheng
2015-10-15update: highlight installed formulae in reportMartin Afanasjew
Closes Homebrew/homebrew#44335. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-15Formula-Cookbook: point to audit --strict.Raimonds Kalnins
Closes Homebrew/homebrew#44940. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>