aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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>
2015-10-14test-bot: readd missing --build-bottle.Mike McQuaid
2015-10-14test-bot: ensure install_passed is always definedBaptiste Fontaine
2015-10-14FormulaValidationError: include full_nameBaptiste Fontaine
Closes Homebrew/homebrew#44946. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-10-14utils: highlight items in column-wise outputMartin Afanasjew
Closes Homebrew/homebrew#44343. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-14utils: re-implement and improve column-wise outputMartin Afanasjew
2015-10-14update: allow updating from local branchVlad Shablinsky
Closes Homebrew/homebrew#44893. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-14test-bot: make master builds faster.Mike McQuaid
Just do a few things rather than doing e.g. a full compile. Closes Homebrew/homebrew#44936. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-14add Formula#aliasesXu Cheng
Fixes Homebrew/homebrew#44331. Closes Homebrew/homebrew#44709. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-14add alias_table and alias_reverse_table for core and tapXu Cheng
2015-10-14add Formula.core_alias_filesXu Cheng
2015-10-14test-bot: update diff_start_sha1 unconditionallyXu Cheng
See bfab4b0e65db4667ab09159b1040701fa75ec687 Closes Homebrew/homebrew#44889. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-13superenv: only strip sysroot flags for OS X SDKs.Alex Wang
Removing all sysroot flags is ok until a non-OS X SDK is needed. In that case, builds can fail due to the non-OS X SDK being overwritten or overridden by the OS X SDK. Sysroot flags are now only stripped if they are an OS X SDK. This is reliant on only OS X SDKs containing the string "macosx", so this will break if if the wrong SDK shows up. However, the chances of that happening seem low, as Apple probably doesn't want to introduce something OS X that doesn't work with OS X, so it should be robust for the near future. This could break in an environment without the command line tools. The fix for that is a bit more involved, though, so that will have to go later. Closes Homebrew/homebrew#44312. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-13let the user know what exactly was already tappedSøren Brokær
Closes Homebrew/homebrew#44843. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-10-13README: note documentation license.Mike McQuaid
2015-10-12SUPPORTERS.md: update name.Mike McQuaid
2015-10-10test: allow writing to certain var directoriesXu Cheng
Closes Homebrew/homebrew#44458. Closes Homebrew/homebrew#44773. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-10postinstall: sanitize ARGV optionsXu Cheng
2015-10-10audit: use ARGV.resolved_formulaXu Cheng
There are audit rules which check cellar. Therefore, we need `ARGV.resolved_formula` to get proper spec and prefix. Closes Homebrew/homebrew#44781. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-10test: sanitize ARGV optionsXu Cheng
Otherwise, it will use the wrong prefix to test devel/HEAD install.
2015-10-10Formulary.from_rack: better formula resolution strategyXu Cheng
The flow is as follow: * If tap is nil(DIY install), search using name. * If tap is found, search using full name. * If tap is found and full name searching failed, search using name. This usually means the formula may be migrated to different tap. Closes Homebrew/homebrew#44771. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-10caveats: show information based on build optionsXu Cheng
Fixes Homebrew/homebrew#44729. Fixes Homebrew/homebrew#40863. Closes Homebrew/homebrew#44779. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-10search: don't fail because broken formulaeXu Cheng
Fixes Homebrew/homebrew#44687. Closes Homebrew/homebrew#44770. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-09use directory? to check rack existenceXu Cheng
2015-10-08keg: add java to SHARE_PATHSM Jordan Stanway
Add `java` to `SHARE_PATHS` so that `HOMEBREW_PREFIX/share/java` is a folder with symlinks in it, rather than a symlink to a folder for a specific formula. This way we avoid conflicts if multiple formulas put `jar` files in the standard location `HOMEBREW_PREFIX/share/java`. See also: [pull request 44420](https://github.com/Homebrew/homebrew/pull/44420) Closes Homebrew/homebrew#44456. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-08ObserverPathnameExtension: only puts first 100 operationsXu Cheng
Fixes https://github.com/Homebrew/homebrew/issues/44320#issuecomment-143951973 Closes Homebrew/homebrew#44440. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-08handle TapFormulaWithOldnameAmbiguityErrorXu Cheng
Closes Homebrew/homebrew#44705. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-08autocode: rename from crystalChris Tate
Closes Homebrew/homebrew#44417. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-07audit: fix GitHub repository auditDaniel Lee Harple
In the data returned from the GitHub API, “watchers_count” is actually the number of stars. See https://developer.github.com/v3/activity/starring/#starring-vs-watching Closes Homebrew/homebrew#44477. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-07Encourage https for bottle hostingSteven Peters
I assume that we want to encourage people hosting their own bottles to serve them using `https`. This PR has a trivial change in the example. We may consider adding some text to the `root_url` description with a discussion of security. Also use https://example.com instead of http://mikemcquaid.com in bottle example. Closes Homebrew/homebrew#44651. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-07Remove extra wordAdrian Moisey
Closes Homebrew/homebrew#44708. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-10-07link_overwrite if the owning keg no longer existsRobin Neatherway