6354 Commits

Author SHA1 Message Date
Mike McQuaid
1070acfe7a audit: don't use GitHub zip files.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-08 00:54:35 +00:00
Mike McQuaid
1fd8e7fd75 audit: better handle formulae whitelisting.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-08 00:54:35 +00:00
Jaime Marquínez Ferrándiz
342ed1d163 uses: fix --installed with outdated versions
With that option iterate only over `Formula.installed`, otherwise
iterate over `Formula`. This is faster than iterating over all the
formulae and checking if it's installed.

Fixes Homebrew/homebrew#27259.
Closes Homebrew/homebrew#27295.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-03-07 18:47:34 -06:00
Mike McQuaid
f155b0570e Revert "ENV: request no byte code Python when bottling."
This reverts commit b603c96276cf7fe1417d2355eebc47fb15da0b8c.
2014-03-08 00:04:30 +00:00
Jack Nagel
568c878b0a Print loader class name in debug mode 2014-03-07 17:33:02 -06:00
Jack Nagel
d476a84f4f FormulaLoader: pull shared behavior into superclass 2014-03-07 17:30:39 -06:00
Adam Vandenberg
452d671008 add opt shortcuts to formula 2014-03-07 07:08:52 -08:00
Adam Vandenberg
5cb3b25d43 document formula path helpers 2014-03-07 07:08:52 -08:00
Mike McQuaid
cb047a223b fetch: fix overloading Homebrew.failed. 2014-03-06 21:17:52 +00:00
Jack Nagel
037acb81c8 Fix cleanup for head-only formulae
Fixes Homebrew/homebrew#27265.
2014-03-06 09:50:44 -06:00
Adam Vandenberg
5c51c85564 Finesse doctor message for /Library Python 2014-03-05 21:29:36 -08:00
Adam Vandenberg
6c378a69a2 update migrations for style 2014-03-05 20:40:25 -08:00
Adam Vandenberg
7d66e0caa9 Redact kerl
Kerl does not provide git tags, so move to headonly.

Closes Homebrew/homebrew#26307.
2014-03-05 20:39:52 -08:00
Jack Nagel
bacf5d7137 Don't use pkg_version when cleaning the cache
Fixes Homebrew/homebrew#27245.
2014-03-05 21:45:07 -06:00
Jack Nagel
d6937c9d3f Oops 2014-03-05 21:11:45 -06:00
Jack Nagel
8bfcdf0bd8 Remove special X11 proxy deps 2014-03-05 20:45:44 -06:00
Jack Nagel
44dc21ca5d Prepare bottle tooling for formula revisions 2014-03-05 20:45:44 -06:00
Jack Nagel
17032a600c Teach commands to work with revisions 2014-03-05 20:12:51 -06:00
Jack Nagel
6008187d5f Encode formula revision in installation prefix
In order to allow kegs built with the same version but differing formula
revisions to coexist, we must encode the revision as part of the keg's
name. This is necessary to actually perform an upgrade, as we cannot
upgrade a keg in-place, and temporarily moving it pending the result of
the upgrade is error-prone and potentially slow.

To accomplish this, we introduce a new Formula#pkg_version method that
concatenates the active_spec version with the formula revision. An
exception is made for a formula that has no revision: the tag is
omitted. This preserves compatibility with existing installations.
2014-03-05 20:12:51 -06:00
Jack Nagel
b5e1715333 Enable tracking of formula revisions
It is useful to be able to prompt upgrades in response to events other
than a version update; for example, when a dependency is updated and its
library version changes, dependents need to be rebuilt to link against
the new library.

Currently we cannot do this automatically, which means a flood of
tickets whenever the library version of a popular library changes.

To address this, we need to track an additional piece of metadata, the
"revision" of the formula, which can be incremented when appropriate to
prompt an upgrade. It can then be reset to zero when the next version
change occurs.
2014-03-05 20:12:51 -06:00
Jack Nagel
7e8c693218 Consolidate bottle defaults and remove a method 2014-03-05 10:24:33 -06:00
Adam Vandenberg
7e45cbafca audit: ...or quoted 2014-03-05 07:53:53 -08:00
Adam Vandenberg
d55dc8d01e audit: find env/export as a full word, not as a prefix
Closes Homebrew/homebrew#27219.
2014-03-05 07:53:19 -08:00
sowawa
21b2fdface Fix the bad value of EC2_HOME in the standard_instructions
Change EC2_HOME's value from 'export EC2_HOME="/usr/local/Cellar/ec2-api-tools/1.6.12.0/"'
to 'export EC2_HOME="/usr/local/Cellar/ec2-api-tools/1.6.12.0/libexec"'

