Repository synchroniser #8
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
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.