4653 Commits

Author SHA1 Message Date
Jack Nagel
59fdcfd4d0 Better behavior for failed connections in brew search
Fixes Homebrew/homebrew#20868.
2013-07-01 17:00:08 -05:00
Mike McQuaid
621c44dbd2 CLT is just CLT now; not "for Xcode".
References Homebrew/homebrew#17383.
2013-07-01 19:02:32 +01:00
Misty De Meo
be9f2d7dea Add Haswell to CPU tests
These tests need a lot of work...
2013-07-01 01:06:44 -05:00
Misty De Meo
5eeb0e79a3 Hardware::CPU (Mac): add Haswell
See Homebrew/homebrew#20935.
2013-07-01 00:44:54 -05:00
Adam Vandenberg
1c1b7ed683 Fix appending .rb to local formulae names
Closes Homebrew/homebrew#20926.
2013-06-30 14:36:12 -07:00
Victor Martinez
829675719b Fixed several broken sourceforge.net download locations
Closes Homebrew/homebrew#20645.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-30 12:17:57 -07:00
Adam Vandenberg
fbe03d2cc1 audit sourceforge URLs even harder 2013-06-30 12:17:47 -07:00
Adam Vandenberg
5437a480eb install plist before linking
If linking fails,  won't try to re-install the plist.

Closes Homebrew/homebrew#20843.
2013-06-30 11:16:53 -07:00
Adam Vandenberg
b40615d66a Catch another name error
Closes Homebrew/homebrew#20920.
2013-06-30 10:26:12 -07:00
Jack Nagel
5b75c73df6 Do this in a saner way 2013-06-29 21:36:04 -05:00
Jack Nagel
936f9487b1 doctor: don't pass pathnames to Formula.factory
Fixes Homebrew/homebrew#20908.
2013-06-29 21:26:49 -05:00
Adam Vandenberg
8e944d5728 Add 'unload' 2013-06-29 16:44:45 -07:00
Adam Vandenberg
5c27f0ccb9 Formulary.factory always expects a string 2013-06-29 16:44:45 -07:00
Adam Vandenberg
c2a5e3608c Use Formula Loaders 2013-06-29 16:44:45 -07:00
Adam Vandenberg
099a62c95b Move Formula.factory into new Formulary module 2013-06-29 16:44:44 -07:00
Jack Nagel
dbe04be448 Don't attempt to audit md5 checksums, but complain if they are used 2013-06-29 15:36:44 -05:00
Shaun Jackman
f7b8fb1da0 os/linux/hardware: uname -m may be /i[3-6]86/
Closes homebrew/linuxbrew#16

Closes Homebrew/homebrew#20903.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-06-29 13:15:59 -05:00
Adam Vandenberg
3654822f77 Add TODO to canonical_name 2013-06-29 09:40:54 -07:00
Adam Vandenberg
a6777838d4 Pass strings to factory 2013-06-29 09:38:57 -07:00
Mike McQuaid
e62ad08af8 brew-cleanup-installed: add new external command.
brew-cleanup-installed: uninstall all non-whitelisted Homebrew formulae.

Useful for maintainers/testers who regularly install lots of formulae
they don't actually use.

Populate ~/.brew-cleanup-installed with the formulae you want to keep
installed. All others will be uninstalled when brew-cleanup-installed is run.
2013-06-29 13:27:18 +01:00
Mike McQuaid
e6354b84a6 brew-test-bot: change default email subject. 2013-06-29 13:27:18 +01:00
Jack Nagel
f6536e9c8b Reject versions that aren't strings 2013-06-28 21:18:04 -05:00
Jack Nagel
033ef09518 Detect versions in tag specs
Closes Homebrew/homebrew#18300.
Closes Homebrew/homebrew#20891.
2013-06-28 21:17:23 -05:00
Jack Nagel
74b60a561c Simplify custom version scheme handling 2013-06-28 21:17:12 -05:00
Mike McQuaid
edbc0fadd1 brew-test-bot: improve JUnit output for Jenkins. 2013-06-29 01:37:51 +01:00
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