
6 May
2015
6 May
'15
3:32 a.m.
On 6 May 2015 at 00:26, Gershom B
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.