Commit Graph
935 Commits
Author SHA1 Message Date
Misty De Meo 77277da8ff Doctor: missed CLT URL replacement 2013-08-10 22:30:15 -07:00
Misty De Meo 2f147fb8d1 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 #21812.
2013-08-10 22:05:18 -07:00
Jack Nagel 99976efeed Make usage of ObserverPathnameExtension more obvious
Remove use of globals.

Closes #21795.
2013-08-10 19:02:00 -05:00
Adam Vandenberg 2a89cc64da Add fedora to brew search 2013-08-09 09:32:51 -07:00
Adam Vandenberg f6acb06bfe Add opensuse package search 2013-08-05 15:05:02 -07:00
Adam Vandenberg 9dce44474f Search marcqualie/nginx
Closes #21678.
2013-08-05 13:32:23 -07:00
Mike McQuaid da904368d4 bottles: update version regex messaging. 2013-08-04 08:25:51 -07:00
Adam Vandenberg 4180510d86 Add homebrew-binary to search 2013-08-03 10:27:45 -07:00
Ches Martin 0abe3d08e9 brew-create: don't break when given --set-version
Since 9f2782812c, 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 4b51e119a8 Improve signal-to-noise ratio of brew list --unbrewed
Closes #21573.
2013-08-01 22:13:46 -05:00
Mike McQuaid c45c77d031 audit: don't complain about bottle versions.
`brew bottle` already complains and this is a niche case.

References #21374.
2013-07-28 16:26:16 -07:00
Jack Nagel c08b13851a search: silence JSON decode errors
Closes #21506.
Closes #21508.
2013-07-28 15:38:46 -05:00
Adam Vandenberg 12426c87b1 audit: add TODO 2013-07-23 10:51:07 -07:00
Jack Nagel 6f5897ae96 audit: use !~ instead of "not ... =~" 2013-07-23 11:22:16 -05:00
Jack Nagel a82c997bb9 audit: fix dep name escaping 2013-07-23 11:22:15 -05:00
Jack Nagel 49e8f9b5ff audit: escape dep before regexp interpolation 2013-07-22 22:53:43 -05:00
Jack Nagel 65786d6ebe audit: fix indentation 2013-07-22 22:53:22 -05:00
Jack Nagel 9456d8a4ee audit: fix broken condition 2013-07-22 22:53:11 -05:00
Adam Coffman 394d7be6a4 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 #21316.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-07-18 15:35:17 -05:00
Mike McQuaid d6a6caefb3 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 3e1eab105a audit: skip an audit for mongodb 2013-07-17 06:58:11 -07:00
Adam Vandenberg 0a42c40a8b audit: ARGV.find is a warning, .value is allowed 2013-07-17 06:58:10 -07:00
Samuel John f6146e64de 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 b2612035b7 Fix SYMROOT audit 2013-07-16 23:15:22 -05:00
Jack Nagel 58eaa1dc0e More linewise audits 2013-07-16 21:39:46 -05:00
Jack Nagel ae891756e9 Audit text linewise 2013-07-16 21:25:02 -05:00
Jack Nagel 7ddf54f781 Audit conditional deps that can be made declarative 2013-07-16 21:24:54 -05:00
Jack Nagel 905681f431 Fix some false-positive build-time dep audits 2013-07-16 15:49:11 -05:00
Mike McQuaid 071112c6fc 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 e66faeb8a0 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 eab019aef9 upgrade: don't rely on return value of 'onoe' 2013-07-15 23:47:04 -05:00
Jack Nagel de2ad8fdb9 upgrade: make condition clearer 2013-07-15 23:47:03 -05:00
Jack Nagel cf4cbacbde upgrade: move require out of method body 2013-07-15 23:47:03 -05:00
Jack Nagel 2671965a38 upgrade: remove redundant conditional
Since e1c62c3546, 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 b75de51ca8 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 689f7bbbde bottle: fix cellar output. 2013-07-14 12:11:57 -07:00
Adam Vandenberg dd4c6f0675 audit: improve comment 2013-07-12 23:00:08 -07:00
Adam Vandenberg 1f05ec1535 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 e096fba9d8 fix deps
Closes #21113.
2013-07-10 06:59:45 -07:00
Adam Vandenberg d9aa5e3bca github doesn't use .io urls 2013-07-09 20:50:30 -07:00
phinze 90e3fd0f43 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 e613cbe578)

Refs #19743.
Closes #21087.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-07-09 20:52:51 -05:00
Adam Vandenberg 6afd6e0f48 audit more template comments 2013-07-05 12:05:29 -07:00
Adam Vandenberg da3e11c6f0 Add audit for leading 'v' in version numbers 2013-07-04 08:49:10 -07:00
Adam Vandenberg bf5f1cafe8 Don't always show an error at the end of brew versions 2013-07-03 10:06:11 -07:00
Adam Vandenberg cd9a87ef44 audit default template comments 2013-07-03 09:20:41 -07:00
Adam Vandenberg bbb9ad2a21 versions: pass string to factory
Closes #20951.
2013-07-01 16:46:05 -07:00
Jack Nagel 08c3fb0ed2 Better behavior for failed connections in brew search
Fixes #20868.
2013-07-01 17:00:08 -05:00
Mike McQuaid 31bf918ecb CLT is just CLT now; not "for Xcode".
References #17383.
2013-07-01 19:02:32 +01:00
Adam Vandenberg 6cf14a7196 audit sourceforge URLs even harder 2013-06-30 12:17:47 -07:00
Jack Nagel ca1048bfca Do this in a saner way 2013-06-29 21:36:04 -05:00