Task #8740: [EPIC] Publication based plugins should use either `distribution.repository` or `distribution.publication` but not both
Add validation to Distribution serializer
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
Updated by bmbouter over 2 years ago
- Sprint/Milestone set to 3.14.0
This can't happen in 3.13 because pulp_file has a release which could set
Distribution.publication at the same time. That release declares compatibility with <=3.13, so the earliest we can do this is 3.14.