| Age | Commit message (Collapse) | Author |
|
Closes Homebrew/homebrew#9982
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
This stuff sucks. I'd like to just replace the dash with a directory division or tilde character. But this makes the code even more complicated, unless we can figure out how to migrate the taps.
|
|
Closes Homebrew/homebrew#12247.
Closes Homebrew/homebrew#12244.
Signed-off-by: Max Howell <mxcl@me.com>
|
|
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 :/
|
|
How did this get removed? Had a bug today where user had this but no doctor check so I was confused!
|
|
Closes Homebrew/homebrew#13431.
Signed-off-by: Max Howell <mxcl@me.com>
|
|
Fixes Homebrew/homebrew#12944.
|
|
Currently, if brew doctor detects untracked changes in the local repo,
it suggests doing 'git reset --hard', but that doesn't remove untracked
files. This change adds an additional suggestion to run 'git clean -f'
to remove them.
Closes Homebrew/homebrew#12814.
Signed-off-by: Max Howell <mxcl@me.com>
Changed the path to Library as we don't want to clean -f all over the whole /usr/local :P
|
|
Works rather damn well.
I considered `brew -i`, but we aren't a shell.
|
|
If a formula is in Formula due to tapping or otherwise, don't prohibit installation.
Really we should make the blacklist *really* stuff that should be blacklisted and then if it is available still require a --force. But currently with okay stuff like vim in there, and libxml2 being both blacklisted *and* in mxcl/master, we are screwing ourselves.
TL;DR we should do some work on this component.
Fixes Homebrew/homebrew#13234.
|
|
Refs Homebrew/homebrew#13982.
|
|
You have to hold people's hands, they won't google anything.
Refs Homebrew/homebrew#13982.
|
|
Now that X11 components are specified as dependencies, users will be
prompted to install these components when necessary, and this check is
no longer needed.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Tell user exactly what command to use rather than thinking they'll figure it out by applying some negation logic to the main verb in the sentence they just read.
Closes Homebrew/homebrew#12790.
|
|
Fixes Homebrew/homebrew#12446.
|
|
About time right?
|
|
Removes dead symlinks in Formula and re-symlinks all Taps.
Closes Homebrew/homebrew#11565.
|
|
Repos can't at this point. Hard to easily fix so avoiding it until 2.0 or until someone moans enough.
|
|
|
|
Possibly would help diagnose: Homebrew/homebrew#13853.
|
|
Because, if you do, your changes will be lost.
|
|
In order to better support Xcode-only systems, where X11 libs and
executables live under /usr/X11 but headers live in the SDK, move the
x11_* helper methods into a new module.
This allows us to keep some of the CLT/Xcode-only and Apple X11/XQuartz
logic hidden from outside code, like ENV.x11.
Since Apple's X11 is actually XQuartz, name the module "MacOS::XQuartz".
|
|
Add brew/science.
|
|
conflicts_with is a thin wrapper around Requirement which simplifies
marking conflicts between formulae.
Closes Homebrew/homebrew#13687.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
|
|
Depending on `open-mpi` or `mpich2` will cause problems since both formulae
install components with the same names. `brew audit` now recommends using
MPIDependency.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
|
|
Fixes the problems discussed in 34c970 to ensure that `brew doctor`
does not look like it is broken on user setup problems but still
returns a sensible exit code for e.g. BrewBot.
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
|
|
Fixes Homebrew/homebrew#13535.
|
|
Rather than skip unlinking if there's no linked keg record, check to
see whether the destination's realpath is the same as the source file
in the keg being unlinked.
|
|
This caused weird issues in the case that multiple formulae provide
the same file.
|
|
|
|
Eventually I will stop making this mistake.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
Add an ARGV.dry_run? helper method for '--dry-run'/'-n' now that
'-n' is being used as a git-style dry-run in two commands.
Closes Homebrew/homebrew#12898.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
|
|
`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>
|
|
Closes Homebrew/homebrew#11091.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
But only display them if they are out of sync with the corresponding
Xcode version.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
* 4.3.3 is the latest on 10.7
* Give up if we don't know what the latest is (10.8 and beyond)
|
|
Tools like `brew create` need to create and manipulate SoftwareSpec
objects. It is useful to be able to do this directly, rather than by
proxy through the special methods that serve the main formula DSL.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Now that a URL, version, and the (for lack of a better term) "specs"
associated with said URL (e.g. the VCS revision, or a download strategy
hint) are neatly bundled up in a SoftwareSpec object, it doesn't make
sense to pass them individually to download strategy constructors. These
constructors now take only the formula name and a SoftwareSpec as
parameters.
This allows us to move mirror handling out out of Formula#fetch and into
the download strategies themselves. While doing so, we adjust the mirror
implementation a bit; mirrors now assume the same "specs" as their
owner's URL. They are still only useable by the CurlDownloadStrategy,
but this provides a basis for extending mirror support to other
strategies.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|