51 Commits

Author SHA1 Message Date
Adam Vandenberg
389fdec9d4 brew-fetch - warn if checksums differ 2010-09-17 17:11: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
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
e9043abc57 brew-audit - catch more interpolation style issues 2010-09-07 14:36: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
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
1bf407dd35 Tweak brew server - fixes Homebrew/homebrew#2191 2010-08-17 08:28:16 -07:00
Adam Vandenberg
6d36c4daf2 Fix brew server and document. 2010-08-15 19:47:46 -07:00
Adam Vandenberg
c9e2a9e5cb Document 'brew missing'. 2010-08-15 15:25:35 -07:00
Adam Vandenberg
f5b66f2a04 Tweak brew missing 2010-08-15 15:23:43 -07:00
Adam Vandenberg
bdd9e1aeff brew audit - check for FileUtils. 2010-08-15 15:20:56 -07:00
Adam Vandenberg
b877bc52d0 External command "brew missing"
This will print installed brews that are missing deps.
2010-08-15 15:11:09 -07:00
Adam Vandenberg
42129a7a94 brew audit - another man variation 2010-08-15 11:32:45 -07:00
Adam Vandenberg
43a1622609 Add 'brew graph' external command.
This command generates a GraphViz dot file from the Hoembrew
dependency graph.

$ brew install graphviz
$ brew graph | dot -Tsvg -ohomebrew.svg
$ open homebrew.svg
2010-08-13 09:46:17 -07:00
Adam Vandenberg
ff0ea323b5 brew audit - check used and documented options 2010-08-10 13:04:51 -07:00
Adam Vandenberg
b12cc1eb0a brew audit - most audits shouldn't happen against __END__ 2010-08-10 11:52:03 -07:00
Adam Vandenberg
664e2aebd9 brew audit - refactor text checks to make easier to test 2010-08-09 11:59:27 -07:00
Adam Vandenberg
cd50954677 brew audit - flag use of DATA with no __END__ 2010-08-09 09:11:28 -07:00
Adam Vandenberg
91b7000159 brew audit - check for empty md5 2010-08-08 18:25:56 -07:00
Adam Vandenberg
0734fa000d brew audit - more aggressive path shortcut suggestions 2010-08-08 11:22:14 -07:00
Adam Vandenberg
013fe4bf38 Move Pathname.starts_with? into Pathname 2010-08-08 09:13:27 -07:00
Adam Vandenberg
353d9561e7 brew-linkapps - expand the target path once. 2010-08-07 22:39:23 -07:00
Adam Vandenberg
bf8c8dc3f8 Formatting in brew-switch 2010-08-07 18:08:54 -07:00
Adam Vandenberg
b69d6dc4cf Add sha1 to brew fetch and document command 2010-08-07 18:08:53 -07:00
Adam Vandenberg
6612a04917 brew audit - trailing whitespace detection 2010-08-07 18:08:51 -07:00
Adam Vandenberg
bc533d59c8 brew audit - look for aliases in deps 2010-08-07 18:08:50 -07:00
Adam Vandenberg
8a35418887 Fix brew-server 2010-08-07 18:08:50 -07:00
Adam Vandenberg
c55fcc3a29 Fix brew-readall 2010-08-07 18:08:50 -07:00
Adam Vandenberg
bead62a04a Fix brew-audit 2010-08-07 18:08:50 -07:00
Adam Vandenberg
bd51ae3343 Add depends_on spacing checks to brew_audit 2010-07-23 21:31:32 -07:00
Adam Vandenberg
2bac03ef92 Use regex in brew-audit and add path concat test. 2010-07-12 10:38:06 -07:00
Adam Vandenberg
6b1a8be58e External command "brew which"
A work-in-progress command, "brew which" will show which versions of formulae
you have installed based on what symlinks exist from HOMEBREW_PREFIX back into
the Cellar.

Thus, if you happen to have symlinks into two different versions of a brew in
the Cellar (typically an error), both of those versions will be listed.

This is a diagnostic command, but some of this code will be the basis for
possible future better handling of multiple-versions-at-once.
2010-07-08 22:41:51 -07:00
Adam Vandenberg
c2c0f681f5 brew fetch shouldn't try to checksum VCS checkouts
Fixes Homebrew/homebrew#1802
2010-07-07 21:31:55 -07:00
Adam Vandenberg
b06e9ce841 external command 'brew readall' that tries to import all brews
This can be useful for debugging when making changes to formula.rb,
since that can cause problems across all formuale.
2010-07-04 11:23:32 -07:00
Adam Vandenberg
55db2e5da6 'brew fetch' now shows MD5 2010-07-04 10:44:07 -07:00
Adam Vandenberg
b583d0ae48 External command 'brew test'. 2010-06-30 07:27:23 -07:00
Adam Vandenberg
c51d74a2e3 External command "brew audit <formula>"
"brew audit <formula>" will check the given formula for a couple of
known issues:
  * Is an explicit mirror being used for a SourceForge download path?
  * Is the commented-out cmake support present?
2010-06-23 11:20:47 -07:00
Adam Vandenberg
db9b20216b brew server - use search method 2010-06-17 11:42:24 -07:00
Adam Vandenberg
aa46db87a7 Convert server to external command and enhance. 2010-06-16 15:07:19 -07:00
Adam Vandenberg
9638c1820a External command: upgrade
Reinstalls out outdated brews.
See: http://github.com/mxcl/homebrew/issues/issue/1324
2010-06-16 09:52:27 -07:00
Adam Vandenberg
77ae1821b5 Tweak usage for brew switch 2010-06-16 09:44:29 -07:00
Adam Vandenberg
ecfc8a8c11 External command: brew switch formula version
This external command allows you to switch between installed versions of
a formula. If you have multiple versions of a formula in your cellar, the
standard "brew link" command will refuse to run.

This new command "brew switch" tries to unlink all versions of the brew
from the prefix, then links the specific requested version.
2010-06-16 09:42:06 -07:00
Adam Vandenberg
5e7ac88265 brew fetch --force to force redownload of tarballs
External command "brew fetch" now allows -f|--force to remove an
existing cached file before downloading.
2010-06-15 21:52:11 -07:00
Adam Vandenberg
6fd0a120f1 External: 'brew fetch' downloads tarballs to cache. 2010-06-15 12:38:04 -07:00
Christopher Sexton
c1f5d73a77 Man page for Homebrew
Includes: generator script, ronn source, manpage output

Signed-off-by: Adam Vandenberg <flangy@gmail.com>

Man page updates.

* Generator command is now an external command with additional options
* Added more brew commands
* Tweaks and reformats
2010-06-13 21:46:24 -07:00
Adam Vandenberg
870ba9fa4b External command: brew linkapps
This command looks for Cocoa Applications (.app bundles) in the prefix
of all installed formulae. If any are found, they are linked into
"~/Applications", the system-defined location for per-user apps.
2010-06-09 13:53:50 -07:00