Adam Vandenberg
9c694e5335
Make non-exes in bin fatal to brew-bot
...
Closes #10817 .
2013-06-28 08:57:49 -07:00
Paul Fitzpatrick
9c1bafe53f
brew --env: Add missing CPATH environment variable
...
Closes #20813 .
Signed-off-by: Adam Vandenberg <flangy@gmail.com >
2013-06-27 21:00:22 -07:00
Jack Nagel
fa69f8e3b6
Add an exception for imagemagick in build-time dep audit
2013-06-27 21:17:28 -05:00
Misty De Meo
3022e78622
Clarify ENV.gcc, ENV.llvm c++ compiler names
2013-06-27 15:13:02 -05:00
Misty De Meo
62def03f2c
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
4e5992efd3
bottles: remove legacy tab handling.
...
References #20716 .
2013-06-27 10:09:37 +01:00
Jack Nagel
ba90af7946
Use old #eql? for python reqs, for now
2013-06-27 01:43:30 -05:00
Jack Nagel
bc80b3d190
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
edfce76fe5
Remove unused guard
...
Closes #20716 .
2013-06-26 20:32:13 -07:00
Jack Nagel
ce0b989c63
Add syntax sugar for MPIDependency
...
Closes #20797 .
2013-06-26 22:18:13 -05:00
Adam Vandenberg
81cc136f34
Be explicit about passing formulae names or instances to Tab
2013-06-26 19:58:08 -07:00
Misty De Meo
37469d3072
info: Only print Cellar info if it exists
2013-06-26 20:19:55 -05:00
Jack Nagel
be38b92d68
Don't use 'obj == nil'
2013-06-26 18:47:00 -05:00
Jack Nagel
2db090fd4a
audit: don't try to audit missing deps
...
Refs #20829 .
2013-06-26 18:09:12 -05:00
Jack Nagel
8727de5d78
Print inspected values in dependency collector errors
2013-06-26 15:25:09 -05:00
Jack Nagel
e4468baae3
Clean up brew options
2013-06-26 15:11:34 -05:00
Adam Vandenberg
579f3d6170
Reword uses comment
2013-06-26 11:33:31 -07:00
Mike McQuaid
6815e701ef
ARGV: filter build-bottle from dependencies.
...
Fixes #20682 .
2013-06-26 19:25:39 +01:00
David Rice
0367072c98
Detect Command Line Tools on Mavericks.
...
Closes #20774 .
2013-06-26 19:09:06 +01:00
Jack Nagel
f3ff194cfe
Formula.each: note why import failed
...
Refs #20819 .
2013-06-26 13:02:48 -05:00
Jack Nagel
1553496664
uses: fail fast if invalid formula names are given
...
Fixes #20819 .
2013-06-26 12:59:46 -05:00
Adam Vandenberg
b2df2f7292
Skip test on Xcode only systems
2013-06-26 09:45:32 -07:00
Jack Nagel
4d4ad98094
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
21fef89630
Fix info --github
...
Closes #20780 .
2013-06-25 11:21:04 -07:00
Jack Nagel
6c2329fbe0
Note which formula's requirements failed
...
Closes #20713 .
2013-06-25 10:37:34 -05:00
Jack Nagel
b43a5ec6b7
Yield correct dependent when expanding requirements
2013-06-25 10:12:14 -05:00
Jack Nagel
957b32b1f2
Uniqify tags when merging dependencies
2013-06-25 10:12:14 -05:00
Jack Nagel
8de8030009
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
28126c8163
Add 'From:' to GitHub url for formula
...
Closes #20724 .
2013-06-24 07:43:29 -07:00
Adam Vandenberg
80135fe5a9
Add Fortran ENV helpers
2013-06-24 07:38:25 -07:00
Adam Vandenberg
09e477d1f0
Update audit for Fortran dependency
2013-06-24 07:38:25 -07:00
Adam Vandenberg
8806220848
Add :fortran requirement
2013-06-24 07:35:42 -07:00
Adam Vandenberg
3505565227
Misplaced manpages fail brewbot
...
Closes #20711 .
2013-06-24 07:34:45 -07:00
Adam Vandenberg
c521b1afb1
Use 'path or URL' as tap for non-tap, non-core formulae
2013-06-24 07:33:37 -07:00
Adam Vandenberg
29847b54aa
Show tap/path for non-core formulae on build failure
...
Closes #16373 .
Closes #20725 .
2013-06-24 07:33:29 -07:00
Adam Vandenberg
d8d41ccabc
Show conflicting files on install if linking fails
...
Closes #18303 .
Closes #20726 .
2013-06-24 07:31:44 -07:00
Jack Nagel
1c017129db
Actually make the assertion we care about
2013-06-24 08:52:41 -05:00
Jack Nagel
f07633de41
Copy env_proc when merging deps
2013-06-24 08:52:41 -05:00
Adam Vandenberg
f83bc2f56b
Remove unused guard in canonical_name
...
Closes #20718 .
2013-06-23 18:44:10 -07:00
Adam Vandenberg
2c1172d64b
document canonical name and move vars down to usage
...
Closes #20719 .
2013-06-23 18:42:18 -07:00
Adam Vandenberg
34fb41411b
Use unicode escape
...
Prevents this character from being changed when resaving this file
with TextMate (1) on Snow Leopard.
Closes #20715 .
2013-06-23 16:43:32 -07:00
Adam Vandenberg
d038bfa1c2
irb: pass strings to factory, not symbols
2013-06-23 13:07:55 -07:00
Adam Vandenberg
61f0054ffa
remove no-op code in bottle.rb
...
ARGV.formulae returns formulae, so no need to pass through factory
2013-06-23 13:02:10 -07:00
Adam Vandenberg
6a89d89bdf
Clean the cleaner
...
* Fix a comment; we pass in formulae not names
* Don't pass the formula to factory; this is just a pass-through
* Move require to top-level
2013-06-23 12:54:28 -07:00
Mike McQuaid
f830d39232
caveats: tweak reload wording.
2013-06-23 14:31:43 +01:00
Jack Nagel
79a69b9b46
Extract constant in GitHub module
2013-06-22 22:47:00 -05:00
Jack Nagel
49e06a4669
Extract method in Github module
2013-06-22 22:46:49 -05:00
Jack Nagel
93376954f5
Remove trailing whitespace
2013-06-22 22:46:39 -05:00
Jack Nagel
49b2065a95
Remove MultiJson
...
Closes #20696 .
2013-06-22 21:40:26 -05:00
Jack Nagel
c7c8d6c02d
Use OkJson directly
2013-06-22 21:34:03 -05:00