I have an RPM repository which is filled by Jenkins. As we have thousands of Jenkins jobs (each one producing an RPM package), there may be hundreds of new Pulp repository versions a day.
Every now and then (e.g. each hour) I provide a new snapshot of the repository to our users, by creating a new publication and then updating the distribution to point to the new publication.
Now I noticed, that the repositories “retain_repo_versions” setting may remove the version which is currently referenced by a publication (and maybe a distribution by a publication).
I have thought of a publication as sort of a tag for a certain repository version. Now I wonder if repository versions which are referenced by publications / distributions shall be excluded from the retain_repo_versions purging. This is what I would have expected.
What do others think about this?