Actions
Story #8761
closedTask #8740: [EPIC] Publication based plugins should use either `distribution.repository` or `distribution.publication` but not both
Add validation to Distribution serializer
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
BaseDistributionSerializer and RepositoryVersionSerializer had some validation preventing users from setting them up incorrectly which was not added to DistributionSerializer.
- You should not be allowed to set Distribution.repository_version and Distribution.publication at the same time
- You should not be allowed to set Distribution.repository and Distribution.repository_version at the same time
Actions
Bring back some of the Distribution validation around "repository"
closes: #8761 https://pulp.plan.io/issues/8761