aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2009-08-24Allow configure alias for diyMax Howell
2009-08-24Don't return a version that equals the basenameMax Howell
Return nil instead
2009-08-24Refactor away AbstractFormulaMax Howell
We'd gotten to the stage where Formula was so lean, it was pointless to separate it.
2009-08-24GitDownloadStrategyMax Howell
Untested
2009-08-24Support building from Subversion repositoriesAdam Vandenberg
Adds a new DownloadStrategy that checks files out from Subversion to the cache, then exports over to the temp folder for the build. To use checkout with the svn:// protocol or reimplement download_strategy and return SubversionDownloadStrategy.
2009-08-24Factor out downloading from FormulaAdam Vandenberg
This patch adds a ArchiveDownloadStrategy that handles downloading tarbarlls and decompressing them into the staging area ready for brewing. Refactored safe_system and curl into utils.rb Signed-off-by: Max Howell <max@methylblue.com> Modifications to Adam's original patch: I reverted objectification of checksum verification because I couldn't think of any other download validation methods that might be useful to us in the future, so allowing such flexibility had no advantages. If we ever need this to be OO we can add it. But for now less complexity is preferable. I removed the @svnurl class member. Instead download_strategy is autodetected by examining the url. The user can override the download_strategy in case this fails. Thus we already can easily add support for clones of git repositories.
2009-08-21Raise if installing a non-existent fileMax Howell
2009-08-21Fix comment about ENV overridesAdam Vandenberg
2009-08-12Link binaries in sbin as well as bin.Adeel Ahmad Khan
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-12brew diy commandMax Howell
Automagically determines prefix to install to for DIY installations. README amended.
2009-08-12Pathname.version on directories ignores extnameMax Howell
Because directories don't have extensions. Included test
2009-08-12Add note about xeon.Adam Vandenberg
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-11Allow user to specify patch levelMax Howell
The default is p0, but if you return a Hash instead of an array from patches you can specify patch level. See the comment documentation. Closes Homebrew/homebrew#10
2009-08-11Remove MacPorts and Fink from the build environmentMax Howell
Closes Homebrew/homebrew#13
2009-08-11More ARGV testsMax Howell
2009-08-11FIX formulae and kegs didn't always workMax Howell
Strange that they did often enough for my tests to work.
2009-08-11rmdir_if_possible should ignore EACCESMax Howell
It was raising an exception, which stopped prune in its tracks when something was installed root, eg. Fuse.
2009-08-11Raise if ARGV.named and no named argumentsMax Howell
2009-08-10FIX if dst cannot be deleted, it's an errorMax Howell
2009-08-10Escape / in before inreplace tooMax Howell
2009-08-10CTRL-C for a child process should interrupt brew tooMax Howell
2009-08-10Abort debug install if exit is not zeroMax Howell
2009-08-10TEST Zip'd archives can be extractedMax Howell
2009-08-10Allow skip_clean? to skip entire directoriesMax Howell
Speeds up Python formula plenty in clean phase
2009-08-10Fix inreplace and yajl formulaMax Howell
2009-08-10ENV.libpngMax Howell
libpng and that are in the X11 formula
2009-08-10Install README.txt etc. as READMEMax Howell
2009-08-10Support github tagged download versionsMax Howell
eg. http://github.com/lloyd/yajl/tarball/1.0.5
2009-08-10Ensure ENV is pristine for each installationMax Howell
Because we modified the ENV global each install this propagated to consecutive formulae. So exec a new brew process each install. This is the safest way although Ruby exceptions don't propagate to the parent process so I worry about it somewhat.
2009-08-10ohai takes multiple parametersMax Howell
Will not show any of the block if the 1st additional parameter is nil
2009-08-10When safe, correct common install issuesMax Howell
Eg. man can be moved into share without consequences
2009-08-10Delete installed documentation after installMax Howell
Documentation is all online nowadays, and is more current there. Documentation often takes up more space than the rest of the package. Package listings are now more relevent. We'll make it optional as soon as one person complains.
2009-08-10Remove duplicates from ARGV.namedMax Howell
Includes test
2009-08-10Apply new ENV capabilities to all existing FormulaeMax Howell
2009-08-10Refactor0.4Max Howell
Large refactor to Formula, mostly improving reliability and error handling but also layout and readability. General improvements so testing can be more complete. Patches are automatically downloaded and applied for Formula that return a list of urls from Formula::patches. Split out the brew command logic to facilitate testing. Facility from Adam Vandenberg to allow selective cleaning of files, added because Python doesn't work when stripped.
2009-08-10Extend ENV to make tweaking the build environment easierMax Howell
eg. ENV.libpng or ENV.deparallelize
2009-08-10Return the installed path(s) from installMax Howell
2009-08-10FIX Pathname.renameMax Howell
Rename relative to self.dirname
2009-08-10ARGV+yeastMax Howell
Extensions to ARGV that are convenient or improve our robustness
2009-08-10Pull USERAGENT used by curl into constantAdam Vandenberg
2009-08-10Extract 'verify_download_integrity' methodAdam Vandenberg
In order to support more than just MD5 verification, extract 'verify_download' into a separate method.
2009-08-06Formula::std_cmake_parametersMax Howell
Because cmake syntax is batshit-insane, this stops people having to memorize which parameters to supply, and thus prevents error. I didn't do the same for Autotools deliberately as I have found that which parameters are supported is somewhat inconsistent. Plenty don't even support --disable-debug, thus I want the parameters getting used in the contributors face so they can easily diagnose what is going on.
2009-08-04Remove all testing temporaries when doneMax Howell
2009-08-04The unittest now emulates a fresh install betterMax Howell
In future, this will hopefully prevent regressions like issue Homebrew/homebrew#7.
2009-08-04Homepage takes any formula, installed or not.Adam Vandenberg
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-04HOMEBREW_CACHE is now a Pathname objectMax Howell
This is consistent with the other HOMEBREW_* path constants
2009-08-04FIX Github gist formulaeMax Howell
2009-08-04FIX brew install before Cache has yet been createdMax Howell
Closes Homebrew/homebrew#7 Cache directory is created when downloading tarballs, but the new hw.model stuff compiles the hw.model.c file there.
2009-08-03Add home(page) to completion.Adam Vandenberg
Signed-off-by: Max Howell <max@methylblue.com>
2009-08-02brew home foo open's foo's homepage in default web-browserAdam Vandenberg