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

Create catalog item update logic #23

Open
raph opened this issue Nov 30, 2021 · 0 comments
Open

Create catalog item update logic #23

raph opened this issue Nov 30, 2021 · 0 comments

Comments

@raph
Copy link
Owner

raph commented Nov 30, 2021

When a remote catalog has been updated, the catalog items need to be refreshed.

The logic should go through the existing catalog items and update those who have:

-A newer last updated value
-Are not present

It should NOT update the local catalog items if:
-The local last updated value is newer than the one present in the remote catalog json

When inserting catalog items the higher priority catalog items will overwrite the lower priority ones in case of duplicate sha256sum

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

No branches or pull requests

1 participant