aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
AgeCommit message (Collapse)Author
2015-12-29audit: allow whitelisting of versioned Kibana.Jason Tedor
This commit modifies the whitelisting of the Kibama formula from the npm audit check to allow the versioned Kibana formulae to receive the same whitelisting. Closes Homebrew/homebrew#47500. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-29test-bot: print ARGV temporarily.Mike McQuaid
Will help debug possible Travis issues.
2015-12-29test-bot: skip more building.Mike McQuaid
There should be no compilation happening with `--fast`.
2015-12-28kibana 4.3.0Jason Tedor
Closes Homebrew/homebrew#46593. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-27cmd/options.rb: move common code in options.rbBaptiste Fontaine
Closes Homebrew/homebrew#47423. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-26Revert "minor perf improvements"Baptiste Fontaine
This reverts commit 16a2a8274a7808e63a6c78475e12a7c0ef5812ef.
2015-12-26minor perf improvementsBaptiste Fontaine
Closes Homebrew/homebrew#47224. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-26bottle: prevent bottling formula outside core or tapsXu Cheng
Closes Homebrew/homebrew#47233.
2015-12-26doctor: check_access_usr_local mention Cocktail.Joao Antunes
Added mention to Cocktail app cleanup/repair/optimizations, that has some features that when run they restore the /usr/local directory to the original 'not writable' state in OS X 10.11 . Closes Homebrew/homebrew#47379. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-26tap: improve arguments resolutionXu Cheng
* Use `ARGV.include?` instead of `ARGV.first ==`, so users can pass `-v`/`-d` before the function flags(i.e. `--list-pinned` etc) * Restore the ability to call `brew tap --flags tap/name`.
2015-12-25tap: don't backtrace on invalid options.Mike McQuaid
Closes Homebrew/homebrew#47162.
2015-12-23tests: pass --trace and named args to rakeBaptiste Fontaine
Closes Homebrew/homebrew#47279. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-21bottle: don't read mtime from nonexistant filesØyvind Ingebrigtsen Øvergaard
If the source contains a broken symlink, `brew bottle` would fail for no good reason when trying to determine the most recently modified file. To avoid this, we ignore any files for which stat(2) fails. Closes Homebrew/homebrew#47111. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-21test-bot: enable coverage on travisXu Cheng
2015-12-19move CoreFormulaRepository into separate fileXu Cheng
For users whose local brew is at around 2015-06-11 to 2015-08-06, running `brew update` will emit following error: Error: uninitialized constant Formulary::CoreFormulaRepository This is caused by the same bug described in Homebrew/homebrew#42553. This commit workarounds this issue and restores `brew update` compatibility for users mentioned above. Also cleanup legacy `require "cmd/tap"`.
2015-12-19readall: use Tap object to locate alias directoryXu Cheng
Let's hide implementation detail on where to find alias directory. This will benefit future core code and formulae separation. Also let `brew readall` check aliases for all taps.
2015-12-19readall: allow interruptXu Cheng
2015-12-19lsyncd: use MACOS_FULL_VERSIONXu Cheng
This commit partial reverts beed39e46fa021dd1c133c2c8eaaa81b524e68c7. For users whose local brew is at around 2015-06-02 to 2015-06-11, running `brew update` will emit following error: Error: undefined method 'full_version' for OS::Mac:Module This is caused by the same bug described in Homebrew/homebrew#42553. Let's use `MACOS_FULL_VERSION` for now to restore `brew update` compatibility for these users. TODO: revert this commit after core code and formulae separation.
2015-12-18cmd/cleanup: cleanup java_cacheDominyk Tiller
2015-12-16bottle: fix Ruby 1.8 breakageMartin Afanasjew
`OpenStruct` (of which `Tab` is a subclass) doesn't support subscripting with square brackets. Use normal dot notation to restore compatibility.
2015-12-15bottle: don't use empty tab.Mike McQuaid
2015-12-15audit: don't fail if there's no tapBaptiste Fontaine
Closes Homebrew/homebrew#47041. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-15bottle: make bottle checksums reproducible.Mike McQuaid
I've set all the variable data to versions that are dependent on the latest source file date and various modification dates also to the latest source file date. With this if you rerun `brew bottle` multiple times in a row you will see the same checksum even if you have `brew reinstall`ed (as long as upstream does not hardcode e.g. the build date). I debugged this with diffoscope and worked on this as part of the Athens 2015 reproducible builds workshop: https://reproducible-builds.org/events/athens2015/ Closes Homebrew/homebrew#46587. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-13man: modernize and reduce code duplicationMartin Afanasjew
Also use `popen_read` instead of `safe_system` for cleaner argument passing and write the output with `atomic_write`. Closes Homebrew/homebrew#46826. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2015-12-13man: remove broken --verbose functionalityMartin Afanasjew
2015-12-13update: make stashing local changes more robustMartin Afanasjew
Users with local changes and without a configured Git identity won't be able to update Homebrew via `brew update`, as the update will fail when trying to stash the local modifications with `git stash`. They will be unable to proceed until they follow Git's advice to configure their identity or they manage to revert their local changes. This change always sets a commit e-mail and name, avoiding this issue. A nice bonus is that experienced Git users can see who created the stash commit (identifying `brew update` as the author). Fixes Homebrew/homebrew#46930. Closes Homebrew/homebrew#46939. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2015-12-13pull: use tap objectXu Cheng
Fix the regression introduced by Homebrew/homebrew#46735.
2015-12-11test-bot: allow tapuser/taprepo/tapformula format.Mike McQuaid
2015-12-11test-bot: fix resolve_test_tapXu Cheng
2015-12-11test-bot: remove dead codeXu Cheng
2015-12-11test-bot: remove ci-reset-and-update.Mike McQuaid
2015-12-11test-bot: fix Bintray url for bottle uploadingXu Cheng
2015-12-11test-bot: fix tap URL detection from Jenkins.Mike McQuaid
2015-12-11Revert "test-bot: remove dead code."Mike McQuaid
This reverts commit 373da8666e633b06d8a5bb98621461b700f4b2d7.
2015-12-10test-bot: fetch/audit formulae despite requirementMike McQuaid
It's still useful to do a basic test even if requirements cannot be satisfied.
2015-12-10test-bot: remove dead code.Mike McQuaid
2015-12-10Do not `brew install brew-cask`Josh Hagins
Refs caskroom/homebrew-cask#15381 Closes Homebrew/homebrew#46845.
2015-12-09audit: flag '--with{,out}-check' optionsBaptiste Fontaine
Closes Homebrew/homebrew#46794. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-09Allow taps to link manpages.Mike McQuaid
A blocker for https://github.com/caskroom/homebrew-cask/pull/15381 being merged. Closes Homebrew/homebrew#46795.
2015-12-09avoid using FORMULA_RENAMES directlyXu Cheng
2015-12-09info: tap is a Tap object nowXu Cheng
2015-12-09audit: tap is a Tap object nowXu Cheng
2015-12-09Formulary: use same logic to handle core fully-qualified nameXu Cheng
2015-12-09remove unnecessary tap_argsXu Cheng
It's now handled by Tap.fetch
2015-12-07doctor: remove Xcode 7 on 10.10 warningMisty De Meo
2015-12-07test-bot: use `uses --recursive`.Mike McQuaid
Sometimes the linkage means the recursive dependencies also link to libraries and need bumped.
2015-12-07Use `(installed)` and emoji ticks consistently.Mike McQuaid
Across info, search and update. Closes Homebrew/homebrew#45131. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-07test-bot: more Jenkins Mavericks 1.8.7 fixes.Mike McQuaid
2015-12-07test-bot: fix cleanup check.Mike McQuaid
HOMEBREW_RUBY_PATH is always set.
2015-12-07update: always reset to origin/master.Mike McQuaid
Do a reset to `origin/master` and then stash but don't pop the stash after running update (unless you were on a branch). This may be mildly more annoying for Homebrew developers but means it's easier for our users who don't understand Git (and particularly when they don't understand that every tap is a separate Git repository). Closes Homebrew/homebrew#45825. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>