aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/download_strategy.rb
AgeCommit message (Collapse)Author
2009-11-09Ignore stdout during GitDownloadStrategy.stageMax Howell
2009-11-07Solve the brew install, brew rm, brew install problem for HEAD formulaMax Howell
The problem was that git checkout -b doesn't work the second time. This simple solution works by never creating a local branch.
2009-10-23Show where we cached the downloadMax Howell
2009-10-20Allow revisions on SVN checkouts.Adam Vandenberg
2009-10-19Reimplemented HttpDownloadStrategy needs 4 parameters nowMax Howell
2009-10-19Remove assignment to unused temporary variableMax Howell
2009-10-19Fix Homebrew/homebrew#52: Add ability to checkout a branch or tag.Jannis Leidel
GitDownloadStrategy and MercurialDownloadStrategy now can be used like this: head 'git://server/repo.git', :branch => 'stable' head 'hg://server/repo/', :tag => '1.0.4'
2009-10-08Remove invalid copied comment.Adam Vandenberg
2009-10-02HttpDownloadStrategy renamed CurlDownloadStrategyMax Howell
Because people didn't realise it was actually curl and thus supports eg. ftp too.
2009-09-30Adding CVS and Mercurial download strategies.Austin Ziegler
2009-09-24Don't use file, just check the magic numbers insteadBen Alpert
Closes Homebrew/homebrew#58
2009-09-24Use full paths to all system utilitiesMax Howell
Otherwise you run the risk of not running the exact version / make of the utility you planned. Fixes Homebrew/homebrew#48 Really we need to do this formula too, so I guess a make and cmake function are on the way…
2009-09-17Delete the partial download with any exceptionMax Howell
Don't delete it if it doesn't exist.
2009-09-05No spurious error due to Interrupt during curlMax Howell
Only delete the file that is downloaded if an error occurs while downloading it.
2009-09-02If the download fails, delete the half-fileMax Howell
Otherwise next time it will assume the half-file is the whole file and fail the md5 check.
2009-09-02Tests for Pathname+YeastMax Howell
I removed the rename and mv functions as when I wrote the tests I realised the function implied the pathname object would be updated to reflect the moved or renamed file. However that cannot be done. Also frankly I think writing it out in full makes clearer code.
2009-08-31Change license to BSDMax Howell
I confirmed this change with all relevant contributors first.
2009-08-30Better cache names for accessory-formulaMax Howell
Because formula don't get named unless the brew kit instantiates them accessory formula were getting named "__UNKNOWN__". Which sucks. This isn't ideal for me as I made the naming use @name and @version to ensure unique naming. Now it is possible to have name clashes in the cache. So I need to solve it better at some point.
2009-08-24Playdar formulaMax Howell
Fix git download strategy
2009-08-24Move download strategies into their own fileMax Howell