Emit user in PackageListChange messages

Fixes: https://pagure.io/koji/issue/1035
This commit is contained in:
Tomas Kopecek 2018-08-22 17:58:11 +02:00
parent b96fd708ec
commit e016e6624d
5 changed files with 105 additions and 41 deletions

View file

@ -158,7 +158,8 @@ def prep_package_list_change(cbtype, *args, **kws):
props = {'type': cbtype[4:],
'tag': kws['tag']['name'],
'package': kws['package']['name'],
'action': kws['action']}
'action': kws['action'],
'user': kws['user']['name']}
queue_msg(address, props, kws)
@convert_datetime