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

Make it possible to continue sync if it's errored out #44

Closed
LordTermor opened this issue May 26, 2024 · 1 comment · Fixed by #52
Closed

Make it possible to continue sync if it's errored out #44

LordTermor opened this issue May 26, 2024 · 1 comment · Fixed by #52
Assignees
Labels
Daemon Changes related to the backend enhancement New feature or request

Comments

@LordTermor
Copy link
Collaborator

This is more crucial for the first sync but anyway would be a good feature to have. If synchronization breaks up for some error (e.g. network outage or a list of packages have changed during the sync) it would be cool to make bxt pick up already downloaded packages from the last sync and download only missing ones.

@LordTermor LordTermor added enhancement New feature or request Daemon Changes related to the backend labels May 26, 2024
@LordTermor LordTermor self-assigned this May 26, 2024
@LordTermor LordTermor modified the milestones: Production, Initial testing (MVP) May 26, 2024
LordTermor added a commit to LordTermor/bxt that referenced this issue May 27, 2024
…sync

- Makes sync cache structure randomless (remove uuid usage)
- Checks if file is already downloaded and valid and uses it in that case

Fixes anydistro#44
LordTermor added a commit to LordTermor/bxt that referenced this issue May 27, 2024
- Makes sync cache structure randomless (remove uuid usage)
- Moves validation logic closer to download logic
- Checks if file is already downloaded and valid and uses it in that case
- Removes obsolete PackageFile.h

Fixes anydistro#44
LordTermor added a commit to LordTermor/bxt that referenced this issue May 27, 2024
- Makes sync cache structure randomless (remove uuid usage)
- Moves validation logic closer to download logic
- Checks if file is already downloaded and valid and uses it in that case
- Removes obsolete PackageFile.h

Fixes anydistro#44
@LordTermor
Copy link
Collaborator Author

We need to verify checksum during the sync to know it's the same package that we need.

LordTermor added a commit to LordTermor/bxt that referenced this issue May 28, 2024
- Makes sync cache structure randomless (remove uuid usage)
- Moves validation logic closer to download logic
- Checks if file is already downloaded and valid and uses it in that case
- Removes obsolete PackageFile.h

Fixes anydistro#44
@LordTermor LordTermor linked a pull request May 28, 2024 that will close this issue
LordTermor added a commit that referenced this issue May 28, 2024
- Makes sync cache structure randomless (remove uuid usage)
- Moves validation logic closer to download logic
- Checks if file is already downloaded and valid and uses it in that case
- Removes obsolete PackageFile.h

Fixes #44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Daemon Changes related to the backend enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant