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 re-backup archived repos #29

Open
JakeWharton opened this issue Jun 1, 2020 · 1 comment
Open

Do not re-backup archived repos #29

JakeWharton opened this issue Jun 1, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@JakeWharton
Copy link
Owner

Following out of #3 which is mostly implemented. The terminology here is about to suck. Strap in.

This probably needs to rely on some kind of local database as provided by #10. If a project is newly marked as archived then we need to download its archive. If you unmark a project as archived we need to start downloading its archives again. If the old download was for an archive project and the project is still marked as archived then we don't need to redownload its archive. While this could, in theory, miss changes if you unarchive, change, and re-archive, I don't think that's a super-useful case to handle (unless we can get timestamps from GitHub).

@JakeWharton JakeWharton added the enhancement New feature or request label Jun 1, 2020
@JakeWharton
Copy link
Owner Author

There is no timestamp. It's true/false in the API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant