5820 Commits

Author SHA1 Message Date
Jack Nagel
c06fe57b04 Use FileUtils instead of shelling out to cp 2014-12-07 14:38:42 -05:00
Jack Nagel
8560ad3ad0 Use quiet_safe_system to silence submodule updates 2014-12-06 20:57:23 -05:00
Jack Nagel
04d287e8db Use quiet_safe_system to silence submodule checkouts 2014-12-06 20:57:23 -05:00
Jack Nagel
5d811c519b Use quiet_safe_system to silence bzr updates 2014-12-06 20:57:22 -05:00
Jack Nagel
37c08393db Use quiet_safe_system to silence CVS updates 2014-12-06 17:18:34 -05:00
Jack Nagel
7e844cad1c Simplify fossil checkouts 2014-12-06 16:48:20 -05:00
Jack Nagel
dd2446ab08 Extract part of stage method to VCS strategy superclass 2014-12-06 16:00:20 -05:00
Jack Nagel
5f0feb7e85 Remove years-old TODO 2014-12-06 15:54:04 -05:00
Jack Nagel
df25be78b5 Demote FIXME to a normal comment 2014-12-06 15:53:37 -05:00
Jack Nagel
6081874612 Mark private SubversionDownloadStrategy methods 2014-12-06 15:02:49 -05:00
Jack Nagel
5afa11ecab Move fetch implementation into VCS strategy superclass 2014-12-06 15:02:49 -05:00
Jack Nagel
4026e035ad Use start_with? instead of a regexp 2014-12-06 15:02:49 -05:00
Jack Nagel
01dc112b60 Move SVN URL munging to initialize 2014-12-06 15:02:49 -05:00
Jack Nagel
62c1c61ec2 Remove method that duplicates superclass implementation 2014-12-06 15:02:49 -05:00
Jack Nagel
f189454328 Extract update from fetch in VCS strategies 2014-12-06 15:02:49 -05:00
Jack Nagel
3a20562d6e Add clone_repo to remaining VCS strategies 2014-12-06 15:02:49 -05:00
Jack Nagel
8debc18839 Add repo_valid? to remaining VCS strategies 2014-12-06 15:02:49 -05:00
Jack Nagel
a2dbcfee5b Make repo_valid? private 2014-12-06 15:02:48 -05:00
Jack Nagel
f43fe41423 Make __path methods private 2014-12-06 15:02:48 -05:00
Jack Nagel
54785bb8a0 Make cache_tag private 2014-12-06 15:02:48 -05:00
Jack Nagel
6a56c45fbf Mark private VCSDownloadStrategy methods 2014-12-06 15:02:48 -05:00
Mike McQuaid
645e82df83 Remove {start,stop}doc as we're using Yard now. 2014-12-06 09:14:20 +00:00
Jack Nagel
566d6b3a46 CurlDownloadStrategy: initialize attributes in initializer
The downloader is instantiated on-demand, so we no longer need the lazy
initialization here.
2014-12-05 22:11:23 -05:00
Jack Nagel
d157301cdc Pass the downloader a proxy object instead of the resource
We need to limit the interface that is exposed to the downloader in
order to make future changes easier.

This will be important for work on new features, such as selecting
a mirror from the command line.

In the future, the existing Resource class will probably be split into
multiple classes.
2014-12-05 22:11:23 -05:00
Jack Nagel
853399da44 Provide VCSDownloadStrategy#head? 2014-12-05 18:57:28 -05:00
Jack Nagel
68a5268aef Download strategies should return a Pathname from cached_location 2014-12-05 18:08:21 -05:00
Jack Nagel
ecba7b4e7e Stop supporting hg found in share/python 2014-12-05 17:05:48 -05:00
Jack Nagel
8f51541d41 Try to match unused symbol deps last 2014-12-05 01:38:14 -05:00
Jack Nagel
36b26c9bfc Update test gems 2014-12-03 20:49:36 -05:00
Jack Nagel
ed842246f7 Make the git download strategy default to :branch => "master"
Fixes Homebrew/homebrew#33437.
2014-12-03 17:25:51 -05:00
Dominyk Tiller
b1a2104f0a os: xcode bump
Bumps to the latest Xcode 6.1.1.

Closes Homebrew/homebrew#34632.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-03 11:50:40 +00:00
Jack Nagel
f0e01a0578 Use add_attribute method instead of accessing attributes hash 2014-12-02 21:14:53 -05:00
Jack Nagel
b9474dfc42 Simplify appending CDATA 2014-12-02 21:14:53 -05:00
Jack Nagel
a463caae36 Combine conditionals 2014-12-02 21:14:52 -05:00
Jack Nagel
6fe2ccf854 Fix duplicated test methods 2014-12-02 11:15:20 -05:00
Jack Nagel
03159dd831 Remove unused entries from test/.gitignore 2014-12-02 11:14:56 -05:00
Jack Nagel
dd3d8a9060 Use better assertions 2014-12-01 11:22:58 -05:00
Mike McQuaid
52cda8fd80 Allow searching/installing Homebrew Casks.
People want to install things like GIMP using Homebrew so let's make it
easier for them to find a decent installation method.

Closes Homebrew/homebrew#34496.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-11-30 17:59:02 +00:00
Jack Nagel
195cac8c91 Rescue ErrorDuringExecution when loading old formulae 2014-11-28 16:37:37 -05:00
Mike McQuaid
eae7363934 uninstall: notify on multiple versions removed.
Closes Homebrew/homebrew#34398.

Closes Homebrew/homebrew#34445.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-11-27 11:36:11 +00:00
Mike McQuaid
40080a4d3e caveats: don't need plist keg to_path, fix 10.8. 2014-11-27 11:00:58 +00:00
Mike McQuaid
b89bacb9c9 caveats: handle non-Homebrew plists.
Mentioned in Homebrew/homebrew#34484.
2014-11-27 10:48:24 +00:00
Misty De Meo
6017811397 doctor: handle non-extent methods passed as arguments 2014-11-26 17:54:53 -08:00
Mike McQuaid
13b770246a test-bot: more support for bottling taps. 2014-11-24 08:26:43 +00:00
Mike McQuaid
8581330d3a bottle: use --root-url instead of --root_url 2014-11-24 08:25:05 +00:00
Mike McQuaid
85f9883329 formula_installer: don't always post_install.
We don't want to do so when building bottles or we can end up with some weird stuff being bottled unintentionally (and it'll run twice; once before bottling, once afterwards).

Fixes Homebrew/homebrew#34349.

Closes Homebrew/homebrew#34397.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-11-23 21:24:00 +00:00
Mike McQuaid
54347843ed pull: support downloading bottles for taps. 2014-11-23 17:16:59 +00:00
Mike McQuaid
62815f4b3d test-bot: more tap upload improvements. 2014-11-23 16:59:54 +00:00
Mike McQuaid
c925c22158 test-bot: tap before attempting upload. 2014-11-23 16:50:19 +00:00
Mike McQuaid
342b09b855 test-bot: fix indentation. 2014-11-23 14:41:48 +00:00