changeset 136:5598014b2a1d

Add a log/ subdir for each revision. The filename is available as the log_dir attribute of RevisionPackager and SourcePackager instances
author Bernhard Herzog <bh@intevation.de>
date Tue, 27 May 2008 17:55:08 +0000
parents e5b4dea52297
children 93fcd0b9e82c
files treepkg/packager.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/treepkg/packager.py	Tue May 27 13:12:12 2008 +0000
+++ b/treepkg/packager.py	Tue May 27 17:55:08 2008 +0000
@@ -43,6 +43,7 @@
     track = _fromparent("track")
     revision = _fromparent("revision")
     status = _fromparent("status")
+    log_dir = _fromparent("log_dir")
     work_dir = _fromparent("work_dir")
     src_dir = _fromparent("src_dir")
 
@@ -189,6 +190,7 @@
 
     track = _fromparent("track")
     status = _fromparent("status")
+    log_dir = _fromparent("log_dir")
     binary_dir = _fromparent("binary_dir")
 
     def __init__(self, parent, dsc_file, logfile):
@@ -216,6 +218,7 @@
         self.status = status.RevisionStatus(os.path.join(self.base_dir,
                                                          "status"))
 
+    log_dir = _filenameproperty("log")
     work_dir = _filenameproperty("work")
     binary_dir = _filenameproperty("binary")
     src_dir = _filenameproperty("src")
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)