Git hook is broken
Felipe Sateler
fsateler at debian.org
Fri Apr 11 16:52:22 UTC 2014
I see this on push:
> remote: hooks/update: 34: hooks/update: git-repo-config: not found
> remote: git: 'repo-config' is not a git command. See 'git --help'.
> remote: git: 'repo-config' is not a git command. See 'git --help'.
> remote: git: 'repo-config' is not a git command. See 'git --help'.
> remote: git: 'repo-config' is not a git command. See 'git --help'.
> remote: git: 'repo-config' is not a git command. See 'git --help'.
> remote: *** hooks.recipients is not set so no email will be sent
> remote: *** for refs/heads/master update 154d729e61c3c42d0786b2b43badbe6440de15df->84e1a8b76c2d984fcad3d4875d95d59fb75ac3db
I find the hooks dir in the repo is weird:
% ls -l /git/pkg-pulseaudio/pulseaudio.git/hooks
total 36
-rw-rwxr--+ 1 neurocyte-guest pkg-pulseaudio 441 Sep 7 2007 applypatch-msg
-rw-rwxr--+ 1 neurocyte-guest pkg-pulseaudio 781 Sep 7 2007 commit-msg
-rw-rwxr--+ 1 neurocyte-guest pkg-pulseaudio 152 Sep 7 2007 post-commit
lrwxrwxrwx 1 neurocyte-guest pkg-pulseaudio 38 Sep 11 2007
post-receive -> /git/pkg-pulseaudio/hooks/post-receive
-rw-rwxr--+ 1 neurocyte-guest pkg-pulseaudio 207 Sep 7 2007 post-update
-rw-rwxr--+ 1 neurocyte-guest pkg-pulseaudio 388 Sep 7 2007 pre-applypatch
-rw-rwxr--+ 1 neurocyte-guest pkg-pulseaudio 1696 Sep 7 2007 pre-commit
-rw-rwxr--+ 1 neurocyte-guest pkg-pulseaudio 4262 Sep 7 2007 pre-rebase
-rw-rwxr--+ 1 neurocyte-guest pkg-pulseaudio 1949 Sep 7 2007 update
Are really all those hooks used?
In any case, I fixed the update hook. Maybe we should change the
post-receive hook to call /usr/local/bin/git-commit-notice provided by
the alioth admins?
--
Saludos,
Felipe Sateler
More information about the pkg-pulseaudio-devel
mailing list