As a user, I can automatically update my distribution
asmacdo opened this issue · 1 comments
asmacdo commented
This feature was added without an issue, but it is related to
https://pulp.plan.io/issues/3295
It is documented by this issue:
https://pulp.plan.io/issues/3392
A Distribution has 2 fields that specify auto-distribution:
- publisher
- repository
Either both of these are set or neither are set. I think this is already tested, but not sure. Assuming they are both set, whenever the Distribution.publisher creates a new Publication of the Distribution.repository, this Distribution will automatically be updated to the new Publication.
Simple case
- Create a Distribution with publisher and repository attrs.
- Publish using the Publisher and Repository
- Make sure Distribution points to new Publication.
Overwrite case
- Create a Distribution with publisher and repository attrs.
- Associate the Distribution to a Publication
- Publish using the Publisher and Repository
- Make sure Distribution points to new Publication.
Unset case
(continued from either)
- Update the Distribution, removing publisher and repository
- Publish the repo
- Make the Distribution does not point to the new Publication.
Ichimonji10 commented
Closed by #1012