summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-02-15 01:19:55 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-15 17:37:46 +0100
commit05057063af448be7beca6fa65fbeea573d5915a2 (patch)
treeb7c7f6c2c0d3b5260ceb4625e294c420aa479429 /bin
parent32dc8ed07731cd348b4478a5039cbd389d59d241 (diff)
downloadjenkins.debian.net-05057063af448be7beca6fa65fbeea573d5915a2.tar.xz
reproducible: html_indexes: more doc
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_html_indexes.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/reproducible_html_indexes.py b/bin/reproducible_html_indexes.py
index 801f139e..1a162648 100755
--- a/bin/reproducible_html_indexes.py
+++ b/bin/reproducible_html_indexes.py
@@ -26,6 +26,12 @@ Reference doc for the folowing lists:
packages to show
- `text` a string.Template instance with $tot (total of packages listed)
and $percent (percentual on all sid packages)
+ - `timely`: boolean value to enable to add $count and $count_total to the
+ text, where:
+ * $percent becomes count/count_total
+ * $count_total being the number of all tested packages
+ * $count being the len() of the query indicated by `query2`
+ - `query2`: useful only if `timely` is True.
Technically speaking, a package can be empty (we all love nonsense) but every
section must have at least a `query` defining what to file in.
@@ -307,6 +313,5 @@ def build_page(page):
if __name__ == '__main__':
bugs = get_bugs()
- print(bugs)
for page in pages.keys():
build_page(page)