Hello, Am Dienstag, 25. Oktober 2016, 15:05:58 CEST schrieb Jimmy Berry:
In the same way that TW is released in snapshots the repo itself would benefit from being presented by snapshot.
I see what you want, but I doubt the way you want is a good idea ;-) Having to switch the snapshot repo every two days sounds annoying, so the better solution is probably - keep the rolling repo (as we have it today) - this is what Tumbleweed users will use in 99% of the cases - add a way to switch to a previous repo snapshot (in case someone needs a previous package version) - this could mean running a "zypper ar" command or (more development work) adding some code in zypper to switch to a specific snapshot Publishing full snapshot repos is probably a nightmare for the mirrors because they would need $snapshot_count * $repo_size of space, which sums up to "a lot" ;-) AFAIK old packages are already kept in the repo for some days (to avoid breaking it for people in the middle of an upate), but those old packages are not included in the repodata. Actually it even seems the repodata (filelist etc.) for some previous snapshots is kept, but no longer referenced in repomd.xml. To implement snapshot repos, it should be possible to provide _snapshot repodata_ only, and link to the packages in the rolling repo. Ideally this would mean to only have suse/repodata/ (and possibly some more metatada I overlooked) specific to each snapshot, and all the other directories symlinked to the rolling repo. This way would have some advantages: - probably easy to implement - not too painful for the mirrors (only some hundred MB of additional metadata) - no changes in zypper needed because the rolling repo could stay the default (if you want a previous snapshot, you'll need to "zypper ar" it and disable the rolling repo) - but I won't object if someone wants to implement a command to switch to a specific snapshot Feedback from someone who knows about how the repo is created and published would be nice - I'm especially interested if it's really as easy as a think/hope ;-) Regards, Christian Boltz -- Linux - und dein PC macht nie wieder blau. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org