Skip to content

Version Control for Snippets: Development of the Migration Plan (MVP)

What does this MR do?

This MR creates the background migration that will create and populate snippet repositories based on the value of the file_name and content columns. TL;DR this code does not run the migration, it just introduces it.

The main problem with this migration is that the git actions introduce a time overhead in each iteration.

Basically, what we do is, per each snippet we create a file with the values of those columns or update the existing one with them as well. If the operation fails we retry only once.

Refs #39202 (closed)

Does this MR meet the acceptance criteria?

Conformity

Edited by 🤖 GitLab Bot 🤖

Merge request reports