Adam Vandenberg
0225f07eba
Move some exceptions
2011-03-12 11:55:03 -08:00
Max Howell
719e6c8999
Refactor the blacklists
...
Also don't abort searches if the query matches a blacklist. Eg.
`brew search vim` should return macvim and the information that vim itself is
not packaged.
2011-03-12 11:55:02 -08:00
Max Howell
cf29569099
More modular cmd/install and FormulaInstaller
2011-03-12 11:55:02 -08:00
Max Howell
768910283a
Refactor the brew command into one file per command
...
The code was sucking. To the extent that maintenance was hard. It's a lot
easier to work with code that is sensibly split at sensible boundaries. So
now it is more like that.
But the refactor is minimal. Because we don't want you to have more merge
hell than absolutely necessary.
If you merge you will need to pay attention to brew.h.rb (as it is deleted)
and bin/brew (as command logic is gone). It will be painful, but you will just
have to help git out by moving any changes around manually.
Note compatibility.rb. It ensures that any function renames or removals don't
break anything. We're pretty serious about backwards compatibility. And that's
because we encourage you to hack around with the innards. And we couldn't do
that if we would then just make stuff disappear behind your back.
2011-03-12 11:55:02 -08:00
Arthur Kalmenson
97f654701d
Use http://npmjs.org/ installation instructions. Fixes 4569.
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-06 20:33:26 -08:00
isaacs
2b88c24ead
remove npm, add warning about it.
...
Signed-off-by: Max Howell <max@methylblue.com>
2011-02-13 10:11:57 +00:00
Adam Vandenberg
9752fc93fd
Add ENV.cppflags shortcut
2011-01-22 10:07:08 -08:00
Mike McQuaid
8934fdbe82
Add newline to new issue reporting instructions.
2011-01-08 20:21:30 +00:00
Adam Vandenberg
24e10826f4
Fix GithubGistFormula.
2010-12-22 17:08:53 -08:00
Mike McQuaid
1e71489d51
Send people to new issue wiki page.
...
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2010-12-22 21:32:06 +00:00
Adam Vandenberg
5e724cbf15
Use full path to curl in utils.rb
2010-11-26 09:43:07 -08:00
Lee Packham
883fd9ef89
Correct the principle usage of principal principles ;)
...
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2010-11-21 13:20:12 +00:00
Adam Vandenberg
f0b6870de7
Allow underscore in github version numbers.
2010-11-07 11:25:20 -08:00
Michael Dippery
e0c23d670d
More .DS_Store ignoring
...
* Don't link .DS_Store files
* Don't list .DS_Store files in `brew info`
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-05 19:44:56 -07:00
Adam Vandenberg
2712dd6bcc
brew-doctor - check for another stray ENV var
...
Having $MACOSX_DEPLOYMENT_TARGET (for Fink) to something other than
the current system SDK will cause Git to fail to compile (when building
the Python bindings).
2010-11-05 07:01:00 -07:00
Adam Vandenberg
202663eb0c
Fix installing from local abs. paths.
2010-11-04 13:53:03 -07:00
Adam Vandenberg
d02941e1da
Quash warning.
...
Fixes Homebrew/homebrew#3056
2010-11-03 07:03:50 -07:00
Adam Vandenberg
b6332de28d
Bump Homebrew to 0.7.1
...
The Homebrew version number is mainly useful for bug reports. Since it is
included in "brew --config" output, it is an easy way to see roughly how
new the a user's version of Homebrew is.
Bumping the micro version now, in anticipation of some more version-changing
events in the near future.
2010-10-31 17:23:20 -07:00
Adam Vandenberg
c8781e720f
Reformat keg-only message
2010-10-30 21:50:33 -07:00
Jamie Macey
b7fa82b28d
fix warnings: ambiguous splat
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-30 14:50:54 -07:00
Jamie Macey
6ff5e194c7
fix warnings: splat is redundant for puts
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-30 14:50:18 -07:00
Jamie Macey
1e41264f42
fix warnings: ambiguous first arg
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-30 14:47:44 -07:00
Adam Vandenberg
ea03121688
Allow installation from URLs
...
This allows installation like:
brew install http://example.com/something.rb
Based on an original patch by [dwalters].
Fixes Homebrew/homebrew#160
2010-10-30 14:23:01 -07:00
Michael Dippery
8e8875f8f4
Ignore .DS_Store files when listing keg contents
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-28 21:42:48 -07:00
arlolra
14ebf705ae
Handle dashed tags at github.
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-28 21:19:42 -07:00
Joshua Peek
a305360099
Prefer HEAD version if its installed
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-26 09:39:17 -07:00
Adam Vandenberg
f4ce357d44
brew-doctor - alt. autoconf path
2010-10-26 09:19:07 -07:00
Adam Vandenberg
06c7f4a29d
fix jruby external deps
2010-10-21 21:58:18 -07:00
Adam Vandenberg
b82be5c8b0
brew-doctor - fix keg-only check
2010-10-20 20:05:44 -07:00
Adam Vandenberg
b6bd22bfc9
brew-doctor - tweak git message
2010-10-20 19:29:02 -07:00
Adam Vandenberg
93a0d56386
brew-doctor - also check /usr/local/etc
2010-10-20 19:28:46 -07:00
Adam Vandenberg
06f484d1e5
typo in comment
2010-10-19 21:52:54 -07:00
Michael Morgan
3ea550100f
extract undent test to test case
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-17 21:13:16 -07:00
Adam Vandenberg
560408d01b
Use classes instead of strings for exceptions
2010-10-17 17:21:21 -07:00
Dougal Sutherland
dbd7f1c855
clean up wording in the macports/fink warning msg
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
* Additional tweaks by me.
2010-10-17 15:59:38 -07:00
Adam Vandenberg
91f3823997
update - consistent quoting; use INIT_COMMAND
2010-10-16 15:39:56 -07:00
Adam Vandenberg
9108e3956c
Allow :build dependencies.
2010-10-12 07:13:27 -07:00
Adam Vandenberg
9e1470684f
Coerce ENV.append/prepend values to strings.
...
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-05 13:41:38 -07:00
Adam Vandenberg
80ae0e6d95
add install check for top-level info
2010-10-03 20:23:51 -07:00
Tianyi Cui
915b018e15
Added FossilDownloadStrategy (Fossil SCM support)
...
This will enable downloading source repository using fossil SCM.
For example, formulae `fossil` and `mongrel2` can have HEAD version.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-03 09:11:14 -07:00
Adam Vandenberg
25f6bffa30
brew doctor - remove double negative
2010-10-02 10:40:36 -07:00
Adam Vandenberg
b9dc3c6527
add Xcode version to brew --config
2010-10-01 21:08:42 -07:00
Adam Vandenberg
8eaa812711
improve std_cmake_parameters comments
2010-09-29 22:00:24 -07:00
Adam Vandenberg
bb01afce4c
Move resolve_alias from ARGV to Formula
...
Also, call this function from a few places where the code was duplicated.
2010-09-29 21:55:44 -07:00
Adam Vandenberg
18f9969b65
Add formula name to LLVM warning
2010-09-29 21:53:05 -07:00
Adam Vandenberg
76dcc1929b
refactor compiler messages
2010-09-29 21:52:55 -07:00
Adam Vandenberg
400aa9eac9
Don't allow unsupported dep types
2010-09-29 21:44:46 -07:00
Adam Vandenberg
5707787358
brew-doctor - add access check to include
2010-09-29 11:56:58 -07:00
Adam Vandenberg
e757d7c956
add libpcap to list
2010-09-27 18:36:14 -07:00
Adam Vandenberg
82fe02170a
fix typo
2010-09-26 18:06:43 -07:00