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
Updated by bherring almost 6 years ago
- Related to Task #3954: Prevent duplicate Package content in repos added
Added by ragabala over 5 years ago
Updated by Anonymous over 5 years ago
- Status changed from NEW to MODIFIED
Applied in changeset d7569f1b45ae2b164637ee9de3613b1cd8a2fd3e.
Updated by kersom over 5 years ago
- Subject changed from Prevent duplicate Package content in repos to Prevent duplicate Package content in RPM repos
- Status changed from MODIFIED to CLOSED - COMPLETE
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