summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAntoine Beaupré <anarcat@debian.org>2018-11-22 11:37:23 -0500
committerAntoine Beaupré <anarcat@debian.org>2018-11-22 11:52:53 -0500
commit5c97790c7b48f7def7454ea6c8b63edc6ad7b9e1 (patch)
tree1eb6554fc0d62016df27785c9f6f0b5e81d4d7db /bin
parent2a165833d458c1c1ef949073ce050a9d7e51aaa1 (diff)
inline explanation for why a package is unclaimed
A little more verbose explanation will help in diagnosing why a specific package was unclaimed. It also shows the exact diff that was used for comparison and the requested delay. Requested-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/review-update-needed1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/review-update-needed b/bin/review-update-needed
index 976c0e9c82..8b7753885d 100755
--- a/bin/review-update-needed
+++ b/bin/review-update-needed
@@ -133,6 +133,7 @@ for entry in all_entries:
date_to_format = datetime.utcfromtimestamp(entry['claimed-date'])
if datetime.utcnow() - date_to_format > unclaim_delta:
unclaim_pkgs.append(entry['pkg'])
+ args.quiet or print("Unclaimed: idle for more than {}: {}".format(unclaim_delta, datetime.utcnow() - date_to_format))
else:
args.quiet or print("Unclaimed-Since: {}".format(format_date(entry['claimed-date'])))
if entry['last-update'] > entry['claimed-date']:

© 2014-2024 Faster IT GmbH | imprint | privacy policy