Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debian: Support downloading from a mirror in addition to having it locally #12

Merged
merged 13 commits into from Jul 28, 2016

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