6628 Commits

Author SHA1 Message Date
Jack Nagel
00ad37dd84 Add more general support for passing credentials to curl 2014-12-09 22:39:58 -05:00
Jack Nagel
18b8681a7c Pull strategy for downloading from research.att.com into core 2014-12-09 21:18:01 -05:00
Jack Nagel
1dc4fbdb0b Provide access to the specs hash indirectly via a meta attribute 2014-12-09 19:59:16 -05:00
Jack Nagel
3e1cc70fb4 Move tool path methods to AbstractDownloadStrategy 2014-12-09 16:46:28 -05:00
Jack Nagel
bec5e0671f Use quiet_safe_system to silence CVS checkouts 2014-12-09 16:03:14 -05:00
Jack Nagel
e9c368b92e Include FileUtils in AbstractDownloadStrategy 2014-12-09 15:55:28 -05:00
Jack Nagel
ddf6f51776 Prefer cached_location method over @clone ivar 2014-12-09 14:22:44 -05:00
Jack Nagel
90f938dc86 Stop returning a path from CurlDownloadStrategy#fetch
Download strategies do not consistently return a value from `fetch`, so
our code calls `cached_location` to get the path instead.
2014-12-09 12:47:10 -05:00
Jack Nagel
585ddb5428 Remove type checks 2014-12-09 11:48:00 -05:00
Xu Cheng
5310d16686 brew-doctor: warning the external commands with conflicting names
Closes Homebrew/homebrew#34755.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-09 12:59:04 +00:00
Mike McQuaid
775cfd9117 requirements: check Xcode version is a string.
Fixes Homebrew/homebrew#34822.
2014-12-09 11:14:23 +00:00
Mike McQuaid
a92362348d XcodeDependency: allow specifying a version. 2014-12-09 09:26:38 +00:00
Jack Nagel
e311b4a95b Move ume and mess to homebrew-games 2014-12-09 02:37:47 -05:00
Jack Nagel
1a69ceaf7e Recognize rpm file magic 2014-12-09 01:22:55 -05:00
Misty De Meo
30f346447c itsol, salt: move to homebrew/science
Closes Homebrew/homebrew#34777.
2014-12-08 14:45:37 -08:00
Mike McQuaid
d09727ae4a formula.rb: make some methods private.
Don't seem to be used publicly anywhere.

Closes Homebrew/homebrew#34729.
2014-12-08 12:41:51 +00:00
Mike McQuaid
e7497e33c0 formula.rb: add install method.
Mostly for links in API documentation.
2014-12-08 12:41:50 +00:00
Mike McQuaid
858f7fb529 Document Formula attributes.
The beginnings of some decent API documentation.

Also, tweak `.yardopts` to better fix our internal style.
2014-12-08 12:41:50 +00:00
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
72c21fe991 Simplify bsdmake wrapper, take 2 2014-12-05 16:54:53 -05:00
Jack Nagel
d85d5fba22 Revert "Simplify bsdmake wrapper"
Fixes Homebrew/homebrew#34713.

This reverts commit e4461afd36f04b1cd3cf56ec0636202150ce0570.
2014-12-05 16:54:33 -05:00
Jack Nagel
fed9c9a9be Simplify bsdmake wrapper
Since bsdmake is always specified as a dependency, our xcrun wrapper
will always be able to find it, so we can get rid of this wrapper.
2014-12-05 11:01:11 -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