From 26358b62a2180520b5bd6f3a08710f9e2288eae6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bompard?= Date: Tue, 20 Feb 2024 12:14:03 +0100 Subject: [PATCH] Reapply "Don't send a fedora-messaging message from the Pagure git hook" This reverts commit 7667b0e97ea95225684da704d0d120ab9adab6b3. The packit folks have migrated to the Pagure-native message: https://github.com/packit/packit-service/issues/2305 --- roles/git/hooks/files/post-receive-chained | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/git/hooks/files/post-receive-chained b/roles/git/hooks/files/post-receive-chained index 528a29bfba..a537502e0d 100755 --- a/roles/git/hooks/files/post-receive-chained +++ b/roles/git/hooks/files/post-receive-chained @@ -4,11 +4,13 @@ # You need to explicitly add your hook to the following list # for it to be invoked. pee \ - /usr/bin/fedora-messaging-git-hook \ /usr/share/git-core/post-receive-alternativearch \ /usr/lib/python3.6/site-packages/pagure/hooks/files/post-receive \ "/usr/bin/grok-manifest -m /srv/git/grokmirror/manifest.js.gz -t /srv/git/repositories/ -n `pwd`" +# Don't send to fedora-messaging here, Pagure already does that (#11687) +# /usr/bin/fedora-messaging-git-hook \ + # 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. #$GIT_DIR/hooks/post-receive-chained.d/post-receive-email \