Making cabal-install SSL capable
Mikhail Glushenkov
the.dead.shall.rise at gmail.com
Wed May 6 07:32:43 UTC 2015
On 6 May 2015 at 00:26, Gershom B <gershomb at gmail.com> wrote:
> Ok, on my "https" branch here: https://github.com/gbaz/Cabal/tree/https
Looks like a good first step. Consider using machinery in
Distribution.Simple.Program.Db for searching for curl/wget in path or
in user-provided location.
I'd also use something like
data Transport = { getHttp :: URI -> FilePath -> IO (Int, String),
putHttp :: URI -> FilePath -> ...}
configureTransport :: ProgramDB -> IO Transport
instead of switching on TransportType in getHttp/uploadToUri.
More information about the cabal-devel
mailing list