According to the content of the gitlab-shell post-receive
hook, it's deprecated.
#!/usr/bin/env ruby
# This file was placed here by GitLab.
# IT IS DEPRECATED NOW.
# All GitLab logic handled by update hook
But only for Gitlab specific logic or generally? Imho I should still be able to use it for e.g. my chiliproject post-receive hook that updates my repositories. Unfortunately I couldn't find anything specific in this regard, mostly due to the gitolite <> gitlab-shell transition in gitlab v5. I hope someone can shed some light on this…
[edit]
The post-receive
hook was removed from gitlab-shell for v1.7.1. So the correct way is to either create a web-hook, modify carefully the update hook or watch the development of gitlab-shell more closely until custom hook support is implemented. ;-)