Actions
Test #4297
closedPrevent duplicate Package content in RPM repos
Version:
Platform Release:
Tags:
Sprint:
Quarter:
Description
Packages are unique in a repo by NEVRA. When implemented, this will cause the most recently added unique NEVRA to be kept and other duplicate NEVRA to be removed. Duplicate NEVRA could have different checksums.
[{
'model': Package,
'field_names': ['name', 'epoch', 'version', 'release', 'arch']
}]
Use a RemoveDuplicates
stage provided by pulpcore-plugin.
Related issues
Actions
Adding duplicate NEVRA with different checksum testcase
This commit adds a test for adding the same NEVRA content with different checksums and ensuring only the latest content is present( the old contents are removed)
https://pulp.plan.io/issues/4297 closes #4297