Project

Profile

Help

Story #4898

closed

As a user, no "duplicated" content is present in a repo version

Added by ttereshc over 5 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

"Duplicates" are two pieces of content which are not allowed to exist within a single repo version.

E.g.

  • RPMs with the same nevra but different checksum types can't be in a single repo
  • Advisories with the same id can't be in one repo
  • Only one modulemd_defaults per module (name) can be in a single repo

There is a way to prevent that at sync time with RemoveDuplicates stage.
Currently there is no mechanism to prevent it if content is already in Pulp and user copies/adds content to a repo version.

Todos

  • add repo_key to RPMs for its NEVRA (but not checksum)
  • modulemd_default object gets a repo_key
  • remove the RemoveDuplicates stage from the pulp_rpm custom pipeline

Related issues

Related to Pulp - Story #5008: As a user, I can enforce content specific uniqueness constaints in a repo versionCLOSED - CURRENTRELEASEbmbouter

Actions
Related to RPM Support - Story #5084: As a user, after copy or repo version creation there are no advisories with the same idCLOSED - DUPLICATE

Actions

Also available in: Atom PDF