aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions
AgeCommit message (Collapse)Author
2012-08-29Always find git and svn without trying hardMax Howell
Two wrapper scripts that find git and svn using the ENV variables we support and then searching through the PATH and looking inside Xcode.app if necessary. Now just calling git or svn in Homebrew code will find and exec the right tool and we can stop fussing. Apologies to @adamv who is probably unimpressed that the cmds directory has non-commands in it now. If it's consolation these are temporary pending some more work on superenv whereby some more directories are created under the superenv root.
2012-08-25brew-test-bot: add missing 'formula' require.Mike McQuaid
2012-08-22Honor GIT env varAdam Vandenberg
2012-08-21Formula.EnumerableMax Howell
Deprecated Formula.all, replaced usage with more appropriate enumerable options. Just check out how much nicer `brew audit` runs now.
2012-08-18brew-mirror-check: update for new specs APIJack Nagel
This was missed as part of the specs refactor. Fixes Homebrew/homebrew#14280. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-17Forgot to remove install_homebrew.rbMax Howell
It's now in the go branch.
2012-08-09fish completion: Remove dupe lines, fix commandsMisty De Meo
2012-08-07Document `brew tap --repair`Max Howell
2012-08-06Fix issues with writable? detection in brew doctorBrandon Black
Closes Homebrew/homebrew#13689. Signed-off-by: Max Howell <mxcl@me.com> There are subtle distinctions between writable? and writable_real? we don't understand precisely why we need this, but it fixes the bugs :/
2012-07-25Revamp fish completionMisty De Meo
The fish completion hadn't been updated since 2009; this brings it up to date. Changes include: * Create the list of commands the same way as in bash completion * Add every option for every current command, with descriptions * Fixes a bug in fish_complete_brew_command * Allow fish_complete_brew_command to take multiple commands * Expand functionality of fish_complete_homebrew_formula to support other commands and taps, and change name to reflect new functionality Tested on fishfish, but should be compatible with fish.
2012-07-23Make --version/--verbose slightly less confusing.Adam Vandenberg
2012-07-18brew-test-bot: move html and css into subdirectoryMisty De Meo
Also updates the bash-completion to ignore subdirectories, rather than specific filename patterns.
2012-07-17bash-completion: hide brew-bot support filesMisty De Meo
Hides files with the extensions ".css" and ".erb" to ensure that the brew-bot's support files don't show up in tab-completion.
2012-07-12Restore completion for "link" and "ln"Jack Nagel
Commit 3b5d7939d9a660a83e29a86e6bab234f3e9f2dcb added completion for `brew link` options, but disabled completion of the actual command itself. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-11Add completions for brew linkAdam Vandenberg
2012-07-09link: add --force and --dry-run optionsMisty De Meo
`brew link` can now be made to delete any conflicting files using the --force argument. It also has a --dry-run option, similar to git clean -n, which will list any files which would be deleted without touching the filesystem. Closes Homebrew/homebrew#11811. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
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>