Files
tigerbrew/Library/Homebrew/cmd
Jack Nagel f6a67ea017 Teach download strategies to take a SoftwareSpec
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>
2012-07-04 22:47:35 -05:00
..
2011-03-19 11:06:51 -07:00
2012-07-04 22:47:33 -05:00
2012-02-04 00:27:05 -06:00
2012-04-30 21:37:58 +08:00
2012-04-11 18:24:46 -05:00
2011-03-12 11:55:07 -08:00
2012-07-01 12:23:19 -05:00
2012-03-16 21:06:15 +00:00
2012-07-04 22:47:34 -05:00
2011-08-24 22:30:43 +01:00
2012-07-04 22:47:33 -05:00
2011-03-12 19:36:37 -08:00
2012-06-12 20:03:26 -07:00
2012-02-04 00:27:05 -06:00
2012-04-05 13:06:36 -04:00
2012-05-13 19:28:03 -05:00
2012-03-23 00:16:08 +00:00
2012-03-16 22:00:59 -07:00