From 05057063af448be7beca6fa65fbeea573d5915a2 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sun, 15 Feb 2015 01:19:55 +0100 Subject: reproducible: html_indexes: more doc --- bin/reproducible_html_indexes.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'bin/reproducible_html_indexes.py') 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) -- cgit v1.2.3-70-g09d2