aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
AgeCommit message (Collapse)Author
2009-12-12Add no-unzip download strategy; extracted from Jython/sbt.Adam Vandenberg
2009-12-12--github improvementsAdam Vandenberg
* Only invoke git if --github was passed; speeds up brew info --all * Use current branch for --github instead of master.
2009-12-12Some small style reformatsAdam Vandenberg
2009-12-12Mercurial - recognize Google Code repos and support revisions.Adam Vandenberg
2009-12-12Better error message if exec failsMax Howell
2009-12-12Use our Bazaar formula for nowMax Howell
Bzr on PyPi is problematic for now.
2009-12-07Brew update will git init if requiredMax Howell
This is necessary for those who installed Homebrew using the suggested tarball method. Too late for them though.
2009-12-07Ignore ^C when cleaning up at exitMax Howell
2009-12-05Comments reflect actual patch level of 1.Ben Olive
Updated comments to match new default patch level from revision 4fe374d
2009-12-05Prompt user to use pip for Hg and BzrMax Howell
2009-12-04Apparently the map didn't work on LeopardMax Howell
2009-12-04Fixes broken SubversionDownloadStrategyMax Howell
Being able to commit parts of diffs can bite you if you aren't careful.
2009-12-04Export the revision, checkout HEADMax Howell
2009-12-04Cast all arguments for Kernel#exec to string.Manfred Stienstra
In the FFMPEG formula the revision number is represented as an integer, this ends up as an argument to Kernel#exec and it doesn't really like that. The fix is to cast all arguments to a string. Fixes #171.
2009-12-04Allow formula to skip docs removalMax Howell
2009-12-02List the options that the user has for installing MercurialMax Howell
Fixes #136
2009-12-02Remove redundant cflagsMax Howell
-fomit-frame-pointer is included for any optimisation level above O2 (including Os) Setting MACOS_DEPLOYMENT_TARGET is unecessary if you are just setting it the same as the OS X you are running.
2009-12-02Nice the install processMax Howell
Makes a big difference on OS X, you can still use the GUI and that.
2009-12-02Alias gcc_4_0_1 to gcc_4_0Max Howell
This is what we did for gcc_4_2 after all.
2009-12-01When not installed to /usr/local use -isystemMax Howell
This means our include directory is prioritised above all -I but after all other system directories. This is how it should be. Also helps fix #113.
2009-12-01include FileUtils into FormulaMax Howell
Thus mv, rm etc, functions are almost as handy as pure shell scripting, without issues related to spaces in filenames.
2009-12-01`brew --config` output improved if no GCCMax Howell
2009-12-01Direct bug reports to the issues URLMax Howell
2009-11-19Refactor formula_test.Adam Vandenberg
2009-11-19New command 'brew deps [formula]'Adam Vandenberg
Where brew info will show the next-level-down dependencies, brew deps will show all of the formulae that a given formula depends on.
2009-11-19Add alias support to formulaeAdam Vandenberg
* brew install will find an aliased formula * aliases are searched against * warn when creating a new formula that has an existing alias. If Subversion has an alias "svn", then warn when the user tries to create a new formula "svn". The formula can still be created, though the user should make sure it's not a duplicate of the existing aliased one. Subversion and Objective-Caml formulas get some alises here, so we have something to test against.
2009-11-19Add brew command 'uses'Adam Vandenberg
'uses' shows the formulas that depend on a formula given on the command-line.
2009-11-19Add a Formulary class for managing the FormulaeAdam Vandenberg
These methods could be static on Formula, but splitting them out makes it clear to formular authors that these functions don't have anything to do with writing new formulas.
2009-11-19Move some helper functions into HardwareAdam Vandenberg
2009-11-18Refactor formula_test.Adam Vandenberg
2009-11-18Add test for legacy prefix quoting.Adam Vandenberg
2009-11-18Fix HOMEBREW_BREW_FILE for unit tests.Adam Vandenberg
2009-11-12Compare against HOMEBREW_CELLAR using real paths.Adam Vandenberg
The code in Keg.self.for path uses "path = path.parent.realpath" to walk up subfolders looking for a Keg. Because 'realpath' is in there, and the path is checked against HOMEBREW_CELLAR, which may be a symlink, we need to do realpath-to-realpath comparisons in Keg. Otherwise, we will hit equivalent but symlinked folders, not see that they are the same, and walk all the way up to / and then error out.
2009-11-12Check for $! before installingMax Howell
If an exception is thrown while parsing the formula file before the install.rb at_exit then it will be in $!. Marshal it back to the parent brew process.
2009-11-12More tweaking of main exception handler outputMax Howell
2009-11-11Fix system() exception showing regressionMax Howell
Rather than showing a backtrace that says "couldn't find command blah". Admittedly it's possible that the error will be something else, but unlikely. And this is neater. Ideally we'd push the bt through an error pipe like we do with install.rb. And I guess we'll do this eventually.
2009-11-11It's about time we bumped the version eh?Max Howell
2009-11-11Tty.em; bold white underlinedMax Howell
2009-11-11Disable watch_out_for_spill temporarilyMax Howell
It's a great feature but it seems to conflict with our new system() replacement. Clearly the bug is still in our system() but what exactly it is is not clear and this bug sucks. See #124
2009-11-11Ignore spill in all /*/Library/CachesMax Howell
2009-11-09DRY gcc_build and llvm_buildMax Howell
2009-11-09Ignore stdout during GitDownloadStrategy.stageMax Howell
2009-11-09Don't ignore interupts during Formula.systemMax Howell
As I understand it (I tested too), signal propogation is handled by the parent Ruby process. However this was working mostly anyway. So I don't fully understand what is going on. However this seems to not hang in Process.wait where it was before for one test case.
2009-11-09Don't use Kernel.system muchMax Howell
It just seems to behave strangely with SIGINT. Eg. SIGINT causes tar to exit, but the SIGINT is ignored by our process. This is not the case when used with curl.
2009-11-09Don't error out if .DS_Store is in a kegMax Howell
2009-11-08Don't watch for spill for Quicktime stuffMax Howell
2009-11-08Ignore spill for certain system pathsMax Howell
2009-11-08Reap the process or make zombiesMax Howell
2009-11-08Set ENV[HOMEBREW_BREW_FILE]Max Howell
Thus install.rb gets the path to the instantiating brew process rather than whichever is first in the PATH. Not to mention Homebrew doesn't *have* to be in the PATH.
2009-11-08Rename BREW_FILE HOMEBREW_BREW_FILEMax Howell
Because it's a global.h constant and that file can be included by other projects.