[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible debian: ignore files which should not been there but are younger than a day

Holger Levsen holger at layer-acht.org
Wed Sep 28 23:12:12 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit e4c68558b3f8643256165d231c0cce6be1d20872
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Sep 29 00:48:06 2016 +0200

    reproducible debian: ignore files which should not been there but are younger than a day
---
 bin/reproducible_html_breakages.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/reproducible_html_breakages.py b/bin/reproducible_html_breakages.py
index 157862c..f0d0814 100755
--- a/bin/reproducible_html_breakages.py
+++ b/bin/reproducible_html_breakages.py
@@ -159,11 +159,11 @@ def alien_log(directory=None):
                 rversion = ''   # continue towards the "bad file" path
             if strip_epoch(rversion) != version:
                 try:
-                    if os.path.getmtime('/'.join([root, file]))<time.time()-1800:
+                    if os.path.getmtime('/'.join([root, file]))<time.time()-86400:
                         bad_files.append('/'.join([root, file]))
-                        log.warning('/'.join([root, file]) + ' should not be there')
+                        log.warning('/'.join([root, file]) + ' should not be there and older than a day.')
                     else:
-                        log.info('ignoring ' + '/'.join([root, file]) + ' which should not be there, but is also less than 30m old and will probably soon be gone.')
+                        log.info('ignoring ' + '/'.join([root, file]) + ' which should not be there, but is also less than 24h old and will probably soon be gone.')
                 except FileNotFoundError:
                     pass  # that bad file is already gone.
     return bad_files

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list