Project

Profile

Help

Task #3954

Updated by ttereshc almost 6 years ago

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. 

 <pre> 
 [{ 
     'model': Package, 'type': 'pulp_rpm.Package', 
     'field_names': ['name', 'epoch', 'version', 'release', 'arch'] 
 }] 
 </pre> 

 Use a @RemoveDuplicates@ stage provided Errata should be unique by pulpcore-plugin. ID. This would be configured with something like: 

 <pre> 
 [{ 
     'type': 'pulp_rpm.UpdateRecord', 
     'field_names': ['id'] 
 }] 
 </pre>

Back