Project

Profile

Help

Task #6532

closed

Story #6134: [EPIC] Pulp import/export

Check repo type during import

Added by daviddavis almost 4 years ago. Updated over 3 years ago.

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

100%

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

Description

Check the repository type in the export archive against the repo being imported into. If they don't match, raise a user friendly error (eg "You cannot import a repository of type 'rpm' into a repo of type 'file'.")

Steps to reproduce:

  1. Create a file repo and sync it
  2. Export the file repo
  3. Wipe your database and create an rpm repo of the same name
  4. Import the export archive

Also available in: Atom PDF