3828 Commits

Author SHA1 Message Date
Mike McQuaid
254b2b9daf brew-test-bot: move command shortening to method. 2013-06-29 01:37:51 +01:00
Mike McQuaid
9497d2f741 brew-test-bot: fix logs in spaced directories. 2013-06-29 01:37:51 +01:00
Adam Vandenberg
6d41707b2b Make non-exes in bin fatal to brew-bot
Closes Homebrew/homebrew#10817.
2013-06-28 08:57:49 -07:00
Paul Fitzpatrick
61076c1a11 brew --env: Add missing CPATH environment variable
Closes Homebrew/homebrew#20813.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-27 21:00:22 -07:00
Jack Nagel
0f2c5f33a2 Add an exception for imagemagick in build-time dep audit 2013-06-27 21:17:28 -05:00
Misty De Meo
db38053840 Clarify ENV.gcc, ENV.llvm c++ compiler names 2013-06-27 15:13:02 -05:00
Misty De Meo
0430589fbc superenv cc: specify llvm-g++-4.2
We previously tried to call llvm-g++ under the name `g++`,
but this is now a link to clang on Xcode 5+.

Fixes Homebrew/homebrew#20691.
2013-06-27 14:56:47 -05:00
Misty De Meo
ecfb175cdc Fix :gzip_only extraction
gunzip can only extract files in-place, so just shelling out to
gunzip was actually leaving the uncompressed file in Homebrew's cache,
not in the temporary directory. (It also destroyed the original
compressed file.)
2013-06-27 12:24:58 -05:00
Mike McQuaid
49acf70813 bottles: remove legacy tab handling.
References Homebrew/homebrew#20716.
2013-06-27 10:09:37 +01:00
Jack Nagel
52574240af Use old #eql? for python reqs, for now 2013-06-27 01:43:30 -05:00
Jack Nagel
10949ad75d Fix some #eql? correctness issues
The implementation of #eql? and #hash should ensure that if a.eql?(b),
then a.hash == b.hash, but #eql? itself should not *depend* on #hash.

For example, given

  class Thingy
    def eql?
      instance_of?(other.class) && hash == other.hash
    end

    def hash
      [name, *tags].hash
    end
  end

