Xu Cheng
8f0249e9a1
handle mxcl/master synonym inside Tab#from_file_content
2015-08-02 16:12:14 +08:00
Xu Cheng
602ea66a0f
bottle_resolve_version: return PkgVersion
2015-07-24 15:59:28 +08:00
Xu Cheng
024c2d508b
auto resolve bottle root_url based on tap
2015-07-06 18:04:59 +08:00
Xu Cheng
321d5e5c08
bottles: new method bottle_resolve_vesrion
2015-06-07 23:51:15 +08:00
Xu Cheng
97fff0cd50
bottles: new method bottle_receipt_path
...
Thanks @sjackman's advice
2015-06-07 23:51:15 +08:00
Xu Cheng
557ddcac36
new method bottle_resolve_formula_names
...
Also remove bottle_filename_formula_name
2015-06-02 16:45:43 +08:00
Xu Cheng
129f780bba
remove bottle_version
2015-06-02 16:45:43 +08:00
Xu Cheng
71c7781ecd
remove Bintray.version method
...
Closes Homebrew/homebrew#38587 .
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-04-26 17:19:03 +08:00
Mike McQuaid
cf72e942b6
bottles: add Bintray package naming method.
2015-02-19 12:58:56 +00:00
Mike McQuaid
b6f9eb0850
bottles: expand Bintray tap repository handling.
2015-02-19 11:24:08 +00:00
Mike McQuaid
e303a97aa7
bottles: add Bintray class.
...
For some utility functions.
2015-02-19 11:06:20 +00:00
Jack Nagel
49a97c280a
Ask the filename object for the prefix
2014-07-18 15:15:12 -05:00
Jack Nagel
1cc3747094
Move bottle URL construction to the bottle object
2014-07-18 15:15:11 -05:00
Jack Nagel
a87d2108ea
Move bottle filename construction to a class
2014-07-18 15:14:57 -05:00
Jack Nagel
28f0e5c4fd
Don't raise when converting the tag to a version fails
2014-07-16 21:11:48 -05:00
Jack Nagel
ab41071d2b
Separate tag matching and checksum lookup
2014-07-16 21:11:48 -05:00
Jack Nagel
005f41c02a
Use [] on the instance rather than the wrapped hash
2014-07-16 18:54:19 -05:00
Jack Nagel
8044c4524b
Rename variable
2014-07-16 18:54:19 -05:00
Jack Nagel
dc3bcf22a3
Mark private methods as private
2014-07-16 18:54:19 -05:00
Jack Nagel
3c366a56d7
Add key? to BottleCollector
2014-07-16 18:54:19 -05:00
Jack Nagel
33eed80ccc
Rename fetch_bottle_for to fetch_checksum_for
2014-07-16 14:52:18 -05:00
Jack Nagel
68326805ae
Implement []= on BottleCollector
2014-07-15 21:55:14 -05:00
Jack Nagel
8a777e65c4
Ensure that all required keys are passed to bottle_filename
2014-07-15 17:05:15 -05:00
Jack Nagel
a3dad588a8
Remove default tag value from bottle_filename
...
We always call this method with an explicit tag.
2014-07-15 17:05:15 -05:00
Jack Nagel
08891e77b6
Remove default value from bottle_url options parameter
...
To construct a URL, we need options to pass to bottle_filename, so this
method should error out if none are given.
2014-07-13 19:29:36 -05:00
Jack Nagel
272cb4db26
Remove default value from bottle_suffix parameter
...
We always call this method with an argument, so we can simplify it.
2014-07-13 19:29:36 -05:00
Jack Nagel
644904736e
Inline method so we don't merge and unpack options twice
2014-07-13 19:29:36 -05:00
Jack Nagel
0323226256
Inline method that just wraps a constant
2014-07-13 18:41:14 -05:00
Jack Nagel
2bbc98694a
Simplify early return condition
...
Improvements to formula/bottle integration means we can be less
defensive here.
2014-07-12 23:13:32 -05:00
Jack Nagel
2932bc5347
Remove unused parameter
2014-04-01 16:03:08 -05:00
Jack Nagel
7b6fa8b7bb
Inline install_bottle? logic into the installer
2014-03-10 14:56:02 -05:00
Jack Nagel
32ab18c189
Wrap cellar compatibility check in a method
2014-03-10 14:56:02 -05:00
Jack Nagel
4b80d30bab
Remove used options check from install_bottle?
...
This is now handled by requiring that options are always passed to the
installer explicitly.
2014-03-10 14:56:02 -05:00
Jack Nagel
7da459874f
Make bottle implementation more generic
2014-03-10 14:56:02 -05:00
Jack Nagel
a911dd5066
Make build_from_source an explicit installer mode
2014-03-10 14:56:02 -05:00
Jack Nagel
44dc21ca5d
Prepare bottle tooling for formula revisions
2014-03-05 20:45:44 -06:00
Jack Nagel
7e8c693218
Consolidate bottle defaults and remove a method
2014-03-05 10:24:33 -06:00
Jack Nagel
b45cadd19a
bottles: fix options hashes
...
Defaults can't be specified in the parameter list, as they will be
overwritten by whatever is passed in. Instead the defaults must be
merged with the argument in the method body.
2013-12-08 16:41:35 -06:00
Misty De Meo
492ce9cc5e
bottle_filename: remove unused revision default
2013-12-05 23:08:04 -08:00
Misty De Meo
2c175a9d7d
Bottles: fix bottle_filename revision
...
Fixes Homebrew/homebrew#24981 .
2013-12-05 23:06:50 -08:00
Misty De Meo
e2af1cbeeb
Use BottleCollector in Bottle SoftwareSpec
2013-12-05 18:24:51 -08:00
Misty De Meo
079d0556ad
Add BottleCollector
...
The BottleCollector collects bottle tags and sha1s, and allows tags
to be fetched using more advanced logic than just fetching identical
tags.
Closes Homebrew/homebrew#23434 .
2013-12-05 18:24:45 -08:00
Jack Nagel
4d8e023b7f
Revert "Disable bottles when HOMEBREW_CELLAR.parent != HOMEBREW_PREFIX"
...
This reverts commit fdf20dc43971b728520d518f3b6ef0bcb16aeb21.
Closes Homebrew/homebrew#24831 .
Closes Homebrew/homebrew#24780 .
2013-12-01 17:06:56 -06:00
Jack Nagel
2b8e0c8f79
Disable bottles when HOMEBREW_CELLAR.parent != HOMEBREW_PREFIX
2013-11-30 16:44:14 -06:00
Jack Nagel
5a9356a204
Revert "disable :any bottles due to Homebrew/homebrew#24780"
...
This reverts commit 31bab6e52b7ed8c63421b9c647d0592af2ee2635.
2013-11-30 16:35:58 -06:00
Adam Vandenberg
9d72738c54
disable :any bottles due to Homebrew/homebrew#24780
2013-11-30 10:47:46 -08:00
Mike McQuaid
b427314c90
bottles: support mavericks.
...
Closes Homebrew/homebrew#23447 .
2013-10-23 00:09:35 +01:00
Misty De Meo
2ac9afcc77
Bottles: add Leopard/PPC tags
2013-10-21 18:06:46 -07:00
Misty De Meo
28c9330abb
Update Leopard/Tiger bottle tags
...
* PPC bottles are in the os_cpu format, e.g. :tiger_g3
* Intel bottles are the bare cat, as usual
* 64-bit bottles have _64 appended to them, e.g. :tiger_g5_64 or :leopard_64
2013-10-21 13:52:49 -07:00
Jack Nagel
805472946b
Rename MacOS to OS::Mac
2013-10-18 12:56:51 -05:00