nazrhyn / gitlab-slack

A service that receives hook notifications from GitLab and posts information to an incoming webhook on Slack.
MIT License
79 stars 20 forks source link

Discussion #38

Open DevStar2004 opened 1 month ago

DevStar2004 commented 1 month ago

Hi, how are you? I'm interested in this project? Could we connect?

nazrhyn commented 1 month ago

Hey there! This project is pretty old at this point. I was just about to go in to this and a few other repositories and mark them as unsupported and disable Dependabot. What can I help you with?

DevStar2004 commented 1 month ago

okay. My name is Anthony. I'm full-stack & AI developer. Could we chat on whatsapp or telegram?

nazrhyn commented 1 month ago

This definitely seems a bit sketchy. This project is super old and I can't imagine what you'd want to talk about.

DevStar2004 commented 1 month ago

I have a client who wants this kind of project, so I'd like to discuss it in more detail.

nazrhyn commented 4 weeks ago

A few details:

  1. This was originally written back when GitLab didn't have a proper Slack integration.
    1. Since I was writing one, I customized the output and tracking for our needs and workflows -- e.g. for the specific way we used labels.
  2. In general, it's just a service that listens for requests representing outgoing webhooks from GitLab, processes them, and makes a request to an incoming webhook configured on Slack to post a customized message. The details are just in how that's processed and what it displays in Slack.

The code is MIT licensed, so there are no usage restrictions. That said, the code is not "modern" JS anymore ... 5 years is a long time in the JS world 😅. If I were writing something like this again, I would just start by setting up the HTTP server and verify the webhooks are coming in, then I'd just hook that up to make the requests to Slack to post some message. Then after that it's just building out the details.