Please find proposed format for taskotron fedmsgs below.
{ 'i': 1,
'msg': {'check': {'name': 'upgradepath',
'type': 'bodhi_update',
'item': 'wireshark-1.10.12-1.fc20',
'arch': 'x86_64'},
'packages': [{'nvr': 'wireshark-1.10.12-1.fc20',
'name': 'wireshark'}],
'result': {'id': 123456,
'submit_time': '2015-01-27 14:22:53.584210',
'outcome': 'failed',
'summary': '...',
'job_url':
'http://resultsdb.fedoraproject.org/...',
'log_url':
'http://taskotron.fedoraproject.org/...'}
},
'msg_id': '2014-0bc98222-a864-4aea-bc6b-e3b090d2cc3d',
'timestamp': 1395760459,
'topic': 'org.fedoraproject.{prod, stg, dev}.taskotron.result.new',
'username': 'taskotron'
}
The 'packages' field would be used for all the packages that are relevant
to the check which result is being sent in the fedmsg, so they can be
returned by fedmsg.meta.msg2packages and searched on using datagrepper.
Thoughts?
Thanks,
Martin