28944 Commits

Author SHA1 Message Date
Jack Nagel
00548b81ce doctor: combine git origin checks 2013-05-26 17:55:34 -05:00
Jack Nagel
255c6e7c3f doctor: combine git existence and version checks 2013-05-26 17:48:12 -05:00
Jack Nagel
68b3e6f3fb Add required methods to AbstractDownloadStrategy
Fixes Homebrew/homebrew#20080.
2013-05-26 09:16:27 -05:00
Mike McQuaid
aecdcf768b brew-test-bot: don't repeat SHA-1 if identical. 2013-05-26 01:39:59 +01:00
Mike McQuaid
1856f8eadf brew-test-bot: shorten Jenkins env SHA-1s. 2013-05-26 01:34:32 +01:00
Jack Nagel
95ab813b35 Fix Formula#installed_prefix logic
Due to the precedence of "and" relative to "||", this was not working as
intended; but because #version influences #prefix, the outcome was still
correct. So we can simplify this method quite a bit, and take the
opportunity to share code with #prefix.
2013-05-25 19:24:08 -05:00
Mike McQuaid
fafa62d1d2 brew-test-bot: use Jenkins env, add step.passed? 2013-05-26 01:11:47 +01:00
Mike McQuaid
95834ca588 brew-test-bot: fix Jenkins JUnit package detection. 2013-05-26 00:45:11 +01:00
Jack Nagel
d3b9367cbb Fix completion of install options without formula
Fixes Homebrew/homebrew#20084.
2013-05-25 18:28:54 -05:00
Mike McQuaid
ca39bbfd52 brew-test-bot: more JUnit fixes. 2013-05-26 00:19:07 +01:00
Jack Nagel
8407ad2356 Add tests for Formula#installed_prefix 2013-05-25 17:19:19 -05:00
Jack Nagel
4adecd73b6 tests: extract common formula helper 2013-05-25 17:19:18 -05:00
Mike McQuaid
f0008a7e8f brew-test-bot: add times, cleanup JUnit output. 2013-05-25 22:58:02 +01:00
Mike McQuaid
892d601465 brew-test-bot: improve JUnit output. 2013-05-25 22:07:28 +01:00
Mike McQuaid
052293f22c brew-test-bot: add missing xml.erb file. 2013-05-25 21:36:43 +01:00
Mike McQuaid
b1f00c5757 brew-test-bot: add optional JUnit support. 2013-05-25 21:32:56 +01:00
Jack Nagel
05f92b5c98 build: expand dependencies only once
Closes Homebrew/homebrew#20081.
2013-05-25 15:27:10 -05:00
Jack Nagel
12158b201d build: expand requirements only once 2013-05-25 15:26:55 -05:00
Jack Nagel
f264d5a93c build: make deps an attribute of Build 2013-05-25 15:26:55 -05:00
Jack Nagel
67694b8c60 build: move build methods into a class 2013-05-25 15:26:55 -05:00
Jack Nagel
439a2f4fae Dependency: use instanceof? in eql?
This matches the eql? definition for requirements.
2013-05-25 14:25:24 -05:00
Mike McQuaid
a75aff246e Remove cat_without_underscores bottle methods. 2013-05-25 16:02:18 +01:00
Jack Nagel
6f6d4e5894 doctor: style nits 2013-05-24 19:53:39 -05:00
Jack Nagel
dd9346ada2 outdated: yield version list rather than recreate it 2013-05-24 11:13:27 -05:00
Jack Nagel
92857a7bd8 Define inspect on Option and Options 2013-05-24 10:56:02 -05:00
Jack Nagel
5f38c19ba8 upgrade: fix expansion of options for top-level formula objects
Fixes Homebrew/homebrew#20045.
2013-05-24 10:33:08 -05:00
Mike McQuaid
404845eaeb Remove default_formula from MPIDependency.
Closes Homebrew/homebrew#19966.
2013-05-24 11:47:07 +01:00
Jack Nagel
04d0cea01c Directory, not folder 2013-05-23 23:33:36 -05:00
Jack Nagel
8b98e83347 doctor: reorganize check_for_macgpg2 2013-05-23 23:28:16 -05:00
Jack Nagel
187b9c9d59 doctor: simplify trailing slash checks 2013-05-23 23:07:20 -05:00
Jack Nagel
6a020239d1 doctor: extract helper from stray file checks 2013-05-23 22:57:00 -05:00
Misty De Meo
8559725645 MacOS::Xcode.latest_version: add Tiger 2013-05-23 18:44:50 -05:00
Adam Vandenberg
aec45a6ee6 correct an indent 2013-05-23 12:50:31 -07:00
Jack Nagel
1194880cf2 doctor: fix check_for_broken_symlinks
Fixes Homebrew/homebrew#20000.
2013-05-23 11:28:16 -05:00
Adam Vandenberg
46d2b2165a Allow brew log on deleted formulae.
Closes Homebrew/homebrew#19995.
2013-05-23 09:21:33 -07:00
Jack Nagel
9212e1b1ee Clarify API token env var 2013-05-23 10:03:08 -05:00
Jack Nagel
42c02a894d doctor: remove stale OS version check
Closes Homebrew/homebrew#19959.
2013-05-22 23:33:22 -05:00
Jack Nagel
dd280cc0b1 MacOS.version in case statement doesn't work with ranges 2013-05-22 22:59:38 -05:00
Jack Nagel
3755b33a97 Refactor Xcode/CLT version checks 2013-05-22 22:30:38 -05:00
Jack Nagel
b2ff6e934b Use implicit begin 2013-05-22 19:58:11 -05:00
Jack Nagel
b24f8e2c9e Hoist requires out of methods 2013-05-22 19:53:05 -05:00
Daniel Lee Harple
471502bc06 Remove unnecessary rescue-all exception handling
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-05-22 19:53:05 -05:00
Daniel Lee Harple
08388b149e Added support for a GitHub Personal API Access token
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-05-22 19:53:05 -05:00
Daniel Lee Harple
0fa5c47d7f Check GitHub API rate limit instead of silently failing
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-05-22 19:53:04 -05:00
Daniel Lee Harple
222f96d37b Pass a User-Agent when fetching data from the GitHub API
See <http://developer.github.com/v3/#user-agent-required>.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-05-22 19:53:01 -05:00
Jack Nagel
0bf35a05a9 Favor equality check over nil check 2013-05-22 19:42:43 -05:00
Jack Nagel
da2b5cf5ab Extract name repair logic from fix_install_names 2013-05-22 11:40:57 -05:00
Jack Nagel
2488cfa55a Factor out MacOS.locate("install_name_tool") calls 2013-05-22 11:11:32 -05:00
Misty De Meo
a69552a57d unpack: s/allready/already/ 2013-05-22 10:03:22 -05:00
Jack Nagel
0147ac70c6 Fix CompilerSelector tests on systems that have gcc 4.0 2013-05-21 22:44:23 -05:00