Re: How to consume fedora-messaging?

2019-06-20 Thread Adam Williamson
On Thu, 2019-06-20 at 10:11 +0200, Pavel Raiskup wrote: > Hi Adam, or anyone, > > On Monday, June 10, 2019 6:06:42 PM CEST Adam Williamson wrote: > > If you're writing an AMQP consumer in Python, what you'll ultimately > > get for your consumer to process is a `message` object which is an > > inst

Re: How to consume fedora-messaging?

2019-06-20 Thread Jeremy Cline
Hi, On 6/20/19 4:11 AM, Pavel Raiskup wrote: Hi Adam, or anyone, On Monday, June 10, 2019 6:06:42 PM CEST Adam Williamson wrote: If you're writing an AMQP consumer in Python, what you'll ultimately get for your consumer to process is a `message` object which is an instance of a fedora_messagin

Re: How to consume fedora-messaging?

2019-06-20 Thread Pavel Raiskup
Hi Adam, or anyone, On Monday, June 10, 2019 6:06:42 PM CEST Adam Williamson wrote: > If you're writing an AMQP consumer in Python, what you'll ultimately > get for your consumer to process is a `message` object which is an > instance of a fedora_messaging.api.Message() (or a subclass of it - a >

Re: How to consume fedora-messaging?

2019-06-11 Thread Dusty Mabe
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 t

Re: How to consume fedora-messaging?

2019-06-10 Thread Adam Williamson
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. O

Re: How to consume fedora-messaging?

2019-06-09 Thread Tristan Cacqueray
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 loca

How to consume fedora-messaging?

2019-06-09 Thread Igor Gnatenko
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/