Starting with gitlab 12.0, the structure of the data repositories is now hashed.
I have noticed that global git hooks do not seem to work as it used to be anymore.
A repository used to be stored as
/var/opt/gitlab/git-data/repositories/<group>/<project>.git/hooks being a symbolic link to /opt/gitlab/embedded/service/gitlab-shell/hooks
With the new hashed structure, I notice that the new structure is as follow
and “hooks” is now a folder, not a symbolic link to /opt/gitlab/embedded/service/gitlab-shell/hooks
Is this a bug ?
Also, the documentation https://docs.gitlab.com/12.0/ce/administration/custom_hooks.html does not seem up to date as it still refers to groups and project in the data structure.
So , is it still possible to setup a global git hook on the server side ?