From cfe70c21bd316535e1ae94722c0566960be134d0 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Jun 30 2020 06:59:38 +0000 Subject: PR#2345: builder: document plugin callbacks Merges #2345 https://pagure.io/koji/pull-request/2345 Fixes: #2091 https://pagure.io/koji/issue/2091 Document builder plugin callbacks --- 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