comments in download_strategy.rb

This commit is contained in:
Roland Walker 2014-10-03 10:13:31 -04:00
parent a2e7f63c5e
commit a12698efa2

View file

@ -1,8 +1,8 @@
require 'cgi'
# We abuse Homebrew's download strategies considerably here.
# * Our downloader instances only invoke the fetch method,
# ignoring stage and clear_cache.
# * Our downloader instances only invoke the fetch and
# clear_cache methods, ignoring stage
# * Our overridden fetch methods are expected to return
# a value: the successfully downloaded file.
@ -147,6 +147,10 @@ class Cask::SubversionDownloadStrategy < SubversionDownloadStrategy
private
# TODO/UPDATE: the tar approach explained below is fragile
# against challenges such as case-sensitive filesystems,
# and must be re-implemented.
#
# Seems nutty: we "download" the contents into a tape archive.
# Why?
# * A single file is tractable to the rest of the Cask toolchain,