Repository module create should be atomic like operation

Registered by Jedrzej Nowak

Currently, when something will crash during repository import/create, you will end up with partially created / broken repository. Instead of this, we should provide atomic like operation. One of the simplest solution is to import to temporary directory first then rename it to correct one.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Jedrzej Nowak
Direction:
Approved
Assignee:
Maciej Kwiek
Definition:
Approved
Series goal:
Accepted for beta
Implementation:
Implemented
Milestone target:
milestone icon 0.3.0
Started by
Łukasz Oleś
Completed by
Jedrzej Nowak

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/repository-module-atomic-like-create,n,z

Addressed by: https://review.openstack.org/287748
    Remove repository if adding contents raised error

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.