Project

Profile

Help

Story #7717

closed

Allow Pulp3 exporter to handle case where not enough start_versions= are provided to match all specified repositories

Added by paji@redhat.com over 3 years ago. Updated over 3 years ago.

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

0%

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

Description

The pulp3 exporter with start_versions complains if the number of repositories specified in the exporter does not match the number of start_versions provided

" "Number of versions 1 does not match the number of Repositories 2 for ""the owning Exporter!" " Relevant error comes from the validate_start_versions method - https://github.com/pulp/pulpcore/blob/master/pulpcore/app/serializers/exporter.py#L160-L192

Katello needs a bit more flexibility with start_versions, the exporter may be tasked with exporting some repositories completely while incrementally exporting some.

I propose pulp exporter assume full export for repos where the start_versions have not been provided.

Also available in: Atom PDF