mattermost-plugin-gitlab
mattermost-plugin-gitlab copied to clipboard
Adding multiple repos won't be reflected
First of, let me write this appreciation message! We love this plugin.
The problem we have is that when we add the webhook to many repos, the plugin will only show the first repo where the webhook was added. I've tried reenabling the plugin, restarting mattermost, readding the webhoo, but it all fails. Is this a bug or am I doing something wrong?
@kominoshja Thanks for trying out the plugin!
The problem we have is that when we add the webhook to many repos
For this, I want to confirm my understanding -- do you mean you're setting up a separate webhook for each of your GitLab projects/repos?
Or do you mean you use /gitlab subscribe
command in Mattermost to subscribe one channel to receive webhook posts from multiple GitLab projects/repos?
Hi again @jasonblais
Just to confirm yes, I'm setting up the same webhook on different repos. It could be possible that I am doing something wrong though
@kominoshja I've set mine up the same way. Every repo over different namespaces has the web hook enabled, but you will always have to subscribe to the repo (/gitlab subscribe namespace/repo
) once the web hook is added under the channel you want notifications to be pushed to.
Unfortunately, GitLab has a service template, but it only takes a username, not a token. That would be a winner for multiple repos if it also accepted a token without a username.
@octoquad sadly, I can't /gitlab subscribe
because I run into #65
@kominoshja https://github.com/mattermost/mattermost-plugin-gitlab/issues/65 is now fixed. Does this help you?
Closing due to inactivity. Issue can be reopened with more interest from our community.