Project

Profile

Help

Test #4297

Prevent duplicate Package content in RPM repos

Added by bherring 9 months ago. Updated 6 months ago.

Status:
CLOSED - COMPLETE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Version:
Platform Release:
Tags:
Sprint:

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

Related to RPM Support - Task #3954: Prevent duplicate Package content in repos MODIFIED Actions

Associated revisions

Revision d7569f1b View on GitHub
Added by ragabala 6 months ago

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

History

#1 Updated by bherring 9 months ago

  • Related to Task #3954: Prevent duplicate Package content in repos added

#2 Updated by ragbalak 6 months ago

  • Assignee set to ragbalak

#3 Updated by Anonymous 6 months ago

  • Status changed from NEW to MODIFIED

#4 Updated by kersom 6 months 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

#5 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF