[med-svn] r1509 - trunk/community/infrastructure/scripts
tille at alioth.debian.org
tille at alioth.debian.org
Tue Mar 4 10:17:15 UTC 2008
Author: tille
Date: 2008-03-04 10:17:14 +0000 (Tue, 04 Mar 2008)
New Revision: 1509
Modified:
trunk/community/infrastructure/scripts/cddtasktools.py
Log:
Some keys in current debian-edu tasks are not yet needed for the web page and so they are ignored.
Modified: trunk/community/infrastructure/scripts/cddtasktools.py
===================================================================
--- trunk/community/infrastructure/scripts/cddtasktools.py 2008-03-04 10:01:29 UTC (rev 1508)
+++ trunk/community/infrastructure/scripts/cddtasktools.py 2008-03-04 10:17:14 UTC (rev 1509)
@@ -23,12 +23,15 @@
from debian_bundle import deb822
BASEURL = 'http://ftp.debian.org/'
-REPOS = { 'debian-med' : "svn://svn.debian.org/svn/cdd/projects/med/trunk/debian-med/tasks/",
- 'debian-edu' : "svn://svn.debian.org/svn/debian-edu/trunk/src/debian-edu/tasks/",
- 'debian-gis' : "svn://svn.debian.org/pkg-grass/packages/debian-gis/tasks/",
- 'debian-science' : "svn://svn.debian.org/svn/cdd/projects/science/trunk/debian-science/tasks/",
+#SVNHOST = 'svn+ssh://svn.debian.org'
+SVNHOST = 'svn://svn.debian.org'
+REPOS = { 'debian-med' : SVNHOST+"/svn/cdd/projects/med/trunk/debian-med/tasks/",
+ 'debian-edu' : SVNHOST+"/svn/debian-edu/trunk/src/debian-edu/tasks/",
+ 'debian-gis' : SVNHOST+"/pkg-grass/packages/debian-gis/tasks/",
+ 'debian-science' : SVNHOST+"/svn/cdd/projects/science/trunk/debian-science/tasks/",
}
HTMLBASE = "/var/lib/gforge/chroot/home/groups"
+KEYSTOIGNORE = ( 'Architecture', 'Avoid', 'Ignore', 'Leaf', 'NeedConfig', 'Note', 'Section' )
def InitTasksFiles(cddname):
# Obtain tasks files from SVN of a CDD
@@ -372,7 +375,8 @@
else:
(dep.pkgShortDesc, dep.pkgLongDesc) = SplitDescription(stanza['pkg-description'])
else:
- print "Unknown key '%s': %s" % (key, stanza[key])
+ if key not in KEYSTOIGNORE:
+ print "Unknown key '%s': %s" % (key, stanza[key])
if dep != None:
self.dependencies[self._FindDependencyType(dep)].append(dep)
More information about the debian-med-commit
mailing list