diff options
author | Antoine Beaupré <anarcat@debian.org> | 2018-11-22 11:37:23 -0500 |
---|---|---|
committer | Antoine Beaupré <anarcat@debian.org> | 2018-11-22 11:52:53 -0500 |
commit | a7d028f2f572889f95a56463065580a9f5ef0d96 (patch) | |
tree | df7f6307e6ba73658bf17a95fb161b0cd1fc6dd6 | |
parent | 1b2f7eaa57cafa652fb6fd4fd6a46779c42ffb06 (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>
-rwxr-xr-x | bin/review-update-needed | 1 |
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']: |