On 6/10/19 12:06 PM, Adam Williamson wrote: > 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_messaging/example.py > and a couple of sample config files: > https://github.com/fedora-infra/fedora-messaging/blob/master/configs/fedora.toml > https://github.com/fedora-infra/fedora-messaging/blob/master/configs/fedora.stg.toml > 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. related: https://github.com/fedora-infra/fedora-messaging/issues/180 Dusty _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx