We have a repository (hosted on a GitLab instance) which a handful of projects still reference, but has been deprecated in favor of another solution.
Is there any way to mark a repository as "deprecated"?
Ideally, every fetch from this repository (as part of a git submodule update
) would cause a giant message to be printed during the fetch. I was expecting to add a simple Git hook that would print this deprecated message. However, there doesn't seem to be a "run this on every fetch" hook.
Also, I see nothing in GitLab that would enable this.