Avoide the wrong value of EC_HOME caused by
024208466bfb4ffb479d48709caecc6a1e85ba4d

Closes Homebrew/homebrew#25918.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-04 20:27:34 -08:00
Jaime Marquínez Ferrándiz
4c3c4ac012 Add brew info --json=v1 to the bash completion script
Closes Homebrew/homebrew#27166.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-04 20:12:58 -08:00
Adam Vandenberg
150b9c9817 add options to fetch completion 2014-03-04 18:36:02 -08:00
Adam Vandenberg
f22aff42e1 document fetch --force-bottle 2014-03-04 18:27:11 -08:00
Adam Vandenberg
e35adf1546 brew-man: view the target file directly 2014-03-04 18:22:24 -08:00
Misty De Meo
edd03fbe69 Add wxPython as separate formula
Closes Homebrew/homebrew#25651.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-04 18:20:21 -08:00
Troels Thomsen
fdf5ecf4bb Use name of formula rather than name of dependency
Closes Homebrew/homebrew#27192.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-03-04 16:00:25 -06:00
Jack Nagel
1ab5943fb2 Let commands decide what mode the installer should use 2014-03-04 14:06:25 -06:00
Jack Nagel
4c0db19538 Extract installer setup to prelude method 2014-03-04 14:06:25 -06:00
Jack Nagel
e8727a4eee Show full name when a installing a tap dependency 2014-03-04 12:29:42 -06:00
Mike McQuaid
21e5785652 bottle: fix bottling Git tag case. 2014-03-04 17:34:21 +00:00
Jack Nagel
9a83f63c21 Prefer Formula#name method over Formula#to_s 2014-03-03 23:51:30 -06:00
Jack Nagel
caa12678d8 Skip dependency expansion completely when ignore_deps? is true 2014-03-03 23:48:25 -06:00
Jack Nagel
3b76987fd7 Remove another reference to subformulae 2014-03-03 18:15:21 -06:00
Jack Nagel
75dd75bd24 Replace subformula example with a resource example 2014-03-03 18:14:02 -06:00
Jack Nagel
4bacc8bb13 Simplify test formula setup 2014-03-03 15:04:23 -06:00
April Arcus
3ddbcd9670 utils: replace bright green with ANSI bold+green.
There are two ways of outputting bright ANSI colors to the terminal - the ANSI codes 30-37 plus a bold code (most terminals render bold text with brighter colors, by convention), or the widely supported aixterm codes 90-97.

Although the aixterm codes are more precise (disambiguating bold font from bright color), the ANSI bold+green enables compatibility with the popular [Solarized](https://github.com/altercation/solarized) color theme, which reassigns the "bright green" codepoint to a shade of gray.

Closes Homebrew/homebrew#27125.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-03 12:34:31 +00:00
Mike McQuaid
3f1cd069c4 keg_fix_install_names: gsub shebangd bottle files.
Closes Homebrew/homebrew#27126.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-03-03 12:31:25 +00:00
Jack Nagel
d9be3eee8c Stop mutating build options in Tab.create 2014-03-02 20:35:41 -06:00
Jack Nagel
1e0d1e34ba Document brew info --json
Closes Homebrew/homebrew#26811.
2014-03-02 17:16:30 -06:00
Jack Nagel
de254f6cd6 Stop mutating build options in upgrade 2014-03-02 14:02:18 -06:00
Jack Nagel
0eefded983 Remove unnecessary parameter from inherited_options_for 2014-03-02 14:02:17 -06:00
Jaime Marquínez Ferrándiz
8a014b3221 audit: Raise a problem if the SourceForge download url uses http instead of https
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-02 09:16:53 -08:00
Jack Nagel
c534b1907d Revert "Let commands decide what mode the installer should use"
I'd still like to make this change, but at least for now the initializer
requires ignore_deps to be set correctly.

This reverts commit 881a8855b944fa9bd7dfd598bb9197f79f7a13f0.
2014-03-02 09:01:50 -06:00
Adam Vandenberg
79caaf5112 Move wkhtmltopdf to the boneyard
Closes Homebrew/homebrew#26813.
2014-03-01 23:25:32 -08:00
Adam Vandenberg
95d7776a90 add check for /Library Python
Closes Homebrew/homebrew#24788.
2014-03-01 23:19:36 -08:00
Jack Nagel
47f22d20af Fix typo 2014-03-02 00:30:09 -06:00