Michael Stephens
65eac81ca9
GeoIP formula
...
GeoIP is a C library that enables the user to find geographical and
network information of an IP address.
2009-10-03 13:25:23 +01:00
Max Howell
c130cf3e71
HttpDownloadStrategy renamed CurlDownloadStrategy
...
Because people didn't realise it was actually curl and thus supports eg. ftp too.
2009-10-02 20:01:23 +01:00
Max Howell
5f0d2dc032
Formula.etc is now HOMEBREW_PREFIX/etc
...
You generally don't want to have to copy the configuration to a new directory when you upgrade.
2009-10-02 16:30:33 +01:00
Adam Vandenberg
e66364502d
Add SourceForge pattern to SubversionDownloadStrategy
2009-10-01 10:23:02 -07:00
Adam Vandenberg
da565308ad
Add -sources to the version recognizer.
2009-10-01 10:23:02 -07:00
Austin Ziegler
3c3902954b
Set LD to CC
...
This is generally the right thing to do. It should fix more build problems than it hinders. Especially on Snow Leopard.
This fixes the pngcrush build.
2009-10-01 16:17:54 +01:00
Max Howell
64899bbbff
Blacklist creation for some formula
...
We don't duplicate, so libxml and that are already provided by OS X. Mercurial is provided by easy_install.
I'm adding this to save people contributing stuff that we won;t accept. I hate disappointing people :(
2009-10-01 15:48:54 +01:00
Max Howell
5c33fdfb5b
If an exception has newlines, render them well
2009-10-01 15:48:51 +01:00
Max Howell
db2ccd294d
Formula.var is now HOMEBREW_PREFIX/var
2009-10-01 15:17:31 +01:00
Max Howell
1156cc49d8
ENV['HOMEBREW_VERBOSE'] turns on verbose mode
2009-10-01 15:17:31 +01:00
Zachery Hostens
101e9c8cbe
Pathname fix for ruby 1.9 [hack?]
2009-09-30 22:26:52 -05:00
Austin Ziegler
668e3ee080
Adding CVS and Mercurial download strategies.
2009-09-30 18:52:12 +01:00
Max Howell
c61d96529c
brew list --unbrewed fix
...
Determine all directories that aren't Homebrew ones.
Exec find.
I prefer to keep short stuff in bin/brew so people reading the code have a better idea of what happens, and what sort of functions are useful for the sorts of things we do with Homebrew.
2009-09-30 18:11:49 +01:00
Adam Vandenberg
e4a32736cd
Add CPPFLAG for ncurses flag under 10.6.
2009-09-30 18:04:04 +01:00
Max Howell
512a3da886
brew list lists root keg files if not README, etc.
2009-09-30 17:45:38 +01:00
Max Howell
b80dd75a73
Allow returning true from keg_only?
2009-09-30 17:24:05 +01:00
Steve Losh
287cc0dc02
Determine the repo path in a symlink-friendly way.
...
The Contributions/selflink.sh script does not symlink the .git directory,
so 'brew update' will fail because the prefix (/usr/local/) is not a git
repository.
To determine the actual location of the git repo we can get the realpath
of the Library (to expand any symlinks) and take the parent of that.
2009-09-30 15:07:23 +01:00
Max Howell
55025865eb
Fixes Homebrew/homebrew#68 , let's not break fresh Homebrew installs
...
Thanks to boztek for spotting this. I'll commit a test shortly.
2009-09-30 03:10:25 +01:00
Max Howell
9d3ddfb466
Var goes back in the keg. Fixes Homebrew/homebrew#67
...
I'm not sure about this still, as if you uninstall mysql do you want to lose
all the var stuff it created? Maybe. Probably not.
But there were issues unresolved having it in the unversioned-keg. So I'd
rather look at this again later, and fix the bugs without hacks for now.
2009-09-30 01:24:49 +01:00
Max Howell
396ec2efae
Show trailing / for dirs with brew list
2009-09-30 01:24:31 +01:00
Max Howell
98081ce26a
Don't fail when cleaning if skip_clean_paths is empty
2009-09-29 23:52:21 +01:00
Max Howell
fe464c2e2b
Improved installation instructions
2009-09-29 23:34:17 +01:00
Max Howell
c0253a75df
Angband version style
2009-09-29 23:34:17 +01:00
Andre Arko
cacf8d8aa4
Allow skip_clean as a class method
...
Pass in a list of any files that you don't want cleaned
with a path relative to the cellar. e.g. `strip_paths ['bin/znc']`
It's backwards compatible with def strip_clean?, at least for now.
The znc formula is updated as an example.
2009-09-29 23:34:16 +01:00
Andre Arko
64bab9d746
eval bad
2009-09-29 23:34:16 +01:00
Andre Arko
d3954d3d77
Add HOMEBREW_REPOSITORY prefix for brew up
...
Signed-off-by: Max Howell <max@methylblue.com>
I removed whitespace changes and changed readlink to realpath as readlink raises if it's not a link.
2009-09-29 23:34:16 +01:00
Andre Arko
195e75c1b2
Search by substring unless term is inside /../
2009-09-29 23:34:16 +01:00
Max Howell
b9033700b6
Fixes .gitignore
...
So now it does ignore new stuff in root but not in the dirs we like.
2009-09-29 23:33:22 +01:00
Kieran Pilkington
0e9edbb285
An additional reference for warn_about_macports_or_fink
2009-09-29 16:26:38 +01:00
Kieran Pilkington
9169b675a3
Adding PATH for the debug environment.
2009-09-29 16:26:38 +01:00
Kieran Pilkington
aedaaf79bf
brew list --unbrewed
...
Very quick way to find files not installed by homebrew.
Taken from a command by mxcl on the homebrew wiki.
.DS_Store files and bin/brew are ignored.
2009-09-29 16:26:37 +01:00
Max Howell
14818039ae
If brew create can't figure out the name, prompt for it
...
This was adapted from adamv@d5e78ee26535dec4b11c33d14832a9ee945a29fd
I decided prompting would was the most usable solution here, as the stem is
unlikely to be useful so the user would have to rename the file and change
the class name as well as type the command once and then again with --force.
Dissent welcome.
Fixes Homebrew/homebrew#15
2009-09-29 15:46:34 +01:00
Adam Vandenberg
14b3ea887a
Add option to downgrade from LLVM to gcc.
...
Signed-off-by: Max Howell <max@methylblue.com>
I added ENV tests.
2009-09-29 15:45:48 +01:00
Adam Vandenberg
14daa31cd3
We require Xcode 3.1 *and later*
2009-09-29 14:23:00 +01:00
Max Howell
5abe20b410
ENV.O3 -- for when O4 takes forever
...
Which makes me wonder if it's worth it? Oh well, you can't find these things
out without experimentation.
2009-09-29 14:23:00 +01:00
Ben Alpert
2b464a82fa
Change .gitignore to specifically include files we want tracked.
...
Closes Homebrew/homebrew#66
2009-09-28 17:26:40 -06:00
Max Howell
51f935c499
Show information messages after basic error checking.
2009-09-28 00:20:51 +01:00
Max Howell
1004df181e
fix_PATH changed to warn_about_macports_or_fink
...
We shouldn't mess with the user's PATH anyway. So assume our users are smart and just warn them about potential issues instead.
2009-09-28 00:20:51 +01:00
Eloy Duran
fab877de18
Made the tests green for the updater component
2009-09-28 00:20:51 +01:00
Eloy Duran
5a2eae5d49
Only show the first 8 characters of the commit hashes.
2009-09-28 00:20:51 +01:00
Eloy Duran
1022c23990
Properly distinguish between added and updated formulae.
2009-09-28 00:20:50 +01:00
Max Howell
af6c890294
Quote path parameters where appropriate
...
Our build directories are space-less, but the final destination may have
spaces, especially since OS X often uses your full name as your home directory
path.
2009-09-28 00:20:50 +01:00
Max Howell
3971a5666c
Oops. Don't raise for homepages. Silly.
2009-09-26 02:20:00 +01:00
Max Howell
b7bf860a48
Use MACOS_VERSION in bin/brew
2009-09-25 19:30:19 +01:00
Max Howell
4b5d39feab
Throw if no homepage set
...
That'll teach you!
2009-09-25 19:22:02 +01:00
Adam Vandenberg
f49bd4a9fa
Add test for matching formula filename/class.
2009-09-25 19:21:03 +01:00
Adam Vandenberg
b2a857da54
Add better error message for misnamed formula class.
2009-09-25 19:20:59 +01:00
Adam Vandenberg
1e3dff7b8e
Update bash completions.
2009-09-25 18:58:06 +01:00
Adam Vandenberg
a3668bef76
Find version number in *-src.tarball
...
Signed-Off-By: Max Howell <max@methylblue.com>
I added a unittest.
2009-09-25 18:57:44 +01:00
Max Howell
235987b032
Don't summarize brew list if piped to another command
2009-09-25 18:06:37 +01:00