diff demo.cfg @ 464:5fda6768bef6

Enable a status_hook to be set and executed on status changes
author Andre Heinecke <aheinecke@intevation.de>
date Thu, 09 Sep 2010 14:26:35 +0000
parents 2995f3042f82
children
line wrap: on
line diff
--- a/demo.cfg	Thu Sep 09 13:49:37 2010 +0000
+++ b/demo.cfg	Thu Sep 09 14:26:35 2010 +0000
@@ -87,8 +87,17 @@
 # Release file in the pbuilder's extra-pkg directory.
 # You can override this in the pkg_ sections if you need package
 # specific values
-#signing_key_id: 
+#signing_key_id:
 
+# Use the status_hook vaiable to set a command you want to execute once
+# the status of a treepkg has changed
+# The envrionment variables set before this hook is called:
+# TREEPKG_TRACK - The name of the track currently on
+# TREEPKG_BASE_DIR - The name of the base directory of the current build
+# TREEPKG_STATE - The state in which the track is currently (e.g. error)
+# TREEPKG_STATENAME - The name of the current state
+#                     (e.g. creating_binary_package)
+# status_hook:
 
 [treepkg]
 # Section for general tree packager configuration
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)