| Age | Commit message (Collapse) | Author |
|
|
|
|
|
This allows overriding the "oldest CPU" behaviour - for instance, to
build Intel bottles for a newer CPU than Core 2, to build a PPC bottle
with or without Altivec on the same computer, etc.
|
|
|
|
Fixes Homebrew/homebrew#20682.
|
|
|
|
|
|
|
|
Closes Homebrew/homebrew#17735.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
|
|
|
|
On installation or creation of a bottle error out of the current
machine does not support bottles.
References Homebrew/homebrew#16291.
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
|
|
Used by brew info; may be used by other commands in the future.
|
|
|
|
|
|
|
|
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
This was slowing down every instantiation of brew significantly.
Hopefully doesn't break anything that had become accustomed to not having to require 'formula' or 'keg'.
/cc @mikemcquaid
|
|
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>
|
|
|
|
ARGV.build_head? will return true if the typo '-HEAD' is passed because
it uses flag? to detect the option. However, we only filter the exact
spelling of '--HEAD' in ARGV.filter_for_dependencies, and thus the HEAD
property is undesirably passed to deps during installation.
Since we never advertised '-H' as a valid short option for '--HEAD',
just use include? instead of flag?.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
|
|
In this case the user will simply have to delete all but one keg in order to use the command that uses ARGV.kegs.
Refs Homebrew/homebrew#11050.
|
|
This reverts commit 72a477f2734939d4c5805247588c4cdea69b5383.
|
|
|
|
|
|
If it exists, ARGV.kegs will return the Formula.prefix keg for each rack examined.
So for ARGV=[wget, foo] and the following Cellar (wget/1.11, wget/1.12, foo/1.0) you'll get [wget/1.12, foo/1.0] from ARGV.kegs provided 1.12 is the formula version of wget.
|
|
Includes a test. So now you can do `brew cleanup -ns` and it will work.
|
|
In fixing this I also made it so that ARGV.kegs will return the LinkedKeg if the symlink is set. Which is almost always is. This neatly avoids most multiple-kegs issues.
Fixes Homebrew/homebrew#10685.
|
|
|
|
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
Gah. This was supposed to be in the last commit, but I forgot to `--amend` it.
|
|
Unless the `--quieter` flag is passed.
Closes Homebrew/homebrew#8723.
|
|
Unless the dependency is explicitly passed to `brew install --devel`.
|
|
Previously, stripping arguments like `--HEAD` for dependencies failed because
that flag affects the installation prefix encoded into formula objects. The
previous implementation of `ARGV` filtering tried to contain all changes to a
single method call before the `FormulaInstaller` forks. This update spreads
things out a bit:
- The Homebrew `ARGV` extension adds a new method, `filter_for_dependencies`
which strips flags like `--HEAD`, yields to a block, then restores the
original contents of ARGV.
- The `explicitly_requested?` test, which returns true or false depending on
if a formula object is a member of `ARGV.formulae`, is now a method of
`Formula` objects.
- `FormulaInstaller` objects now execute the installation of dependencies
inside an `ARGV.filter_for_dependencies` block if the dependency was
`explicitly_requested?`.
Fixes Homebrew/homebrew#8668.
Closes Homebrew/homebrew#7724.
|
|
Often it is useful to provide a development build in addition to the
stable release or HEAD download.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Closes Homebrew/homebrew#7373.
Signed-off-by: Max Howell <max@methylblue.com>
I added some comments.
|
|
|
|
Longer-term we'll try and use install_name_tool to fix Lion
bottles so they run fine on 10.5 and/or 10.6.
Closes Homebrew/homebrew#6699.
|
|
|
|
|
|
|
|
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
|