Actions
Task #6532
closedStory #6134: [EPIC] Pulp import/export
Check repo type during import
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:
- Create a file repo and sync it
- Export the file repo
- Wipe your database and create an rpm repo of the same name
- Import the export archive
Actions
Added repo type check during import
fixes #6532