Mailinglist Archive: opensuse-buildservice (245 mails)

< Previous Next >
Re: [opensuse-buildservice] [PATCH] Notifications do not support multiple action requests
  • From: Klaas Freitag <freitag@xxxxxxx>
  • Date: Tue, 5 Oct 2010 14:56:07 +0200
  • Message-id: <201010051456.08888.freitag@xxxxxxx>
On Thursday 30 September 2010 10:01:28 Adrian Schröter wrote:

Hi Islam,

thanks for working on that. That is a long outstanding feature request.

I was trying out multiple actions in one request and noticed that the
notifications contain only the last action.

I looked at the code and found this in /usr/lib/obs/server/BSNotify.pm
line 82 :

# FIXME: how to handle multiple actions in one request here ?
# right now the last one just wins ....

So here's a proposed fix : add an actions key in the reqinfo hash, that
contains an ordered list of hashes that contain the details of the actions.
That is, in our case, only half the way. We're using Hermes as notification
system. As your patch changes the format of what is sent to Hermes via http
we have to make Hermes understanding that as well.

I think your proposal is great, but please remember that we need to change
the notification systems before we can deploy it.

Are you also using Hermes or another system?

Thanks for your help,

Klaas
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups