4907 Commits

Author SHA1 Message Date
Mike McQuaid
897607b3d7 audit: use FormulaCellarChecks module.
Perform post-installation checks if a formula is installed.
Added for brew test-bot to be able to fail on bad Cellar installation.
2013-07-16 13:29:37 -07:00
Samuel John
8f0a073bf6 Audit LanguageModuleDependency for python
LanguageModuleDependency.new(:python,...) is deprecated now.
Replace it by
    depends_on :python => ['module' => 'name-on-PyPi']
2013-07-16 11:10:14 +02:00
Jack Nagel
9fb163d34c upgrade: don't rely on return value of 'onoe' 2013-07-15 23:47:04 -05:00
Jack Nagel
42cceeb4a0 upgrade: make condition clearer 2013-07-15 23:47:03 -05:00
Jack Nagel
b4419992ab upgrade: move require out of method body 2013-07-15 23:47:03 -05:00
Jack Nagel
1678a4a65d upgrade: remove redundant conditional
Since e1c62c35465eb6149688c745e4309438c08c410b, we exit early if the
outdated array is empty, so we no longer need to check this before
proceeding.
2013-07-15 23:47:02 -05:00
Jack Nagel
6b299c4207 Clarify behavior of brew search without an argument
As documented in the man page, when given no arguments, `brew search`
will list all formulae. This is different than giving an *empty*
argument.
2013-07-15 10:59:00 -05:00
Mike McQuaid
4eb7116c9c bottle: fix cellar output. 2013-07-14 12:11:57 -07:00
Adam Vandenberg
aba88a8502 audit: improve comment 2013-07-12 23:00:08 -07:00
Adam Vandenberg
34ae063c67 audit: remove github warning
All core formulae have been migrated to .io addresses except
for software maintained by github itself.
2013-07-12 21:26:55 -07:00
Adam Vandenberg
ae9401291d fix deps
Closes Homebrew/homebrew#21113.
2013-07-10 06:59:45 -07:00
Adam Vandenberg
37e64a2402 github doesn't use .io urls 2013-07-09 20:50:30 -07:00
phinze
9a94a77fa3 Properly define tapped formulae in update
A tapped formula is a ruby file present:

  - in the root of the tap
  - in directory of the tap called Formula
  - in a directory of the tap called HomebrewFormula

And nowhere else. This corrects an overzealous definition of tapped
formula in the updater. (the correct definition has been in Pathname
since e613cbe5783cea2abb8100b56c22126a1ab6b9f2)

Refs Homebrew/homebrew#19743.
Closes Homebrew/homebrew#21087.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-07-09 20:52:51 -05:00
Adam Vandenberg
527f80b83d audit more template comments 2013-07-05 12:05:29 -07:00
Adam Vandenberg
d9487a96ea Add audit for leading 'v' in version numbers 2013-07-04 08:49:10 -07:00
Adam Vandenberg
1e6e1dde4c Don't always show an error at the end of brew versions 2013-07-03 10:06:11 -07:00
Adam Vandenberg
7e54d013e7 audit default template comments 2013-07-03 09:20:41 -07:00
Adam Vandenberg
472b6e4fe1 versions: pass string to factory
Closes Homebrew/homebrew#20951.
2013-07-01 16:46:05 -07:00
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
Adam Vandenberg
fbe03d2cc1 audit sourceforge URLs even harder 2013-06-30 12:17:47 -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
Jack Nagel
dbe04be448 Don't attempt to audit md5 checksums, but complain if they are used 2013-06-29 15:36:44 -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
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
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
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
ce4b621874 Clean up brew options 2013-06-26 15:11:34 -05:00
Adam Vandenberg
dbc1df51f4 Reword uses comment 2013-06-26 11:33:31 -07: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
faaac9482e Fix info --github
Closes Homebrew/homebrew#20780.
2013-06-25 11:21:04 -07: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
41352cf1a8 Update audit for Fortran dependency 2013-06-24 07:38:25 -07:00
Adam Vandenberg
ad320c96fd irb: pass strings to factory, not symbols 2013-06-23 13:07:55 -07:00
Adam Vandenberg
3dd2715ec8 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
Jack Nagel
083b3c84d0 Add Utils::JSON to wrap the JSON implementation 2013-06-22 21:34:02 -05:00
Jack Nagel
2356a6d874 deps: allow "--installed --tree" 2013-06-22 12:54:46 -05:00
Jack Nagel
a02d5f33b4 deps: use OpenStruct to capture the mode 2013-06-22 12:54:46 -05:00
Jack Nagel
c2faf2a0ca deps: remove need for Array extension 2013-06-22 12:54:45 -05:00
Jack Nagel
6790f6adb0 deps: extract output methods 2013-06-22 12:54:45 -05:00
Mike McQuaid
79f9da3c22 bottle: sort --merge output in OS X version order. 2013-06-22 11:13:59 +01:00
Jack Nagel
c0eb1f10de Don't clean up lockfiles if the directory doesn't exist
Fixes Homebrew/homebrew#20673.
2013-06-21 18:38:39 -05:00
Jack Nagel
3b56cb02ea Clean up lockfiles 2013-06-21 15:42:14 -05:00
Samuel John
d456d42813 doctor: share/python no longer needed in PATH
Check for HOMEBREW_PREFIX/share/python and python3
in PATH and tell about the new location and that
files from there can be removed. Also instructions
on how to upgrade python packages are given.
2013-06-19 12:27:50 +02:00