aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions
AgeCommit message (Collapse)Author
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>
2011-09-19mirror support: External command for mirror testsCharlie Sharpsteen
`brew mirror-check <formula...>` will process a list of Formulae and check their mirrors to see if they are reachable and the MD5 sums are valid.
2011-09-18brew-missing: use name accessor on Formula objectsJack Nagel
Commit 00cd16f changed oudated_brews to return a list of Formula objects rather than a list of lists containing formula information. Now we must access the formula name by using the 'name' accessor rather than an array index. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-12brew-unpack: Apply patches and use formula optionsCharlie Sharpsteen
`brew-unpack` now runs `Formula.brew` and copies the stage directory to the unpack location. This provides two improvements: - Patches may be applied. The `patch` metho of the Formula class is overloaded such that patches are only applied if the `--patch` option is passed to `brew unpack`. - Formula can respond better to flags passed by `ARGV`. Some trickery is pulled to ensure `DATA` is correctly set for each unpacked formula.
2011-09-12brew-options: add --installed flagJack Nagel
`brew options --installed` will print options for formulae that are already installed. Closes Homebrew/homebrew#7565. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-08Man page: clarify `list` commandJack Nagel
Document the '--versions' option for `brew list`. The two forms of the `list` command as previously documented clearly do different things, but after documenting '--versions', their functions do overlap a bit, so we combine them and clarify the different invocations. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-08Man page fixesJack Nagel
- Remove unnecessary linefeeds above "ENVIRONMENT" - Use the word "example" rather than "sample" to be more consistent throughout the documentation Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-08Fix default cache dir in man pageFilipe David Manana
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-01Add the upgrade command to the man pageJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-01Document `brew outdated --quiet`Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-08-29Fix alpha-order mistake in brew bash-completionJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-08-28Add `upgrade` to the bash-completion scriptJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-08-26brew-pull: Allow pull request numbers as argumentsCharlie Sharpsteen
If an integer is passed to `brew-pull`, such as `brew pull 6600`, it will be interpreted as a pull request number. This has the same effect as the more verbose command line: brew pull https://github.com/mxcl/homebrew/pull/6600
2011-08-25Document HOMEBREW_BUILD_FROM_SOURCEJack Nagel
Additionally, add '--build-from-source' to the bash-completion script.
2011-08-24Add `versions` command to the man pageJack Nagel
Additionally, document the '--build-from-source' option for the `install` command.
2011-08-25Output bottles to CWDMax Howell
Rationale: more typical.
2011-08-24ENV: allow a user-configurable number of make jobsJack Nagel
Let an environment variable, HOMEBREW_MAKE_JOBS, override the default '-j<cores>' make flag. Now we can more easily debug formula that normally build in parallel, or (potentially) speed up lengthy builds.
2011-08-24`brew upgrade`Max Howell
Consequence: you can no longer install when something is already installed, you must upgrade it. This doesn't apply if the formula in question was unlinked. You can still --force installs though. Rationale: the old way of installing over the top would leave symlinks to multiple versions in /usr/local if the old version had a file the newer version didn't. The new upgrade command handles everything properly.
2011-08-17Contribution: Tweak bash completion for installCharlie Sharpsteen
Selection of generic installation options, such as `--HEAD`, is now lumped together with selection of formulae-specific options. This allows any installation option to be tab-completed *before or after* the formula name is specified. Signed-off-by: Adam Vandenberg <flangy@gmail.com>