This project is mirrored from https://github.com/Homebrew/brew.git.
Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
- Aug 23, 2012
-
-
Adam Vandenberg authored
-
- Aug 22, 2012
-
-
Jack Nagel authored
Due to the new const_defined? checks, passing certain names (such as those that start with a digit) that are illegal constant names will raise NameError. Catch this and error out gracefully, as we would have previously. Fixes Homebrew/homebrew#14342. Signed-off-by:
Jack Nagel <jacknagel@gmail.com>
-
Jack Nagel authored
Signed-off-by:
Jack Nagel <jacknagel@gmail.com>
-
Jack Nagel authored
Signed-off-by:
Jack Nagel <jacknagel@gmail.com>
-
Max Howell authored
-
Max Howell authored
Conversation here: 0a45d96b21a5056e5131f136e94533a6a57bf808
-
Max Howell authored
Yes uninstall works, but lets not push people towards that, they can presumably guess that, in the rare case they'd prefer that option.
-
Max Howell authored
-
Max Howell authored
Deprecated Formula.all, replaced usage with more appropriate enumerable options. Just check out how much nicer `brew audit` runs now.
-
Max Howell authored
-
- Aug 21, 2012
-
-
Jack Nagel authored
Signed-off-by:
Jack Nagel <jacknagel@gmail.com>
-
Jack Nagel authored
This matches the semantics of other path methods, such as Xcode.prefix. Signed-off-by:
Jack Nagel <jacknagel@gmail.com>
-
Jack Nagel authored
Simplify access to the different forms of a formula's build options by making options into real objects rather than strings, and expose both the 'name' and 'flag' form.
-
Jack Nagel authored
Signed-off-by:
Jack Nagel <jacknagel@gmail.com>
-
- Aug 20, 2012
-
-
Jack Nagel authored
build.rb calls Formula.factory to get a usable Formula object to pass to its install method. However, because the formula file is the actual executing script, its class is already defined, and loading it again causes the class to be re-evaluated, which, unfortunately, is not idempotent. This bug has existed for a very long time, and its side effects include duplicate entries the deps array and mirrors array, among others. Fortunately, the fix is very simple. Signed-off-by:
Jack Nagel <jacknagel@gmail.com>
-
- Aug 19, 2012
-
-
Jack Nagel authored
Usually, the "foo-version already installed" error is printed by FormulaInstaller. However, if an up-to-date formula that has outdated deps is passed on the command line, we proceed to upgrade the deps and then print a message saying that the formulae given on the command line is already installed. Catch this earlier, when the outdated list is being populated, print an appropriate message, and skip the up-to-date formula. Signed-off-by:
Jack Nagel <jacknagel@gmail.com>
-
Jack Nagel authored
This serves the same purpose as similar code in FormulaInstaller, but we duplicate it because we do the dependency expansion in an ad-hoc fashion here. Fixes Homebrew/homebrew#11863. Signed-off-by:
Jack Nagel <jacknagel@gmail.com>
-
Jack Nagel authored
Signed-off-by:
Jack Nagel <jacknagel@gmail.com>
-
Jack Nagel authored
Signed-off-by:
Jack Nagel <jacknagel@gmail.com>
-
Jack Nagel authored
Signed-off-by:
Jack Nagel <jacknagel@gmail.com>
-
Jack Nagel authored
The heuristic used by the default version comparison is simple. A version string is scanned for strings of digits, split into an array of these strings, and then an element-wise comparison is done. This fails when presented with something like Version.new("1.0.0beta7") <=> Version.new("1.0.0") because the first three digits match, and the fourth digit of the receiver (7) is greater than the assumed fourth digit of the parameter (0). Fix this by defining an element-wise comparator on a new VersionElement class. This allows us to correctly compare "alpha", "beta", and "rc" style version strings, and keeps the logic out of the main version comparison. Signed-off-by:
Jack Nagel <jacknagel@gmail.com>
-
Jack Nagel authored
This was missed as part of the specs refactor. Fixes Homebrew/homebrew#14280. Signed-off-by:
Jack Nagel <jacknagel@gmail.com>
-
Jack Nagel authored
Signed-off-by:
Jack Nagel <jacknagel@gmail.com>
-
Jack Nagel authored
The heuristic for determining whether something is installed changes from "f.installed?" to "f.rack.exist? and f.rack.subdirs.length > 0" in order to properly consider outdated formulae. Signed-off-by:
Jack Nagel <jacknagel@gmail.com>
-
Jack Nagel authored
Signed-off-by:
Jack Nagel <jacknagel@gmail.com>
-
Jack Nagel authored
This will allow us to do comparisons like if MacOS.version >= :lion and hopefully deprecate the MacOS.<name>? family of methods, which are counterinitutive.
-
Jack Nagel authored
-
Jack Nagel authored
-
Jack Nagel authored
-
Jack Nagel authored
A version scheme is a class that inherits from Version and reimplements Version#<=>. This will allow formulae to specify a custom comparison method that will be used instead of the default, for cases where the default is insufficient.
-
Jack Nagel authored
-
Jack Nagel authored
-
Jack Nagel authored
-
Jack Nagel authored
-
Jack Nagel authored
Signed-off-by:
Jack Nagel <jacknagel@gmail.com>
-
Jack Nagel authored
Signed-off-by:
Jack Nagel <jacknagel@gmail.com>
-
Jack Nagel authored
-
Jack Nagel authored
-
- Aug 18, 2012
-
-
Jack Nagel authored
Signed-off-by:
Jack Nagel <jacknagel@gmail.com>
-
Jack Nagel authored
Signed-off-by:
Jack Nagel <jacknagel@gmail.com>
-