[Blends-commit] [SCM] website branch, master, updated. 240138710429528d826dbf4c99d45b44afd77e47

Ole Streicher olebole at debian.org
Mon Mar 7 22:10:42 UTC 2016


The following commit has been merged in the master branch:
commit 240138710429528d826dbf4c99d45b44afd77e47
Author: Ole Streicher <olebole at debian.org>
Date:   Mon Mar 7 23:10:38 2016 +0100

    Correct next place to include VCS info in NEW packages

diff --git a/webtools/blendstasktools.py b/webtools/blendstasktools.py
index ed88ad1..dd9e111 100644
--- a/webtools/blendstasktools.py
+++ b/webtools/blendstasktools.py
@@ -1755,10 +1755,11 @@ class TaskDependencies:
                     logger.info("The package %s was found in vcs but never mentioned in task %s." % (row['package'], self.task))
                     continue
                 # Check for korrekt status 'pkgvcs'
-                if status != 'pkgvcs':
+                if status not in ('pkgvcs', 'new'):
                     self.dependencies[status].remove(dep)
                     self.dependencies['pkgvcs'].append(dep)
-                dep.pkgstatus = 'pkgvcs'
+                    status = 'pkgvcs'
+                dep.pkgstatus = status
                 dep.component = row['component']
                 dep.version   = [ row['version'], ]
                 dep.debtags   = [] # prevent trying to print debtags (should be default setting but does not work in template (FIXME)

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list