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

Do not loose downloaded files in mirror update #676

Closed
wants to merge 1 commit into from

Conversation

sliverc
Copy link
Contributor

@sliverc sliverc commented Nov 21, 2017

Fixes #651

Description of the Change

If some files during mirror update fail to download all downloaded files would be lost and redownloaded again in a second mirror update call.

This fix import files which have successfully been downloaded but mirror update is still marked as failed. What this doesn't fix is when aptly process is canceled. This I guess will be addressed with fix for #545

Checklist

  • unit-test added (if change is algorithm)
  • functional test added/updated (if change is functional)
  • man page updated (if applicable)
  • bash completion updated (if applicable)
  • documentation updated
  • author name in AUTHORS

@sliverc sliverc changed the title Do not loose downloaded files in case some files fail Do not loose downloaded files in mirror update Nov 21, 2017
@smira
Copy link
Contributor

smira commented Nov 22, 2017

Thanks, I have more complete fix in the works, I'll push it soon (covers also aborted downloads).

@sliverc
Copy link
Contributor Author

sliverc commented Nov 30, 2017

Closing this PR in favor of #683

@sliverc sliverc closed this Nov 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mirror update repeats download exists file
2 participants