aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/download_strategy.rb
AgeCommit message (Collapse)Author
2013-12-03SubversionDownloadStrategy: no need to escape 'svn'Jack Nagel
2013-12-03download_strategy: use clear_cache where appropriateJack Nagel
2013-11-29support .lz archivesAdam Vandenberg
Closes #24775.
2013-11-26ApacheDownloadStrategy: fall back to specified mirrorsJack Nagel
Fixes #24157.
2013-11-18Implement inferred CVS dependencyJack Nagel
Fixes #24444. Closes #24445. Closes #24458.
2013-11-13Whitelist llvm.org for shallow git clonesJack Nagel
2013-11-11Fix Apache download strategy in verbose modeJack Nagel
A better fix would be to rewrite the curl method to yield its output, but I don't feel like doing that right now.
2013-11-05Add git.sv.gnu.org repositories to shallow-clone whitelistJack Nagel
2013-10-31fetch: clear partial downloads when --force is givenJack Nagel
Fixes #23764.
2013-10-30Use curl to download list of Apache mirrorsJack Nagel
Ruby's OpenURI library is somewhat broken under 1.8 and chokes on otherwise valid values of http(s)_proxy. Use curl to get the mirror list instead. Fixes #23708.
2013-10-12CurlDownloadStrategy: no need to to_s, name should never be nilJack Nagel
2013-10-11SubversionDownloadStrategy: don't mutate URL stringJack Nagel
2013-10-11CurlDownloadStrategy: dup mirror list before mutating itJack Nagel
2013-10-11GitDownloadStrategy: remove redundant use of nostdoutJack Nagel
2013-10-11GitDownloadStrategy: remove redundant use of :quiet_flagJack Nagel
2013-10-11GitDownloadStrategy: @@git is always a string, so inline itJack Nagel
2013-10-11SubversionDownloadStrategy: @@svn is always a string, so inline itJack Nagel
2013-10-11VCSDownloadStrategy: pull construction of @clone into superclassJack Nagel
2013-10-11VCSDownloadStrategy: rename checkout_name to cache_filenameJack Nagel
2013-10-10Move cached_location up to VCSDownloadStrategyJack Nagel
2013-10-10download_strategy: rename @co to @clone for uniformityJack Nagel
2013-10-10MercurialDownloadStrategy: avoid creating Formula object just for opt_prefixJack Nagel
2013-10-09S3DownloadStrategy: use temporary_path accessorJack Nagel
2013-10-09Move checkout_name from AbstractDownloadStrategy to VCSDownloadStrategyJack Nagel
2013-10-09VCSDownloadStrategy: destructure spec hash more efficientlyJack Nagel
2013-10-09Extract a new superclass for VCS-based download strategiesJack Nagel
2013-10-09SubversionDownloadStrategy: stop mutating revisions hashJack Nagel
2013-10-09download_strategy: style nitsJack Nagel
2013-10-09download_strategy: rename @spec to @ref_typeJack Nagel
2013-09-30Handle invalid names in download strategiesJack Nagel
When subformulae are initialized without a name parameter, Homebrew assigns the name "__UNKNOWN__". This may cause collisions in the cache. Currently CurlDownloadStrategy and its descendants handles this by extracting the basename form the URL and using that as the cached filename. However, other strategies simply raise an exception. We can improve the other strategies by URL-encoding the URL string and using that as the cached directory name. Note that this happens very rarely, especially now that resources (which always have a name) are preferred to subformulae. The most common case is a subformula that specifies a head download. Closes #22949.
2013-09-28BazaarDownloadStrategy: handle corrupt checkoutsJack Nagel
2013-09-28Remove commented out code, this is in git after allJack Nagel
2013-09-28SubversionDownloadStrategy: handle corrupt checkoutsJack Nagel
2013-09-28MercurialDownloadStrategy: pull quietly in non-verbose modeJack Nagel
2013-09-28MercurialDownloadStrategy: handle corrupt checkoutsJack Nagel
2013-09-28Infer dependencies from download strategies and URLsJack Nagel
Closes #20849. Closes #22871.
2013-09-26Raise when given an invalid download strategy specJack Nagel
When DownloadStrategyDetector.detect is given a second argument, and that argument is not a symbol or an AbstractDownloadStrategy subclass, it is silently ignored, and we fall back to guessing the strategy based on the URL. This means I can do url 'http://foo.com/bar.tar.gz', :using => Class.new and things will appear to work, even though I have clearly passed an invalid value for :using. A more useful behavior is to raise an exception for unknown strategy specifications.
2013-09-26Simplify setup for local bottle installationJack Nagel
Closes #22833.
2013-09-25Move "Pouring" message to relevant download strategiesJack Nagel
2013-09-24add S3DownloadStrategyRaymie Stata
downloads tarballs from public and private S3 buckets Closes #22779. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-09-23Initialize cached filenames lazilyJack Nagel
Closes #22751.
2013-09-17Download strategies take a resource nowJack Nagel
2013-09-16Treat target as binary when unpacking gzip-only archivesJack Nagel
2013-08-15SubversionDownloadStrategy: fix reference to removed methodJack Nagel
2013-08-13Remove outdated commentJack Nagel
2013-08-13Avoid reading whole files into memory during decompressionJack Nagel
2013-08-08alphabetize listAdam Vandenberg
2013-08-08Add SourceForge hg patternAdam Vandenberg
2013-08-06Enable connection timeouts when mirrors are availableJack Nagel
Closes #21623.
2013-08-05Add support for the :ssl3 download-strategy.Tijs Zwinkels - TinkerTank
Signed-off-by: Adam Vandenberg <flangy@gmail.com>