Allow .gitlab directory to be a symlink and to point to a submodule.
Problem to solve
The .gitlab/
folder does not follow symlinks that point to a submodule, so issue or merge request templates are not shown on the web.
Further details
In my company we're working with lots of projects, and for the sake of standarizing and reducing complexity we created a repository with tons of utilities. That repository is meant to be added as a submodule, and each particular project to symlink certain files to it wherever it's convenient.
Among those symlinks is the .gitlab/
folder. After adding the symlink I see it appears on the web, and it points to the right location. However when opening a merge request it doesn't show the available templates.
Proposal
Allow the .gitlab/
directory to:
- Be a symlink.
- Point to a submodule.
- (Optionally) be an actual submodule.
What does success look like, and how can we measure that?
That'd ease a lot developer's task of standarizing and organizing lots of projects that share the same characteristics.
Links / references
This is potentially related to this issue: https://gitlab.com/gitlab-org/gitlab-ce/issues/36967
/label ~"feature proposal"