Commit 7deb59d8 authored by Jochen Sprickerhof's avatar Jochen Sprickerhof Committed by Holger Levsen
Browse files

rdn stats: add link to size page



(cherry picked from commit 4b38bb5f861e065fd9d4e8a39973006dffe02332)
Signed-off-by: default avatarHolger Levsen <holger@layer-acht.org>
parent 3f8d857f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -218,9 +218,9 @@ def output(outfile, arch, db_size, total, messages_packages, size_sort):
    print("</table>", file=outfile)

    if size_sort:
        print('<p>Packages are grouped by having a bug in <a href="https://salsa.debian.org/reproducible-builds/reproducible-notes">reproducible-notes</a> and sorted by diffoscope size (bigger logs later) inside the group.</p>', file=outfile)
        print('<p>Packages are grouped by having a bug in <a href="https://salsa.debian.org/reproducible-builds/reproducible-notes">reproducible-notes</a> and sorted by diffoscope size (bigger logs later) inside the group. There is also a <a href="index.html">page</a> sorted by build time.</p>', file=outfile)
    else:
        print('<p>Packages are grouped by having a bug in <a href="https://salsa.debian.org/reproducible-builds/reproducible-notes">reproducible-notes</a> and sorted by build time (newer logs later) inside the group.</p>', file=outfile)
        print('<p>Packages are grouped by having a bug in <a href="https://salsa.debian.org/reproducible-builds/reproducible-notes">reproducible-notes</a> and sorted by build time (newer logs later) inside the group. There is also a <a href="index_size.html">page</a> sorted by diffoscope size.</p>', file=outfile)

    def sorter(pkg):
        if pkg["src"] in rn_bugs and "bugs" in rn_bugs[pkg["src"]]: