Skip to content

Import/Export project snippets

What does this MR do?

In this MR we implement snippet repository import/export. If the snippet repository we import the bundle, if not, we get the information stored in the database, create the repository and commit that info.

The operation to import the repository is done once the snippet is restored in the database and got a new id. Therefore, we need some how to name the snippet repositories properly in order to retrieve them later.

This change is backward compatible since any old backup will still work in the import/export operations.

Refs #39201 (closed)

Does this MR meet the acceptance criteria?

Conformity

Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading