1841 Commits

Author SHA1 Message Date
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
741acf916e Add 'brew deps --all' 2010-08-13 09:45:27 -07:00
Adam Vandenberg
7c2841543d Tweak ARGV.usage 2010-08-11 21:15:59 -07:00
Adam Vandenberg
354a176543 Reformat manpage slightly 2010-08-11 21:10:51 -07:00
Adam Vandenberg
77c70ec472 Add "brew uses --installed"
Passing --installed will limit the list to formulae that you have installed.
Documented this and "brew deps --1" which limits the dependency list to
one level down (direct dependencies).
2010-08-11 20:54:29 -07:00
Adam Vandenberg
64cf554a7b Fix uses/deps for Leopard 2010-08-11 20:43:31 -07:00
Adam Vandenberg
7d7b5cfab0 Tweak default template 2010-08-11 14:22:44 -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
c5a9520310 ENV.rb - add ENV.cflags 2010-08-10 08:30:11 -07:00
Adam Vandenberg
5d58d99d10 ENV.rb - style cleanups 2010-08-10 07:58:08 -07:00
Adam Vandenberg
5efc579f76 brew doctor - add libiconv check 2010-08-09 22:15:10 -07:00
Adam Vandenberg
a7e6e71405 brew doctor - check all keg_only brews
Add a check to see if any keg_only brews are installed and linked
into the Cellar. Doing this can cause installs of other formulae
to fail.
2010-08-09 21:58:47 -07:00
Adam Vandenberg
612ff57894 fails_with_llvm will switch to GCC 4.2 by default 2010-08-09 21:33:30 -07:00
Adam Vandenberg
45753d31ad brew doctor - add check for non-standard autoconf 2010-08-09 21:33:06 -07:00
Adam Vandenberg
a62c16e77f brew doctor - add check for /usr/bin/cc symlinks.
If you symlink /usr/bin/cc to llvm, then Homebrew's "fails_with_llvm"
checks are bypassed. So add a warning to "brew doctor".
2010-08-09 21:06:33 -07:00
Adam Vandenberg
80c090aaae Remove redundent line and reword comments slightly. 2010-08-09 21:03:29 -07:00
Adam Vandenberg
2a80303960 Add shortcut 'brew dr'. 2010-08-09 21:03:02 -07:00
Adam Vandenberg
6c23f9b324 brew doctor - X11 check
Tweak wording in X11 check and use the same X11 detection function
as ENV.x11; also move that function into utils.
2010-08-09 19:13:07 -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
Chris Hoffman
2f3ce485f3 Fix skip_clean :all to actually skip clean step
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-09 08:13:17 -07:00
Brent Fitzgerald
d85ff377f3 Changing the magic &:downcase back to regular block.
Fixes Homebrew/homebrew#2089

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

(This is needed for 10.5 support.)
2010-08-08 18:26:13 -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
Brent Fitzgerald
eca31da253 Getting rid of pesky 'warning: parenthesize argument(s) for future version'
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-08 08:25:35 -07:00
Adam Vandenberg
353d9561e7 brew-linkapps - expand the target path once. 2010-08-07 22:39:23 -07:00
lukas
fd39ff2da6 change behaviour of github_info to fallback sooner to mxcl/master
Fixes Homebrew/homebrew#1980

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-07 22:22:15 -07:00
Adam Vandenberg
e2f0e1a26f Resolve aliases in 'brew edit'. 2010-08-07 22:15:29 -07:00
Adam Vandenberg
612af6b4fe Make "lib/node" a real folder.
Treat the "lib/node" folder like Python, Perl, etc.
Create it as a real folder in HOMEBREW_PREFIX, so that
package managers (npm) have a stable place to drop libs.
2010-08-07 21:10:41 -07:00
Adam Vandenberg
6b32dfe8de Homebrew now at version 0.7
Changes in this version include:
* Aliases are now defined by relative symlinks rather than in the
  formulae themselves. Many commands are faster now that they don't
  have to read every formula to find aliases.

* "url" now supports the same features as "head", including ":using"
  and version specifiers for VCS systems.

* Files and methods marked for deprecation in 0.7 have been removed.

* The Formula DSL now supports "skip_clean :all" and "keg_only 'reason'"
0.7
2010-08-07 18:08:54 -07:00
Adam Vandenberg
7c4adde96a 0.7 Remove deprecated make command 2010-08-07 18:08:54 -07:00
Adam Vandenberg
76de1fd588 0.7 Remove deprecated brewkit 2010-08-07 18:08:54 -07:00
Adam Vandenberg
9eea5bd447 Update Bash completion script
* Add external command completion
* Add alias completion
2010-08-07 18:08:54 -07:00
Adam Vandenberg
bf8c8dc3f8 Formatting in brew-switch 2010-08-07 18:08:54 -07:00
Adam Vandenberg
fb70374dac Move ext command docs down to ext commands section 2010-08-07 18:08:54 -07:00
Adam Vandenberg
d19c06c5d0 Document external commands a bit 2010-08-07 18:08:53 -07:00
Adam Vandenberg
c0d085751f Tweak brew install docs 2010-08-07 18:08:53 -07:00
Adam Vandenberg
23f6c8338b Document brew audit. 2010-08-07 18:08:53 -07:00
Adam Vandenberg
b69d6dc4cf Add sha1 to brew fetch and document command 2010-08-07 18:08:53 -07:00
Adam Vandenberg
57bbeb3bd7 Put /usr/X11/bin in PATH when requesting X11. 2010-08-07 18:08:52 -07:00
Adam Vandenberg
74727560ee Add 'skip_clean :all' to the DSL. 2010-08-07 18:08:52 -07:00
Adam Vandenberg
bdf245ff98 Add keg-only to DSL 2010-08-07 18:08:52 -07:00
Sam X Nguyen
1bc71794e9 added man subdirectories man2-man8
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-07 18:08:51 -07:00
Adam Vandenberg
1f55ba270d Sort and line up path helpers 2010-08-07 18:08:51 -07:00
Adam Vandenberg
4873062523 Deprecate using symbols to define deps 2010-08-07 18:08:51 -07:00
Adam Vandenberg
bbaac45e3e "url" now has same features as "head"
Specifically, it can accept all the VCS tag specs that head could,
making it more useful for defining stable versions that come from
VCS instead of tarballs.

A new "SoftwareSpecification" class was added to implement this.

This new class holds a "spec" for downloading a software package.
It combines the url (or head url) with the "specs" [1] that head has
been able to take.

This allows both the stable (url) and unstable (head) specification
for a software package to co-exist without stomping on each others
"specs".

[1] "specs" contain instructions on which branch/tag/revision/etc. to use
    from the source repository URL.
2010-08-07 18:08:51 -07:00
Alexander Kahn
a56466a4d3 Use ERB to generate formula template. 2010-08-07 18:08:51 -07:00