3989 Commits

Author SHA1 Message Date
Jack Nagel
bf0e329010 Make Superenv activation explicit 2013-08-19 12:32:56 -05:00
Adam Vandenberg
31348c34ae add ubuntu package search 2013-08-14 22:14:35 -07:00
Adam Vandenberg
124ddce262 audit: show real name for aliases 2013-08-14 21:35:46 -07:00
Samuel John
cae03e3363 brew reinstall: Reuse options from last time
Now, we can finally stop stuggesting to
    `brew rm <foo>` and then `brew install <foo> <with-your-preferred options>

So `brew reinstall` will honor all options that have been recorded
into the INSTALL_RECEIPT.json plus if `--build-bottle` was used.
2013-08-14 22:25:03 +02:00
Misty De Meo
f960cf94d1 Doctor: missed CLT URL replacement 2013-08-10 22:30:15 -07:00
Misty De Meo
49cd13406b Update URL for CLT download
http://connect.apple.com is still down, but
https://developer.apple.com/downloads has all of the Apple developer
downloads available.

Fixes Homebrew/homebrew#21812.
2013-08-10 22:05:18 -07:00
Jack Nagel
966e82663f Make usage of ObserverPathnameExtension more obvious
Remove use of globals.

Closes Homebrew/homebrew#21795.
2013-08-10 19:02:00 -05:00
Adam Vandenberg
bcaa823538 Add fedora to brew search 2013-08-09 09:32:51 -07:00
Adam Vandenberg
5600713bbb Add opensuse package search 2013-08-05 15:05:02 -07:00
Adam Vandenberg
1540b3aadd Search marcqualie/nginx
Closes Homebrew/homebrew#21678.
2013-08-05 13:32:23 -07:00
Mike McQuaid
5104fd21a5 bottles: update version regex messaging. 2013-08-04 08:25:51 -07:00
Adam Vandenberg
583dd38b08 Add homebrew-binary to search 2013-08-03 10:27:45 -07:00
Ches Martin
7d30e4445e brew-create: don't break when given --set-version
Since 9f2782812cbaf2, specifying a version breaks with:

    Error: undefined method `detected_from_url?' for "1.2.2":String

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-08-03 10:11:11 -07:00
Jack Nagel
faf0a7204a Improve signal-to-noise ratio of brew list --unbrewed
Closes Homebrew/homebrew#21573.
2013-08-01 22:13:46 -05:00
Mike McQuaid
b072da141f audit: don't complain about bottle versions.
`brew bottle` already complains and this is a niche case.

References Homebrew/homebrew#21374.
2013-07-28 16:26:16 -07:00
Jack Nagel
366cb87aec search: silence JSON decode errors
Closes Homebrew/homebrew#21506.
Closes Homebrew/homebrew#21508.
2013-07-28 15:38:46 -05:00
Adam Vandenberg
9608c2bfae audit: add TODO 2013-07-23 10:51:07 -07:00
Jack Nagel
387200cea5 audit: use !~ instead of "not ... =~" 2013-07-23 11:22:16 -05:00
Jack Nagel
be984215c9 audit: fix dep name escaping 2013-07-23 11:22:15 -05:00
Jack Nagel
a3863394c0 audit: escape dep before regexp interpolation 2013-07-22 22:53:43 -05:00
Jack Nagel
3afa9c2ceb audit: fix indentation 2013-07-22 22:53:22 -05:00
Jack Nagel
dd9b317e24 audit: fix broken condition 2013-07-22 22:53:11 -05:00
Adam Coffman
753adbb0ce upgrade: put exit statements in both conditional branches
This check was only occurring in one branch of the conditional.
As a result, if you ran `brew upgrade` with no args and there were no packages to upgrade,
the nonsensical message

"==> Upgrading 0 outdated package, with result:"

would be printed.

Closes Homebrew/homebrew#21316.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-07-18 15:35:17 -05:00
Mike McQuaid
f3821364a7 Warn more about failing bottle version detection.
This is needed for local bottle installation and also possible when
detecting bottle versions from URLs.
2013-07-18 09:56:55 -07:00
Adam Vandenberg
ebcf8be789 audit: skip an audit for mongodb 2013-07-17 06:58:11 -07:00
Adam Vandenberg
456621bb54 audit: ARGV.find is a warning, .value is allowed 2013-07-17 06:58:10 -07:00
Samuel John
702b5e5ba2 doctor: Using Xcode-only is no longer experimental
In 10.9 we'll probably have to use that code path
anyways and by now we have adapted all formulae
to be able to build on Xcode-only.
2013-07-17 15:18:00 +02:00
Jack Nagel
d9790309a6 Fix SYMROOT audit 2013-07-16 23:15:22 -05:00
Jack Nagel
86cf6f0329 More linewise audits 2013-07-16 21:39:46 -05:00
Jack Nagel
b4bb0bf1c0 Audit text linewise 2013-07-16 21:25:02 -05:00
Jack Nagel
a632994403 Audit conditional deps that can be made declarative 2013-07-16 21:24:54 -05:00
Jack Nagel
51023ef15b Fix some false-positive build-time dep audits 2013-07-16 15:49:11 -05:00
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