Project

Profile

Help

Test #4297

closed

Prevent duplicate Package content in RPM repos

Added by bherring over 3 years ago. Updated over 3 years ago.

Status:
CLOSED - COMPLETE
Priority:
Normal
Assignee:
Sprint/Milestone:
-
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

Related to RPM Support - Task #3954: Prevent duplicate Package content in reposCLOSED - CURRENTRELEASEttereshc

Actions
Actions #1

Updated by bherring over 3 years ago

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

Updated by ragbalak over 3 years ago

  • Assignee set to ragbalak

Added by ragabala over 3 years ago

Revision d7569f1b

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

Actions #3

Updated by Anonymous over 3 years ago

  • Status changed from NEW to MODIFIED
Actions #4

Updated by kersom over 3 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 #5

Updated by bmbouter over 3 years ago

  • Tags deleted (Pulp 3)

Also available in: Atom PDF