25 Commits

Author SHA1 Message Date
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
Adam Vandenberg
89717c9d90 Add sample external commands: dirty, leaves, options
See:

* http://github.com/mxcl/homebrew/issues/issue/1359
* http://github.com/mxcl/homebrew/issues/issue/1438
2010-06-07 21:43:20 -07:00