Project

Profile

Help

Test #4297

Prevent duplicate Package content in RPM repos

Added by bherring over 1 year ago. Updated over 1 year ago.

Status:
CLOSED - COMPLETE
Priority:
Normal
Assignee:
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 reposCLOSED - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision d7569f1b View on GitHub
Added by ragabala over 1 year 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 over 1 year ago

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

#2 Updated by ragbalak over 1 year ago

  • Assignee set to ragbalak

#3 Updated by Anonymous over 1 year ago

  • Status changed from NEW to MODIFIED

#4 Updated by kersom over 1 year 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 over 1 year ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF