fleaz / CptHook

Receive webhooks from different applications and post them to IRC channels
MIT License
17 stars 8 forks source link

[GitLab] Allow user-controlled channel targeting #19

Open mweinelt opened 5 years ago

mweinelt commented 5 years ago

For large instances (like Debians) the repository maintainer might want to influence where notifications get sent, without bugging the instance admin. So I propose appending GET variables to the webhook target:

Think:

https://cpthook.example.com/gitlab/?channel=#myproject
fleaz commented 5 years ago

Would this make sense as a general feature for all modules? E.g. the simple module already has this functionality

mweinelt commented 5 years ago

I guess so, even prometheus alerts might only be interesting for smaller subgroups.