5601 Commits

Author SHA1 Message Date
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
Mike McQuaid
ed30b04911 test-bot: fix tap-from-url regex usage. 2014-11-23 14:38:40 +00:00
Mike McQuaid
00f0644106 test-bot: improve tap building.
- allow using (UPSTREAM_)GIT_URL to find the tap name
- push bottles to a remote based on the tap name
2014-11-23 14:11:46 +00:00
Mike McQuaid
c616fe737f brew-pull: die when bumping multiple formulae. 2014-11-23 11:21:26 +00:00
Jack Nagel
dd820192ee Hashes do not iterate in insertion order on Ruby 1.8 2014-11-21 22:25:36 -06:00
Jack Nagel
dc79f803b1 Remove unnecessary array allocations
These classes are never instantiated with arguments, so we can get rid
of the unnecessary array splatting.
2014-11-21 17:03:59 -06:00
Jack Nagel
a412b49c2c Fix dependency equality 2014-11-21 17:03:58 -06:00
Dominyk Tiller
19c2e91fdc authexec: migrating taps
This formula no longer works on anything newer than Lion (See Homebrew/homebrew#34039),
so handing it over to Misty’s Tigerbrew fork where it could still be
useful. As far as tap_migrations goes though, it's being moved to the
boneyard due to Misty's fork not technically being a 'tap'.

Closes Homebrew/homebrew#34348.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-11-21 01:18:10 -06:00
Jack Nagel
078f64a886 Tweak phrasing 2014-11-21 01:05:53 -06:00
Chris
6f0efaef79 Updated outdated docs to include --verbose option
Update man page to reflect change per issue Homebrew/homebrew#27813 (commit 9362781).

Closes Homebrew/homebrew#34317.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-11-21 01:01:07 -06:00
Jack Nagel
1a1f9aa323 Improve inspect output for dependency collections 2014-11-20 22:37:47 -06:00
Jack Nagel
6f6484f0d8 Friendlier error message for EOFError raised inside Net::HTTP
Closes Homebrew/homebrew#34312.
Closes Homebrew/homebrew#34358.
2014-11-20 22:28:11 -06:00
Jack Nagel
bc40e9fb95 aspell: unroll options loop to avoid accessing internals 2014-11-20 20:11:24 -06:00
Mike McQuaid
395d798bc2 brew-test-bot: check default_formula requirements.
This handles the case where e.g. a default_formula cannot be installed
on Yosemite which causes the build to fail.
2014-11-18 16:43:13 +00:00
Jack Nagel
24f1a6e9fc Run test-bot logs through iconv on Ruby 1.8 2014-11-18 01:22:42 -06:00
Jack Nagel
a9e34b0ee2 UTF-8 to UTF-16 should never raise UndefinedConversionError 2014-11-18 01:22:25 -06:00
Jack Nagel
7f230dfaf8 Suppress encoding errors in test-bot log files 2014-11-18 00:41:52 -06:00
aereal
91ccd8435c Regard any installation of the formula as conflicts
Closes Homebrew/homebrew#34159.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-11-17 13:30:54 -06:00
Mike McQuaid
da3c9a1e16 brew-pull: make close message detection more precise. 2014-11-17 10:26:27 +00:00
Jack Nagel
e00a6e4c4d Remove more references to removed external commands 2014-11-16 21:57:08 -06:00