38364 Commits

Author SHA1 Message Date
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
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
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
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
Adam Vandenberg
1c3f0e43de add URLs to brew info 2010-08-07 18:08:49 -07:00
Adam Vandenberg
c5a1171620 Fix brew info 2010-08-07 18:08:49 -07:00
Max Howell
3b106ea205 Significantly simpler brew uses and brew deps
Partly simpler because the output is less pretty. But I think the output is
now more useful for other tools. And comma separated lists aren't particularly
human-readable IMO either.
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
Martin Kühl
da7854401d Automatically enable external brew commands.
* Add path to external command examples to PATH.
* Only add them to PATH from inside Homebrew.

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

* Move external commands path down near check
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
Adam Vandenberg
ae557302f3 Document brew info url 2010-07-29 09:03:08 -07:00
Adam Vandenberg
b6d5fbb15e Just use Pathname.cd 2010-07-29 08:47:06 -07:00
Adam Vandenberg
2e881238de Add name to brew info url and remove external script 2010-07-29 08:40:22 -07:00