From 2daeb3224b97a6a2eedd170feb654c21df2bcd04 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Thu, 7 Sep 2017 15:44:51 +0200 Subject: [PATCH] Add pagure's hook to the post-receive hook and point to the main hooks --- roles/git/hooks/files/post-receive-chained | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/roles/git/hooks/files/post-receive-chained b/roles/git/hooks/files/post-receive-chained index 4718f5759b..e61cb72f40 100755 --- a/roles/git/hooks/files/post-receive-chained +++ b/roles/git/hooks/files/post-receive-chained @@ -4,8 +4,10 @@ # You need to explicitly add your hook to the following list # for it to be invoked. pee \ - $GIT_DIR/hooks/post-receive-chained.d/post-receive-fedmsg \ - $GIT_DIR/hooks/post-receive-chained.d/post-receive-alternativearch + /usr/share/git-core/post-receive-fedmsg \ + /usr/share/git-core/post-receive-alternativearch \ + /usr/lib/python2.7/site-packages/pagure/hooks/files/default_hook.py \ + /usr/lib/python2.7/site-packages/pagure/hooks/files/pagure_hook.py # We used to send emails directly from the git hook here, but now we send to # fedmsg which routes to FMN which routes to packagers and the mailing list.