aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions
AgeCommit message (Collapse)Author
2012-03-10Use new Requirements code in HomebrewAdam Vandenberg
2012-03-10Make `brew-bottle` an internal command.Mike McQuaid
2012-03-09Move install_homebrew into ContributionsMax Howell
2012-03-06`brew cleanup` cleans up the download-cacheMax Howell
Manpage updated. The -s switch is "scrub" and removes downloads for uninstall formula which are downloads for the latest version of that formula still. Please NOTE cache is NOT cleaned if a formula argument is provided. I couldn't be bothered. Patches welcome :) Closes Homebrew/homebrew#2923.
2012-03-06'brew doctor' provides bad example commandJonathan Hitchcock
If there are multiple dependencies missing, 'brew doctor' can suggest that you run something like: brew install autoconf libyaml autoconf, libyaml This commit improves that output. Closes Homebrew/homebrew#10720. Signed-off-by: Max Howell <max@methylblue.com>
2012-03-03brew-man: only exit 1 when an error occursNicolas Despres
Because of "set -e" in non verbose mode brew man had an exit status equals to 1 whereas there was no error. The reason was that the "test" command failed. This patch fix this. Closes Homebrew/homebrew#10664. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-01missing: adjust to new ARGV.formulae behaviorJack Nagel
Since 25aefdd ("don't complain if args are empty"), ARGV.formulae does not raise an exception; `brew missing` was relying on that to determine what set of formulae to act on. Fix this, and also a typo. Fixes Homebrew/homebrew#10617. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-25brew-pull should build bottles.Mike McQuaid
2012-02-24man page: s/folder/directory/gJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-03Man page grammarJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-01keg: handle the info directory file properlyNicolas Despres
If HOMEBREW_KEEP_INFO environment variable is set: - Do not symlink the info directory file (aka 'share/info/dir') otherwise it gets overwritten by next installed brew. - Install an entry in the directory for each linked info file when the brew is linked. - Uninstall the entry when the brew is unlinked. Closes Homebrew/homebrew#9700. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-29Fix brew-bottle output for new bottle syntax.Mike McQuaid
2012-01-27Add beer recipe. This is homebrew after all.Cameron Barrie
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-01-25Refactor the bash completion scriptJack Nagel
The script was lacking structure and had grown a number of one-off hacks that would be better as reusable functions. So, - give each subcommand that has completions it's own function - move completion of formulae, installed brews, and outdated brews into reusable functions - introduce a general __brewcomp() function that takes a string of tab, space, and/or newline separated items and converts all seperators to newlines, and then generates a reply with compgen(). These changes should allow for easier addition of new features in the future. As a bonus, completion for `brew log` will include git-log options if the git completion script is also loaded. _brew_to_completion() is kept around for compatiblity. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-16Don't bottle unless built with correct flag.Mike McQuaid
Closes Homebrew/homebrew#9350. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-01-08Complete options for `brew -S`Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-06versions: enable '--compact' outputJack Nagel
This will be useful for shell tab completion when something like `brew install <formula> --version <version>` is implemented. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-05Fix man page formatting errorJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-16man page: normalize env variable formattingJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-16Enable 'brew edit' for non-Textmate editors.Adam Vandenberg
2011-12-11completion: audit takes formula argumentsJack Nagel
- Also remove `--strict` completion since that option was removed. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-11completion: complete multiple formula argumentsJack Nagel
We make the assumption that the first non-option word is the command being invoked. Originally I was trying to allow command completion for non-standard command lines like $ brew --verbose inst<TAB> but right now executing something like that doesn't actually work. Which is interesting, because the man page implies that it should. Either the man page is incorrect, or something was broken between then and now. Anyway, it would probably be safe to just assume that COMP_WORDS[1] is the command, and we do make that assumption in other places. But if we ever do allow things like "brew --option command", this will be useful. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-08Introduce HOMEBREW_CURL_VERBOSEJack Nagel
When investigating issues, one might want to see exactly what curl is doing behind the scenes. Setting HOMEBREW_CURL_VERBOSE will cause the '--verbose' flag to be passed to all invocations of curl. Prompted by Homebrew/homebrew#8992. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-28Document 'install --devel'Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-27Move brew-depstree into `brew deps --tree`Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-27manpage: remove audit's '--strict' optionJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-14Add --fresh option to brew installCharlie Sharpsteen
When invoked, this option will ensure brew doesn't re-use any options from previous installs of a formula.
2011-11-11completion: add __brew_ps1 to annotate $PS1Jack Nagel
It is often useful to be reminded that you are, in fact, in the middle of a debug or interactive install. We provided this reminder in the form of HOMEBREW_DEBUG_INSTALL, but we can make this even easier for the end user to consume by exposing it in the form of a shell function. When HOMEBREW_DEBUG_INSTALL is set, the __brew_ps1() function returns the string "(formula_name|DEBUG)" by default (much like the __git_ps1() output when performing some long-running operation, e.g. "(branch|REBASE-i)". The formatting around "formula_name|DEBUG" can be customized by passing a format string to the function. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-07cleanup: add an option to perform a 'dry run'Jack Nagel
Sometimes you want to know what `brew cleanup` will do before it actually removes anything. Introduce a '-n' option (chosen to match other UNIX tools) to do this. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-24brew-pull: Clarify comment concerning whitespaceCharlie Sharpsteen
2011-10-24brew-pull: Add flag to suppress whitespace fixesCharlie Sharpsteen
When the pull request includes a patch, fixing whitespace can break the patch.
2011-10-14brew-unpack: define fails_with_llvm? as falseJack Nagel
brew-unpack was failing for formulae that satisfy fails_with_llvm? as handle_llvm_failure() requires our ENV extension to get ENV.compiler. Rather than requiring extend/ENV, just define fails_with_llvm? as false since we don't really care about that when just unpacking a formula. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-12Add bash completion for subcommand optionsJack Nagel
We already have option completion for `brew install`; now we have it for all core commands, and the --cache, --cellar, and --prefix flags now have appropriate formula completion. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-12Redocument `brew missing` in the man pageJack Nagel
Per mxcl/homebrew@6b0c44d, @mxcl: "And in that mind, brew missing is some cases an essential tool and should absolutely be in the manpage." Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-12Document `brew diy` in the man pageJack Nagel
The documentation on this is hard to find, and awareness of the command itself is pretty low. Which is too bad, because it's really handy and I use it all the time myself. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-12man page: add some undocumented optionsJack Nagel
While updating the bash completion script, I encountered some options that were previously undocumented. I purposely did not document the --macports and --fink flags for `brew create`, because the exact same functionality exists in `brew search`. Perhaps we should remove it from create. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-11Ensure cache folder existsAdam Vandenberg
2011-10-09Fix syntax error in the bash-completion scriptJack Nagel
My bad. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-08Make bash completion for `upgrade` smarterJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-08Make zsh completion for `upgrade` smarterMotonori Iwata
Closes Homebrew/homebrew#7889. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-08Add `upgrade` to the zsh completion scriptBertrand Marron
Closes Homebrew/homebrew#7923. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-04Add FileVault use case to manual.Adam Vandenberg
2011-09-30Fix gem install help for brew-serverAdam Vandenberg
Sinatra gem must be installed for the system ruby.
2011-09-30List all local installed packages in brew serverat@an-ti.eu
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-09-26missing should not error if Cellar does not existAdam Vandenberg
2011-09-23manpage: Remove `missing`, `server` and `which`Charlie Sharpsteen
These are external commands---documentation has been moved to the wiki.
2011-09-19manpage: boldface --rebase optionJack Nagel
This is consistent with how other options are displayed. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-20Allow `brew update --rebase`Max Howell
2011-09-19Remove `brew-man` documentationJack Nagel
It was extraneous, and useful only for maintainers and contributors. It is currently documented on the External Commands page of the wiki. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-19Improve external command documentationJack Nagel
In addition to a brief overview of what external commands are, add a link to the wiki page where the real documentation resides. Signed-off-by: Jack Nagel <jacknagel@gmail.com>