Project

Profile

Help

Task #6532

Story #6134: [EPIC] Pulp import/export

Check repo type during import

Added by daviddavis 5 months ago. Updated 3 months 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

Associated revisions

Revision 3b94b84a View on GitHub
Added by daviddavis 4 months ago

Added repo type check during import

fixes #6532

History

#1 Updated by daviddavis 4 months ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to daviddavis

#2 Updated by pulpbot 4 months ago

  • Status changed from ASSIGNED to POST

#3 Updated by daviddavis 4 months ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100

#4 Updated by dkliban@redhat.com 4 months ago

  • Sprint/Milestone set to 3.4.0

#5 Updated by dkliban@redhat.com 4 months ago

  • Status changed from MODIFIED to CLOSED - COMPLETE

Please register to edit this issue

Also available in: Atom PDF