On Mon, 2019-06-10 at 09:24 +0900, Tristan Cacqueray wrote:
> On Mon, Jun 10, 2019 at 01:24 Igor Gnatenko wrote:
>> Hello,
>>
>> I have been trying to write some script which would listen on
>> generation of new repository / successful build is tagged in Koji and
>> do some actions locally. Or basically whenever someone pushes commits,
>> I want to fetch repo locally.
>>
>> I was reading
https://fedora-messaging.readthedocs.io/en/latest/consuming.html,
>> but it is not very clear to me where I can find list of topics and
>> what data messages will contain...
As well as the doc, there is a sample consumer:
https://github.com/fedora-infra/fedora-messaging/blob/master/fedora_messa...
and a couple of sample config files:
https://github.com/fedora-infra/fedora-messaging/blob/master/configs/fedo...
https://github.com/fedora-infra/fedora-messaging/blob/master/configs/fedo...
that you will probably find useful.
>
> Hi Igor,
>
> you can find the list of topics and their associated schema here:
>
https://fedora-fedmsg.readthedocs.io/en/latest/topics.html
Treat this with caution, because it is...sometimes a lie.