| Age | Commit message (Collapse) | Author |
|
|
|
When `brew --prefix` is called with arguments, assume each argument is a
formula and print their prefixes instead.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|
|
|
|
brew install `brew outdated` will work
Apologies that this is long overdue.
Fixes Homebrew/homebrew#838
|
|
This developer-oriented command lets you ask Homebrew what the cached
filename will be for a brew's tarball.
|
|
The Cellar may not actually be "`brew --prefix`/Cellar".
We support the Cellar existing only in the repo but
not linked into the prefix, for installs that aren't
directly in /usr/local (or other chosen prefix.)
|
|
Running `brew cleanup` (with no arguments or multiple arguments) will
run `brew prune` after _every_ cleaned formula, i.e. possibly after
every installed formula.
With this change it will instead only run `prune` after all formulae are
cleaned, and only when no arguments were given to `cleanup`.
Signed-off-by: Max Howell <max@methylblue.com>
Closes Homebrew/homebrew#743
|
|
|
|
|
|
`ls` could go wrong more than Pathname.children
|
|
* `brew cleanup foo` removes any unlinked foo kegs
* `brew cleanup` removes all unlinked kegs
|
|
Since Homebrew's Library doesn't have to be linked under prefix,
we need to do some extra work in the bash completion script to
support this configuration.
Added a "--repository" option to brew, and updated the completion
script to use paths relative to this location.
|
|
|
|
|
|
Eg: ['foo', 'bar la'] -> "foo 'bar la'"
|
|
|
|
Uses the GitHub issue search API, so it's very neat and concise. However you can get false positives, so it's not 100% useful. Still I think it is more useful than before, which was, nothing.
A further issue is it depends on the ticket at GitHub using the formula's proper name. So we should ensure this as we can.
Finally, it does add a possibly large delay to clean exit after a build error. We may want to fiddle with timeouts if it becomes troublesome.
|
|
We were raising but in a completely misleading and unintended fashion.
|
|
|
|
|
|
|
|
Nice bug there where we never removed any symlinks, because the unlink step requires the keg to be full of files to determine what symlinks to remove.
|
|
This is necessary for those who installed Homebrew using the suggested tarball method.
Too late for them though.
|
|
|
|
|
|
|
|
Turns out $?.to_i is a 16bit int with some bit flags in the first byte.
|
|
|
|
Some gems and libraries seem to change the order.
|
|
|
|
|
|
Where brew info will show the next-level-down dependencies, brew deps
will show all of the formulae that a given formula depends on.
|
|
* brew install will find an aliased formula
* aliases are searched against
* warn when creating a new formula that has an existing alias.
If Subversion has an alias "svn", then warn when the user tries to
create a new formula "svn". The formula can still be created, though
the user should make sure it's not a duplicate of the existing
aliased one.
Subversion and Objective-Caml formulas get some alises here, so we have
something to test against.
|
|
'uses' shows the formulas that depend on a formula given on the
command-line.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The reason we rescue this exception at all is because otherwise our general purpose Exception handler catches it.
|
|
|
|
Ideally we could do a get request and fill in the issue form at GitHub. Presumably though, we'd only do this if the user typed brew report or somesuch.
Someone should get that implemented!
|
|
|
|
|
|
|
|
|
|
|
|
We need a test for this.
|