Project

Profile

Help

Task #6532

closed

Story #6134: [EPIC] Pulp import/export

Check repo type during import

Added by daviddavis over 4 years ago. Updated over 4 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
Actions #1

Updated by daviddavis over 4 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to daviddavis
Actions #2

Updated by pulpbot over 4 years ago

  • Status changed from ASSIGNED to POST

Added by daviddavis over 4 years ago

Revision 3b94b84a | View on GitHub

Added repo type check during import

fixes #6532

Actions #3

Updated by daviddavis over 4 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #4

Updated by dkliban@redhat.com over 4 years ago

  • Sprint/Milestone set to 3.4.0
Actions #5

Updated by dkliban@redhat.com over 4 years ago

  • Status changed from MODIFIED to CLOSED - COMPLETE

Also available in: Atom PDF