11155 Commits

Author SHA1 Message Date
Adam Vandenberg
115ffb226d brew doctor - look for MacGPG2 installed via the .mpkg 2010-08-18 09:09:38 -07:00
Adam Vandenberg
492748bc0b Use 1.9 compat syntax. Fixes Homebrew/homebrew#2192 2010-08-16 14:14:46 -07:00
Adam Vandenberg
80bec9bcc1 brew doctor - tweak multiple volume check 2010-08-16 09:32:16 -07:00
Adam Vandenberg
74a081e08d Make errors during link step more visible. 2010-08-15 17:17:59 -07:00
Adam Vandenberg
157425cc10 Move method back to Pathname. 2010-08-15 17:17:26 -07:00
Adam Vandenberg
7c2841543d Tweak ARGV.usage 2010-08-11 21:15:59 -07:00
Adam Vandenberg
7d7b5cfab0 Tweak default template 2010-08-11 14:22:44 -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
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
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
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
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'"
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
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
Adam Vandenberg
f990f083e8 ARGV - rename method that conflicts with optparse
optparse adds an "options" method to ARGV, and so does Homebrew.
Rename this method (and remove optparse blocking script) so that
Homebrew plays nicer with external Ruby software.

This fixes the issue where "gem install thin" would break
"brew server", for instance.
2010-08-07 18:08:51 -07:00
Max Howell
dad4bbb9e3 Use new alias system with brew search
Also don't show any aliases if you just type `brew search` as there is so
little context, it just looks messy.
2010-08-07 18:08:49 -07:00
Max Howell
0fcb584862 brew create uses new Aliasing system 2010-08-07 18:08:49 -07:00
Max Howell
28504229aa Resolve aliases in ARGV extension.
* This allows most brew commands to automatically accept aliases.
2010-08-07 18:08:49 -07:00
Adam Vandenberg
2ac2dbb591 Add 'aka' removal notice.
'aka' is no longer used to define aliases, but we'll keep the method
around with a warning so non-master brews have a chance to remove any
aka's; otherwise pushing the change will break private brews and we
don't want to do that.
2010-08-07 18:08:49 -07:00
Adam Vandenberg
7ff5de2ad8 Skip broken formulae 2010-08-07 18:08:48 -07:00
Max Howell
ef6488bf5e New Aliasing system is plenty less code :) 2010-08-07 18:08:48 -07:00
Adam Vandenberg
7768e59a50 Show changed examples on update [telemachus]
* Also move updater output into the class itself
2010-08-07 18:08:48 -07:00
Adam Vandenberg
0321acf9be Fix regex location 2010-08-07 18:08:48 -07:00
Adam Vandenberg
73125f1c18 Reword X11 brew doctor messages. 2010-08-07 11:46:20 -07:00
Adam Vandenberg
7e38c4c9c3 Re-wrap message. 2010-08-07 11:44:45 -07:00
Adam Vandenberg
0a018deb93 Don't version VCS checkout directories.
While tarballs are versioned to prevent conflicts when newer ones are downloaded,
we shouldn't be versioning the name of the VCS checkout when a formula uses
"HEAD" or a stable commit.

Append the name of the vcs system to the checkout path, in case a project changes
vcs providers, to prevent future conflicts.
2010-08-07 11:32:29 -07:00
James Harris
07ce6d6e16 archs_for_command now follows symlinks.
Tell file(1) to follow symlinks using the -L option.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-08-02 12:49:20 -07:00
Adam Vandenberg
bc82bfc6d5 brew doctor - check man access 2010-07-30 09:23:44 -07:00
Adam Vandenberg
37ea70ed5e Shorten 'bad man path' message. 2010-07-29 12:25:50 -07:00
Adam Vandenberg
5c3a96ae68 Move testing tarballs into subfolder 2010-07-29 12:03:23 -07:00
Adam Vandenberg
e0d936da5a Fix brew info test 2010-07-29 09:33:32 -07:00