Skip to content

Awwad detect expiry 322 clean #325

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

Conversation

vladimir-v-diaz
Copy link
Contributor

This fixes Issue #322. Please see that issue!
It replaces PRs #323 and #324.

This PR also:

  • 🐛🐛 Fixes two additional bugs issues identified below, both causing unprintable NoWorkingMirrorError exceptions - one in python 3 only and the other in either 2 or 3 with certain mirror name issues.
  • adds .DS_Store to .gitignore

For the full comment history on this pull request, see this PR.

awwad and others added 19 commits March 10, 2016 15:01
…onflicts.

Comment lines from the individual commits include:
1. Fix theupdateframework#322 by detecting expiry of stale files. initial attempt
2. temp commit of files from Soma
3. removing freeze_attack_stale_expiry and leaving the test added to indefinite freeze attack
4. fixing indefinite freeze attack test: now incorporates old reject-freshly-downloaded-but-expired-timestamp test as well as reject-stale-already-present-but-expired-snapshot test
5. small refinements to indefinite freeze attack test
6. Pulled the recursion out of the except block in refresh() to avoid unprintable nested exceptions.
7. Added comments to the last commit (retry_once)
8. Merge pull request #1 from awwad/detect_expiry_322_temp (removing cruft in another branch)
…had passed. (updater.refresh() can take a while.)

- Put code back into working state after some failure mode debugging of a separate bug by Vlad and me.
- Expanded some comments, added explanations, and made a few others more readable.
- Removed an unnecessary path recalculation and an unnecessary sleep.
vladimir-v-diaz added a commit that referenced this pull request Mar 17, 2016
@vladimir-v-diaz vladimir-v-diaz merged commit d2cc967 into theupdateframework:develop Mar 17, 2016
@vladimir-v-diaz vladimir-v-diaz deleted the awwad-detect_expiry_322_clean branch November 8, 2016 19:37
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.

2 participants