aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions
AgeCommit message (Collapse)Author
2012-06-13Completion for "brew missing"Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-12Fix doctor's use of missing.Adam Vandenberg
`brew doctor` shelled to `brew missing` and parsed the results. When VERBOSE was true, this caused an error as extra, unexpected output is generated. Make missing an internal command, and give it a programmatic interface.
2012-06-12Use "legacy" search API when completing tap namesJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-07brew-linkapps: note where symlinks are installedRanmocy
Closes Homebrew/homebrew#12619. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-01Replace /usr/bin/ruby with full Framework pathMisty De Meo
Rationale: some users insist on replacing the /usr/bin/ruby symlink to point to another ruby on their system, which may break homebrew. Use the full Framework path instead, which is less likely to be tampered with. This also reorganizes the brew --config checks to reflect the different path. Fixes Homebrew/homebrew#12009. Closes Homebrew/homebrew#12333. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-05-01Add brew services command: a wrapper for launchctllukas
If a formula implements startup_plist it has out-of-the-box support by brew services. If not it's possible to specify the path to a plist file: `brew services couchdb-lucence /usr/local/Cellar/..../couchdb-lucene.plist`. Fixes Homebrew/homebrew#3422. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-04-30Add ofail command and fix bottle command output.Mike McQuaid
2012-04-24Add Brew Test Bot for comprehensive testing.Mike McQuaid
Closes Homebrew/homebrew#11642.
2012-04-16tests: replace tests script with rake-based runnerJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-11brew-leaves: fix for recent deps overhaulJack Nagel
Fixes Homebrew/homebrew#11567. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-11brew-pull: Fix detecting issue #Misty De Meo
Fixes a regression introduced in c27a575eb6b2dfc0d662aaab2cf9d754647fbadd This is why I wish 1.8.x had named captures.
2012-04-06brew-pull: add support for pulling from tapsMisty De Meo
2012-03-29Remove "__brew_ps1" function from completionJack Nagel
This was probably silly and I'm probably the only person that ever used it. I still do, actually, but it's not really a completion function, it's simple enough to just stick in a shell startup script, and removing it makes the completion script usable under the new dynamic loading scheme provided by bash-completion 1.99+. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-29Add brew tests command to run all unit tests.Mike McQuaid
2012-03-29Cleanup brew-pull code.Mike McQuaid
2012-03-25Document how formula arguments can be specifiedJack Nagel
Closes Homebrew/homebrew#11037. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-23Tab completion for `brew tap`Jack Nagel
Using an inline Ruby script we can hit the GitHub API and look for repositories that match the tap naming scheme. The results are cached for the duration of the current shell session, so going over the network is a once-per-shell-session cost. There are a few false positives, but not much we can do about that at this point, as taps do not have to be in the fork network of any specific repository. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-19Tell the user to run doctor after installingMax Howell
2012-03-18Document `brew tap` and `brew untap`Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-18Clarify `install --force`Jack Nagel
Since 5bddaf2e ("Stop supportinb `brew install --force`), the --force argument is still useful but only to overcome the blacklist restrictions. Document this. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-18Set MACOS_VERSION as 0 on non-OSX platforms.Mike McQuaid
2012-03-18Rename external commands directory from examples.Mike McQuaid
Fixes Homebrew/homebrew#10829.
2012-03-16Tab completion for tapped formulaeJack Nagel
So you can do e.g. $ brew install adamv<TAB> Display all 106 possibilities? (y or n) $ brew install adamv/alt/openss<TAB> adamv/alt/openssh adamv/alt/openssl098 adamv/alt/openssl100 Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-16Appease the massesJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-16Bash completion for `brew untap`Jack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
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>