lbr38 / repomanager

A web UI to mirror rpm or deb packages repositories.
GNU General Public License v3.0
58 stars 11 forks source link

When are snapshots created or changed for local repos? #189

Closed daledude closed 1 month ago

daledude commented 1 month ago

Thank you for this interesting project!

I'm creating a local deb/rpm repo and am wondering when the snapshot will be updated. I assume the first snapshot is created on repo creation. But, I don't see the snapshot change on package upload/delete. Is the snapshot mostly for mirroring? Sorry, bit confused on snapshot usage.

lbr38 commented 1 month ago

Hello,

Yes, snapshots are primarily used by mirrors. Local repos came later and were not designed for their snapshots to be updated. They are "static" repos.

I cannot allow updating snapshots during a package upload/deletion because it requires a complete copy of the previous snapshot, which could take too much time if the snapshot contains several gigabytes of data.

However, I could consider a solution to update the snapshots of local repos.

daledude commented 1 month ago

Thank you. So local repo I dont need to worry about the snapshot changing.