summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_html_notes.py2
-rwxr-xr-xbin/reproducible_html_packages.py4
2 files changed, 4 insertions, 2 deletions
diff --git a/bin/reproducible_html_notes.py b/bin/reproducible_html_notes.py
index 56d00b5a..ad53f8c8 100755
--- a/bin/reproducible_html_notes.py
+++ b/bin/reproducible_html_notes.py
@@ -322,7 +322,7 @@ def purge_old_notes(notes):
except IndexError: # the package is not tested. this can happen if
pass # a package got removed from the archive
if to_rebuild:
- gen_packages_html(to_rebuild)
+ gen_packages_html(to_rebuild, no_clean=True)
def purge_old_issues(issues):
diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py
index a8a920a4..90faa463 100755
--- a/bin/reproducible_html_packages.py
+++ b/bin/reproducible_html_packages.py
@@ -235,7 +235,9 @@ def gen_packages_html(packages, suite=None, arch=None, no_clean=False, nocheck=F
if nocheck and (not suite or not arch):
for lsuite in SUITES:
for larch in ARCHES:
- gen_packages_html(packages, lsuite, larch, no_clean, True)
+ gen_packages_html(packages, lsuite, larch, True, True)
+ if not no_clean:
+ purge_old_pages()
return
for pkg in sorted(packages):
pkg = str(pkg)