Giter Site home page Giter Site logo

Comments (4)

ericjaystevens avatar ericjaystevens commented on May 26, 2024 2

I'll take this after #130

from mattermost-plugin-gitlab.

manland avatar manland commented on May 26, 2024

@ericjaystevens I have started the Dev in #53 but I'm blocking because of missing feature in gitlab (API to add webhook for group). A contributor has started to work on it last week at gitlab... Wait and see!

from mattermost-plugin-gitlab.

ericjaystevens avatar ericjaystevens commented on May 26, 2024

@manland my understanding of your approach to this issue is to create hooks in the /gitlab subscribe command. This solution is great because it does auto-syncing and lets users not worry about webhooks.

An alternative approach we should consider is adding a sync switch the subscribe command that lets the users explicitly choose to use this approach. We would then also offer dedicated commands for people who want to manage project and group hooks manually.

So my proposal would look something like

/gitlab subscribe owner[/repo] [features] [syncWebhooks] - Subscribe the current channel to receive notifications about opened merge requests and issues for a group or repository
   - syncWebhooks - automatically creates project and team webhooks as needed to point to your Mattermost instance.

/gitlab webhook add owner[/repo] [features] - Adds a webhook pointing to your Mattermost URL.
/gitlab webhook remove owner[/repo] - Removes all webhooks for a group or project that points to your Mattermost URL
/gitlab webhook list owner[/repo] - lists all webhooks for a group or project.

from mattermost-plugin-gitlab.

manland avatar manland commented on May 26, 2024

@ericjaystevens yes IMHO it's a good addition and with #36 it's a perfect fit for user to discover what is in sync and what not! I'm sorry I haven't time to do it (baby come 😅). If you want to continue #53 you are more than welcome!

from mattermost-plugin-gitlab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.