789 Commits

Author SHA1 Message Date
Adam Vandenberg
18f9969b65 Add formula name to LLVM warning 2010-09-29 21:53:05 -07:00
Adam Vandenberg
76dcc1929b refactor compiler messages 2010-09-29 21:52:55 -07:00
Adam Vandenberg
400aa9eac9 Don't allow unsupported dep types 2010-09-29 21:44:46 -07:00
Adam Vandenberg
5707787358 brew-doctor - add access check to include 2010-09-29 11:56:58 -07:00
Adam Vandenberg
e757d7c956 add libpcap to list 2010-09-27 18:36:14 -07:00
Adam Vandenberg
3d1fb263e8 Tweak man entry for brew uses 2010-09-27 09:57:25 -07:00
Adam Vandenberg
82fe02170a fix typo 2010-09-26 18:06:43 -07:00
James Conroy-Finn
098159d811 Fix brew list completion and add support for --versions switch
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-09-25 22:12:53 -07:00
Adam Vandenberg
8a60d852b3 Check git repos for validity before updating.
If you `brew install erlang` and then control-C during the git clone,
you can leave your cloned repo in an invalid state.

This change does a "git status" on the clone if it exists, and nukes
it if the status is invalid (forcing a clean clone.)
2010-09-24 07:50:20 -07:00
Adam Vandenberg
e750242b73 Add another file check to check_for_macgpg2 2010-09-22 15:24:41 -07:00
Adam Vandenberg
b2cde10e7e ImageMagick - use svn repo instead of tarballs
The ImageMagick mirrors like to drop old tarballs, which means that our
formula breaks whenever the version we're using disappears.

So I've switched to using their SVN repo (and added a --HEAD build.)

Caveat: Their SVN repo is only served over https, with a bad cert,
so this brew know has a custom SVN download strategy that auto-accepts
that cert.

If this bothers you, get ImageMagick to fix their cert upstream (or
let us know where a stable tarball mirror lives.)
2010-09-21 21:28:29 -07:00
Martin Kühl
730cd0e6fe Let the gzip utility function accept multiple paths.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-09-19 11:11:56 -07:00
Adam Vandenberg
389fdec9d4 brew-fetch - warn if checksums differ 2010-09-17 17:11:27 -07:00
Adam Vandenberg
b60a1b1ebe typo 2010-09-16 11:27:56 -07:00
Adam Vandenberg
14b8148677 add 'brew install --force' to manpage 2010-09-16 09:56:59 -07:00
Bo Borgerson
80e17cde57 test_updater: Make fixture internally consistent
The update_git_pull_output_with_formulae_changes fixture (which consists
of mocked-up `git pull` output) listed a few files as both updated and
deleted.  This caused the test_update_homebrew_with_formulae_changes test to
fail.  My guess is that this fixture was mocked-up before formula deletion
handling was introduced, and became broken when it was.  This revision just
makes this fixture internally consistent, and allows the associated test to
pass.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-09-15 09:36:27 -07:00
Adam Vandenberg
581d35a087 brew-audit - empty checksums with either type of quote 2010-09-14 16:13:57 -07:00
Adam Vandenberg
12dceba820 brew-audit - check for commented-out dependencies
"brew audit" will now warn about commented-out dependencies.

