[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.45-15-g662c274
Holger Levsen
holger at layer-acht.org
Sat Jun 23 09:40:49 UTC 2012
The following commit has been merged in the piatti branch:
commit 6cb0d5c750463bd3c4482cfd1049f0a4abdcb36d
Author: Holger Levsen <holger at layer-acht.org>
Date: Sat Jun 23 10:40:25 2012 +0200
piuparts-report: drop in-code index.tpl stub.
diff --git a/TODO b/TODO
index 7853693..471f273 100644
--- a/TODO
+++ b/TODO
@@ -61,8 +61,6 @@ for 0.46:
- generate http://piuparts.debian.org/stable/states.png + testing.png
from existing data
-- piuparts-report.py: fix another FIXME in main()
-
- sometimes a chroot doesn't get removed on piatti - find out
why and fix it.
- slave_run: cleanup stale proc mountpoints
diff --git a/debian/changelog b/debian/changelog
index e8b1f25..248ddc9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,7 @@
piuparts (0.46) UNRELEASED; urgency=low
[ Holger Levsen ]
- * enjoy!
+ * piuparts-report: drop in-code index.tpl stub.
[ Andreas Beckmann ]
* piuparts.py:
diff --git a/piuparts-report.py b/piuparts-report.py
index 8207a05..156751d 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -302,39 +302,6 @@ ANALYSIS_BODY_TEMPLATE = """
</table>
"""
-# this template is normally replaced with from $htdocs
-# FIXME: once piatti.git is merged, drop this template here and always use that from $htdocs
-INDEX_BODY_TEMPLATE = """
- <table class="righttable">
- <tr class="titlerow">
- <td class="titlecell">
- piuparts
- </td>
- </tr>
- <tr class="normalrow">
- <td class="contentcell2">
- piuparts is a tool for testing that .deb packages can be installed, upgraded, and removed without problems. The
- name, a variant of something suggested by Tollef Fog Heen, is short for "<em>p</em>ackage <em>i</em>nstallation,
- <em>up</em>grading <em>a</em>nd <em>r</em>emoval <em>t</em>esting <em>s</em>uite".
- </td>
- </tr>
- <tr class="normalrow">
- <td class="contentcell2">
- It does this by creating a minimal Debian installation in a chroot, and installing,
- upgrading, and removing packages in that environment, and comparing the state of the directory tree before and after.
- piuparts reports any files that have been added, removed, or modified during this process.
- </td>
- </tr>
- <tr class="normalrow">
- <td class="contentcell2">
- piuparts is meant as a quality assurance tool for people who create .deb packages to test them before they upload them to the Debian package archive.
- See the <a href="$doc_root/doc/README.html" target="_blank">piuparts README</a> for a quick intro
- and then read the <a href="$doc_root/doc/piuparts.1.html" target="_blank">piuparts manpage</a> to learn about all the fancy options!
- </td>
- </tr>
- </table>
-"""
-
title_by_dir = {
"pass": "PASSED piuparts logs",
@@ -1304,12 +1271,9 @@ def main():
# static pages
logging.debug("Writing static pages")
- # FIXME: simplify code once piatti.git is merged
- INDEX_BODY = INDEX_BODY_TEMPLATE
for page in ("index", "bug_howto"):
tpl = os.path.join(output_directory,page+".tpl")
- if os.path.isfile(tpl):
- INDEX_BODY = "".join(read_file(tpl))
+ INDEX_BODY = "".join(read_file(tpl))
htmlpage = string.Template(HTML_HEADER + INDEX_BODY + HTML_FOOTER)
write_file(os.path.join(output_directory,page+".html"), htmlpage.safe_substitute( {
"page_title": "About piuparts.d.o and News",
--
piuparts git repository
More information about the Piuparts-commits
mailing list