Repository synchroniser #8

Open
opened 2024-07-01 22:33:26 +02:00 by Jef Roosens · 0 comments

For each mirror repository, we need to periodically run a synchronisation task that cross-references the current database with the packages in the mirrored repository. This task should download the repository's db package archives, parse it, and cross-reference each of the packages with its current database. Outdated and new packages should be added, and removed packages should be removed as well.

Important here is that the package archives only get regenerated after this entire operation has completed successfully. The mirror should never fall into an inconsistent state; it should either sync completely or not at all.

For each mirror repository, we need to periodically run a synchronisation task that cross-references the current database with the packages in the mirrored repository. This task should download the repository's db package archives, parse it, and cross-reference each of the packages with its current database. Outdated and new packages should be added, and removed packages should be removed as well. Important here is that the package archives only get regenerated after this entire operation has completed successfully. The mirror should never fall into an inconsistent state; it should either sync completely or not at all.
Jef Roosens added this to the 0.2.0 milestone 2024-07-01 22:33:26 +02:00
Jef Roosens added the
enhancement
label 2024-07-01 22:33:26 +02:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Chewing_Bever/rieter#8
There is no content yet.