[opensuse-buildservice] does $BSConfig::notification_plugin still do anything?

Hi all, running OBS 2.10 I wanted to try to build a simple notification plugin that just logs all notifications to a file (to be extended later...). However, It seems to get never called at all. src/backend/BSSrcServer/Notify.pm has the following comment: # this is called from the /notify_plugins route that the API calls for all # events (no matter the origin) if the API is configured to do so. # sub notify_plugins($$) { But I am unable to find where to configure this? I'd like to avoid rabbitmq at all cost if possible ;-) -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

Hey, On 18.12.19 17:04, Stefan Seyfried wrote:
However, It seems to get never called at all.
This functionality is dropped since 2.9/October 2017¹ Henne ¹https://github.com/openSUSE/open-build-service/pull/3993 -- Henne Vogelsang http://www.opensuse.org Everybody has a plan, until they get hit. - Mike Tyson -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

Am 19.12.19 um 11:41 schrieb Henne Vogelsang:
Hey,
On 18.12.19 17:04, Stefan Seyfried wrote:
However, It seems to get never called at all.
This functionality is dropped since 2.9/October 2017¹
Henne
...which makes me curious why commit https://github.com/openSUSE/open-build-service/commit/a244ccb4e4f9a82fff86bd... is moving around dead code in 2019... ;-) This commit is why I actually assumed that it is still possible to use a notification plugin. Anyway, I can probably get away with calling curl -s 'http://obs:5352/lastnotifications?start=960800&noprune=1&block=1' and parsing the output. -- Stefan Seyfried "For a successful technology, reality must take precedence over public relations, for nature cannot be fooled." -- Richard Feynman -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Henne Vogelsang
-
Stefan Seyfried