871 Commits

Author SHA1 Message Date
Adam Vandenberg
f4ce357d44 brew-doctor - alt. autoconf path 2010-10-26 09:19:07 -07:00
Adam Vandenberg
ee72f25b88 brew-test - make ENV available to tests 2010-10-25 09:31:06 -07:00
Adam Vandenberg
06c7f4a29d fix jruby external deps 2010-10-21 21:58:18 -07:00
Adam Vandenberg
405613a0ef brew-audit - add check for tabs.
Add a new mode "brew audit --warn" that performs stricter checks
that might not need to be fixed.

Currently this includes a check for using tabs instead of spaces
for indentation; Homebrew style is "2-space indentation."

Documented this new switch.
2010-10-21 07:53:37 -07:00
Adam Vandenberg
b82be5c8b0 brew-doctor - fix keg-only check 2010-10-20 20:05:44 -07:00
Adam Vandenberg
b6bd22bfc9 brew-doctor - tweak git message 2010-10-20 19:29:02 -07:00
Adam Vandenberg
93a0d56386 brew-doctor - also check /usr/local/etc 2010-10-20 19:28:46 -07:00
Adam Vandenberg
06f484d1e5 typo in comment 2010-10-19 21:52:54 -07:00
Michael Morgan
3ea550100f extract undent test to test case
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-17 21:13:16 -07:00
Adam Vandenberg
599c7fe7d0 Add link shortcut ln to doc 2010-10-17 17:52:21 -07:00
Adam Vandenberg
266b3265aa Add remove --force 2010-10-17 17:52:10 -07:00
Adam Vandenberg
560408d01b Use classes instead of strings for exceptions 2010-10-17 17:21:21 -07:00
Dougal Sutherland
dbd7f1c855 clean up wording in the macports/fink warning msg
Signed-off-by: Adam Vandenberg <flangy@gmail.com>

 * Additional tweaks by me.
2010-10-17 15:59:38 -07:00
Adam Vandenberg
91f3823997 update - consistent quoting; use INIT_COMMAND 2010-10-16 15:39:56 -07:00
Adam Vandenberg
d8e3640e1e Document fetch --force 2010-10-13 07:17:23 -07:00
Adam Vandenberg
739f96843a Document fetch --HEAD 2010-10-13 06:48:38 -07:00
Adam Vandenberg
64027ae9d5 Document brew install --force --HEAD 2010-10-13 06:43:04 -07:00
Adam Vandenberg
61156e979f brew-audit - don't complain about --HEAD options 2010-10-12 08:44:03 -07:00
Adam Vandenberg
9108e3956c Allow :build dependencies. 2010-10-12 07:13:27 -07:00
Adam Vandenberg
48cdd7bc87 brew-audit - check for include? --HEAD 2010-10-08 20:12:11 -07:00
Adam Vandenberg
d501b256e5 add test to completion 2010-10-07 20:27:12 -07:00
Adam Vandenberg
9e1470684f Coerce ENV.append/prepend values to strings.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-05 13:41:38 -07:00
Adam Vandenberg
2366cb3f9b document brew log 2010-10-04 17:12:34 -07:00
Adam Vandenberg
80ae0e6d95 add install check for top-level info 2010-10-03 20:23:51 -07:00
Tianyi Cui
915b018e15 Added FossilDownloadStrategy (Fossil SCM support)
This will enable downloading source repository using fossil SCM.
For example, formulae `fossil` and `mongrel2` can have HEAD version.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-03 09:11:14 -07:00
Adam Vandenberg
25f6bffa30 brew doctor - remove double negative 2010-10-02 10:40:36 -07:00
Adam Vandenberg
b9dc3c6527 add Xcode version to brew --config 2010-10-01 21:08:42 -07:00
Adam Vandenberg
f708b0b81f brew-missing - don't count outdated as missing 2010-10-01 07:12:21 -07:00
Adam Vandenberg
8b8bf79315 Some people alias 'ls' so escape it in bash completion 2010-10-01 07:07:46 -07:00
Adam Vandenberg
20e2844df7 brew-audit - use preferred debian mirror 2010-09-30 10:43:57 -07:00
Adam Vandenberg
8eaa812711 improve std_cmake_parameters comments 2010-09-29 22:00:24 -07:00
Adam Vandenberg
bb01afce4c Move resolve_alias from ARGV to Formula
Also, call this function from a few places where the code was duplicated.
2010-09-29 21:55:44 -07:00
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