Product discovery for version controlled snippets
Problem to solve
Today, our GitLab Snippets are not version-controlled. This limits the potential of our snippets. Users want to collaborate, star, clone, fork, version snippets.
Snippets are blobs stored in the database, not in Git, and only support a single file.
Unlike Gists, GitLab Snippets can exist in either a project or personal namespace.
It would be much simpler if Snippets were treated more like a lightweight project, using a Git repository.
This, however, does not work for project snippets, since projects cannot exist within projects. We would need a migration strategy to offer an equivalent, or decide not to continue offering the feature.