summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@archlinux.org>2020-07-09 21:18:42 +0200
committerJelle van der Waa <jelle@archlinux.org>2020-07-09 21:50:31 +0200
commit21d1e50da83e8d2dc2564cfe543596bdfb2b50a6 (patch)
tree08c1f6821d3fc2d06705cf6c9924165ab6604332
parent1a15dea6700eadc8379d0fef2e0b3f37de92c54e (diff)
downloadarchweb-21d1e50da83e8d2dc2564cfe543596bdfb2b50a6.tar.gz
archweb-21d1e50da83e8d2dc2564cfe543596bdfb2b50a6.zip
Expand debug output for rebuilderd importer
-rw-r--r--devel/management/commands/read_reproducible_status.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/management/commands/read_reproducible_status.py b/devel/management/commands/read_reproducible_status.py
index f640572b..ba317753 100644
--- a/devel/management/commands/read_reproducible_status.py
+++ b/devel/management/commands/read_reproducible_status.py
@@ -119,7 +119,7 @@ def import_rebuilderd_status(url):
rbstatus.was_repro = False
if rbstatus.pkgver != pkgver or rbstatus.pkgrel != pkgrel or rbstatus.epoch != epoch:
- logger.info('updating status for package: %s', pkg['name'])
+ logger.info('updating status for package: %s to %s', pkg['name'], RebuilderdStatus.REBUILDERD_STATUSES[status][1])
rbstatus.epoch = epoch
rbstatus.pkgver = pkgver
rbstatus.pkgrel = pkgrel
@@ -127,7 +127,7 @@ def import_rebuilderd_status(url):
rbstatus.arch = arch
rbstatus.repo = repository
elif rbstatus.status != status: # Rebuilderd rebuild the same package?
- logger.info('status for package: %s changed', pkg['name'])
+ logger.info('status for package: %s changed to %s', pkg['name'], RebuilderdStatus.REBUILDERD_STATUSES[status][1])
rbstatus.status = status
# TODO: does django know when a model was really modified?