Project

Profile

Help

Issue #6383

closed

Creating a publication fails when packages are included multiple times

Added by quba42 over 4 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Debian:
Platform Release:
Target Release - Debian:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

It is perfectly permissible for multiple Debian distributions to be included in the same repository. In such cases, it is perfectly possible for these distributions to include the exact same pool package.

However pulp will throw an IntegrityError during publish, since it cannot publish to the same location (relative path) multiple times.

A simple solution is to handle the error.

It is safe to ignore it completely, if we are also enforcing uniqueness of name plus arch plus version of packages per repository. Then these duplicates can only happen because the exact same package is included multiple times.

Also available in: Atom PDF