Updated formulae that had these to either take them out or rewrite
the comments around them.
2010-09-13 15:16:09 -07:00
Adam Vandenberg
d518fca81c Fetch new tags for git repos when cached. 2010-09-13 15:00:54 -07:00
Max Howell
2f438179a7 Don't descend keg-root symlinks, just show where they point 2010-09-12 22:10:28 +01:00
Max Howell
400507b18a Pathname./ because it looks a lot better than + 2010-09-12 21:57:17 +01:00
Adam Vandenberg
b7afc8d8cf brew-audit - check SourceForge urls 2010-09-09 14:16:05 -07:00
Adam Vandenberg
a7e902ce78 brew-audit - yet another path shortcut check 2010-09-08 09:22:48 -07:00
Adam Vandenberg
b98d8366bc brew-audit - check inreplace block var name 2010-09-08 09:07:59 -07:00
Adam Vandenberg
bb3f9c4f3e Fix brew-leaves 2010-09-08 07:48:11 -07:00
Adam Vandenberg
ef1f45fbc3 Document brew options 2010-09-08 05:27:09 -07:00
Adam Vandenberg
e9043abc57 brew-audit - catch more interpolation style issues 2010-09-07 14:36:51 -07:00
Adam Vandenberg
2bb9fa1b22 Bump Xcode recommendation to 3.2.3 2010-09-07 13:23:43 -07:00
Adam Vandenberg
e1af735d77 ENV.rb - style tweak 2010-09-07 10:09:22 -07:00
Adam Vandenberg
339abc769d brew-doctor - fix llvm typo 2010-09-07 10:05:51 -07:00
Adam Vandenberg
14353b5491 brew-audit: add check for git and fix warnings 2010-09-07 09:23:29 -07:00
Adam Vandenberg
53cf7e843b Add ENV.ldflags and use. 2010-09-06 11:48:21 -07:00
Adam Vandenberg
56a4342eeb Use 'realpath' 2010-09-06 09:30:23 -07:00
Will Robertson
64b45334bb Improve :provided_by_osx rationale message
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-09-06 09:14:17 -07:00
David Höppner
6907bdae01 Update help options 2010-09-04 12:48:37 +02:00
Ryan Pavlik
07f4efa878 Fix typo in update.rb
Signed-off-by: David Höppner <0xffea@gmail.com>
2010-08-30 18:14:05 +02:00
David Höppner
bbad458c9b Blacklist vim, screen and libarchive 2010-08-29 19:06:49 +02:00
lukas
bd6fb10361 Fixed recognition of versions like 'foobar-4.50-beta' in Pathname#version
Sphinx currently has a download name 'http://sphinxsearch.com/downloads/sphinx-1.10-beta.tar.gz', which homebrew currently can't correctly identify - with a small change to the regex for 'foobar-4.5.0-beta1' (make that trailing number optional) - it works like a charm.

Signed-off-by: David Höppner <0xffea@gmail.com>
2010-08-27 17:53:06 +02:00
Adam Vandenberg
1e5b23f2db Define "snow_leopard_64?"
snow_leopard_64? (defined in Hardware) is a short-cut for:
  MACOS_VERSION >= 10.6 and Hardware.is_64_bit?

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-22 20:11:03 -07:00
Adam Vandenberg
1146eec3bf Only check for Jars if lib exists. 2010-08-21 14:12:10 -07:00
Adam Vandenberg
4b198a6664 Warn about jars in lib.
Java software tends to come with its own mini file layout including
bin, lib and other folders. The lib folder typically holds jars,
which can conflict between packages if linked into HOMEBREW_PREFIX/lib
and aren't needed to compile other .dylib based software anyway.

The recommendation for Java software is to install to "libexec" and then
symlink or wrap binaries from libexec/bin to bin in the Cellar.
2010-08-21 12:18:17 -07:00
Adam Vandenberg
c905fb79f4 brew audit - Google Code homes w/o trailing slash
Without a trailing slash, you redirect to the URL w/ a slash, so
might as well have it there in the first place.
2010-08-21 12:00:38 -07:00
Adam Vandenberg
c9d41345d0 Deal with symlinked meta files 2010-08-21 11:45:08 -07:00
Adam Vandenberg
4e6d7a4de9 Man sections only run through 8 2010-08-21 11:25:14 -07:00
Adam Vandenberg
3d1679d91d Document HOMEBREW_KEEP_INFO 2010-08-21 11:24:58 -07:00
Adam Vandenberg
3a4ab5ed97 HOMEBREW_KEEP_INFO to keep info pages 2010-08-21 11:23:54 -07:00
Adam Vandenberg
0fd221dadd use f.info 2010-08-21 11:07:04 -07:00
Adam Vandenberg
8ff8b84235 Move cleaner to separate file 2010-08-21 11:06:02 -07:00
Adam Vandenberg
04c0342d96 comment link step 2010-08-21 10:51:43 -07:00
Adam Vandenberg
eecddb356d Document 'brew man' and add links to gems. 2010-08-20 10:18:03 -07:00