From db3170da4923b936fed4f85fec9c3fac10c6b411 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Jun 26 2020 13:10:28 +0000 Subject: builder: document plugin callbacks Fixes: https://pagure.io/koji/issue/2091 --- diff --git a/docs/source/writing_a_plugin.rst b/docs/source/writing_a_plugin.rst index 7107869..aabc186 100644 --- a/docs/source/writing_a_plugin.rst +++ b/docs/source/writing_a_plugin.rst @@ -188,6 +188,35 @@ tagging a build: $ koji tag-build mytag mypkg-1.0-1 +List of callbacks +----------------- + +hub: + +- preBuildStateChange +- preImport +- prePackageListChange +- preRPMSign +- preRepoDone +- preRepoInit +- preTag +- preTaskStateChange +- preUntag +- postBuildStateChange +- postImport +- postPackageListChange +- postRPMSign +- postRepoDone +- postRepoInit +- postTag +- postTaskStateChange +- postUntag + +builder: + +- preSCMCheckout +- postSCMCheckout + .. _plugin-cli-command: New command for CLI