if #hash produces a collision for different values of [name, *tags], two
Thingy objects will appear to be eql?, even though this is not the case.
Instead, #eql? should depend on the equality of name and tags directly.
2013-06-27 01:18:45 -05:00
Adam Vandenberg
ad291d7f06 Remove unused guard
Closes Homebrew/homebrew#20716.
2013-06-26 20:32:13 -07:00
Jack Nagel
919aac0b89 Add syntax sugar for MPIDependency
Closes Homebrew/homebrew#20797.
2013-06-26 22:18:13 -05:00
Adam Vandenberg
1cd3149677 Be explicit about passing formulae names or instances to Tab 2013-06-26 19:58:08 -07:00
Misty De Meo
5627ed21ce info: Only print Cellar info if it exists 2013-06-26 20:19:55 -05:00
Jack Nagel
cf5c97bbcb Don't use 'obj == nil' 2013-06-26 18:47:00 -05:00
Mike McQuaid
3fe7346760 brew-test-bot: always write something to email file. 2013-06-27 00:25:24 +01:00
Jack Nagel
a89c501486 audit: don't try to audit missing deps
Refs Homebrew/homebrew#20829.
2013-06-26 18:09:12 -05:00
Jack Nagel
249a3f1465 Print inspected values in dependency collector errors 2013-06-26 15:25:09 -05:00
Jack Nagel
ce4b621874 Clean up brew options 2013-06-26 15:11:34 -05:00
Mike McQuaid
872cf44bbc brew-test-bot: fix email subject filename. 2013-06-26 19:57:38 +01:00
Mike McQuaid
4ae5ea7dbe brew-test-bot: remove prefix from email subject. 2013-06-26 19:54:33 +01:00
Adam Vandenberg
dbc1df51f4 Reword uses comment 2013-06-26 11:33:31 -07:00
Mike McQuaid
8dce51e5e5 brew-test-bot: don't install dependencies first.
Now that --build-bottle is filtered we don't need to worry about extra
installation time.
2013-06-26 19:25:47 +01:00
Mike McQuaid
c3b7628726 ARGV: filter build-bottle from dependencies.
Fixes Homebrew/homebrew#20682.
2013-06-26 19:25:39 +01:00
Mike McQuaid
7cf6ce393d brew-test-bot: force fetching formulae.
References Homebrew/homebrew#20807.
2013-06-26 19:21:32 +01:00
David Rice
59f3d0d6f6 Detect Command Line Tools on Mavericks.
Closes Homebrew/homebrew#20774.
2013-06-26 19:09:06 +01:00
Jack Nagel
0d35455820 Formula.each: note why import failed
Refs Homebrew/homebrew#20819.
2013-06-26 13:02:48 -05:00
Jack Nagel
c8ae97dde8 uses: fail fast if invalid formula names are given
Fixes Homebrew/homebrew#20819.
2013-06-26 12:59:46 -05:00
Adam Vandenberg
f4f54b79b7 Skip test on Xcode only systems 2013-06-26 09:45:32 -07:00
Jack Nagel
3abd9455a3 Rename Fortran requirement to fix option generation
So, `depends_on :fortran => :optional` will generate "--with-fortran"
rather than "--with-fortranRequired".
2013-06-25 21:12:15 -05:00
Adam Vandenberg
faaac9482e Fix info --github
Closes Homebrew/homebrew#20780.
2013-06-25 11:21:04 -07:00
Jack Nagel
915977889c Note which formula's requirements failed
Closes Homebrew/homebrew#20713.
2013-06-25 10:37:34 -05:00
Jack Nagel
3b725995ba Yield correct dependent when expanding requirements 2013-06-25 10:12:14 -05:00
Jack Nagel
783f29fccb Uniqify tags when merging dependencies 2013-06-25 10:12:14 -05:00
Jack Nagel
a4988411ad brew-server: fix reference to removed method
Fixes Homebrew/homebrew#20744.
2013-06-24 12:50:57 -05:00
Jack Nagel
553b1a0dbb Requirement: callers are responsible for invoking #satisfied?
This hack was necessary since requirements were not checked again
in the forked build process, but now they are, and calling it again
after the build environment has been set up can produce incorrect
results. In fact, if it happens to return false the second time,
the env modification will be skipped altogether.
2013-06-24 10:42:43 -05:00
Adam Vandenberg
371c1acfe4 Add 'From:' to GitHub url for formula
Closes Homebrew/homebrew#20724.
2013-06-24 07:43:29 -07:00
Adam Vandenberg
aafe2f20d0 Add Fortran ENV helpers 2013-06-24 07:38:25 -07:00
Adam Vandenberg
41352cf1a8 Update audit for Fortran dependency 2013-06-24 07:38:25 -07:00
Adam Vandenberg
0f1d491d81 Add :fortran requirement 2013-06-24 07:35:42 -07:00
Adam Vandenberg
4c26224a24 Misplaced manpages fail brewbot
Closes Homebrew/homebrew#20711.
2013-06-24 07:34:45 -07:00
Adam Vandenberg
1a72c85a05 Use 'path or URL' as tap for non-tap, non-core formulae 2013-06-24 07:33:37 -07:00
Adam Vandenberg
b9b1dfb9a6 Show tap/path for non-core formulae on build failure
Closes Homebrew/homebrew#16373.
Closes Homebrew/homebrew#20725.
2013-06-24 07:33:29 -07:00
Adam Vandenberg
1aabba7b9e Show conflicting files on install if linking fails
Closes Homebrew/homebrew#18303.
Closes Homebrew/homebrew#20726.
2013-06-24 07:31:44 -07:00
Jack Nagel
59e6249862 Actually make the assertion we care about 2013-06-24 08:52:41 -05:00
Jack Nagel
6b5e73a2c3 Copy env_proc when merging deps 2013-06-24 08:52:41 -05:00
Adam Vandenberg
9903e7cd92 Remove unused guard in canonical_name
Closes Homebrew/homebrew#20718.
2013-06-23 18:44:10 -07:00
Adam Vandenberg
66fc5fa48a document canonical name and move vars down to usage
Closes Homebrew/homebrew#20719.
2013-06-23 18:42:18 -07:00
Adam Vandenberg
8777901cf0 Use unicode escape
Prevents this character from being changed when resaving this file
with TextMate (1) on Snow Leopard.

Closes Homebrew/homebrew#20715.
2013-06-23 16:43:32 -07:00