[Cdd-commits] r860 - in cdd/trunk/webtools: . templates
CDD Subversion Commit
noreply at alioth.debian.org
Thu Jun 26 08:56:12 UTC 2008
Author: tille
Date: Thu Jun 26 08:56:12 2008
New Revision: 860
Added:
cdd/trunk/webtools/update-all-tasks (contents, props changed)
Modified:
cdd/trunk/webtools/templates/tasks_idx.xhtml
Log:
Helper script to update all tasks with conf files. This is ready for testing now ...
Modified: cdd/trunk/webtools/templates/tasks_idx.xhtml
==============================================================================
--- cdd/trunk/webtools/templates/tasks_idx.xhtml (original)
+++ cdd/trunk/webtools/templates/tasks_idx.xhtml Thu Jun 26 08:56:12 2008
@@ -38,7 +38,7 @@
</p>
<dl>
<py:for each="task in taskskeys">
- <dt><a href="${task}.html.${lang}" name="${task}" id="${task}">${tasks[task].metapkg.PrintedName} - <span py:choose="">
+ <dt><a href="${task}.html" name="${task}" id="${task}">${tasks[task].metapkg.PrintedName} - <span py:choose="">
<span py:when="tasks[task].metapkg.desc.has_key(lang)">${tasks[task].metapkg.desc[lang]['short']}</span>
<span py:otherwise="">${tasks[task].metapkg.desc['en']['short']}</span>
</span></a></dt>
Added: cdd/trunk/webtools/update-all-tasks
==============================================================================
--- (empty file)
+++ cdd/trunk/webtools/update-all-tasks Thu Jun 26 08:56:12 2008
@@ -0,0 +1,6 @@
+#!/bin/sh
+mkdir -p logs
+for cdd in `ls webconf/*.conf | sed 's?webconf/\(.*\)\.conf?\1?'` ; do
+ ./tasks.py $cdd 2> logs/${cdd}.err > logs/${cdd}.out
+done
+
More information about the Cdd-commits
mailing list