From 50c123e1b7ad115ba43a4afcfa56ac8c740a8874 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Sep 27 2018 09:36:43 +0000 Subject: Move ticket hook to post-receive Signed-off-by: Patrick Uiterwijk --- diff --git a/pagure/hooks/pagure_ticket_hook.py b/pagure/hooks/pagure_ticket_hook.py index 1009e43..0ea46e2 100644 --- a/pagure/hooks/pagure_ticket_hook.py +++ b/pagure/hooks/pagure_ticket_hook.py @@ -64,8 +64,8 @@ class PagureTicketRunner(BaseRunner): """ Runner for the git hook updating the DB of tickets on push. """ @staticmethod - def pre_receive(session, username, project, repotype, repodir, changes): - """ Run the pre-receive tasks of a hook. + def post_receive(session, username, project, repotype, repodir, changes): + """ Run the post-receive tasks of a hook. For args, see BaseRunner.runhook. """