gitout icon indicating copy to clipboard operation
gitout copied to clipboard

Do not re-backup archived repos

Open JakeWharton opened this issue 5 years ago • 1 comments

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 avatar Jun 01 '20 01:06 JakeWharton

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

JakeWharton avatar Jun 01 '20 01:06 JakeWharton