Commits on Jul 28, 2016

  1. Try to use HTTP/FTP directly so that we can set timeouts

    iainlane authored and Iain Lane committed Jul 28, 2016
  2. Try to use std.stdio

    iainlane authored and Iain Lane committed Jul 28, 2016
  3. Be less noisy

    Iain Lane committed Jul 28, 2016
  4. Add a helper to find the first {xz, bz2, gz} file we can, and downloa…

    …d it if necessary
    Iain Lane committed Jul 28, 2016
  5. utils: Use rawWrite when downloading

    Otherwise the textual representation of the byte array is written -> [1,
    2, 3, 4]
    Iain Lane committed Jul 28, 2016
  6. immutable things are immutable auto by default

    Iain Lane committed Jul 28, 2016
  7. Move downloadIfNecessary to the debian backend

    Iain Lane committed Jul 28, 2016
  8. Add a documentation comment

    Iain Lane committed Jul 28, 2016
  9. Make downloadFile support retrying on timeouts

    Retry 5 times by default.
    Iain Lane committed Jul 28, 2016
  10. utils: Add pre and postconditions to downloadFile

    Iain Lane committed Jul 28, 2016
  11. debian/utils.d: Update docs for downloadIfNecessary

    This function is kind of weird, we might want to think of a better API
    for it.
    Iain Lane committed Jul 28, 2016