Hello.
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, with
/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
/var/opt/gitlab/git-data/repositories/@hashed/d4/73/d4735e3a265e16eee03f59718b9b5d03019c07d8b6c51f90da3a666eec13ab35.git
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 ?
Thanks