Project

General

Profile

Actions

tickets #27494

closed

merge request info from gitlab to IRC

Added by tampakrap over 6 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
IRC and Matrix
Target version:
-
Start date:
2017-11-07
Due date:
% Done:

0%

Estimated time:

Description

Now that we have our amazing heroes-bot, it would be cool to be able to send information about new and merged Merge Requests from gitlab.i.o.o/infra/salt to #opensuse-admin

Actions #1

Updated by tampakrap over 6 years ago

  • Private changed from Yes to No
Actions #2

Updated by asmorodskyi over 6 years ago

  • Status changed from New to In Progress
  • Assignee set to asmorodskyi
Actions #3

Updated by asmorodskyi over 6 years ago

During hackweek I spent some time on this issue. Up to now results are :

  1. There is no native support of gitlab pushing messages into IRC
  2. Supybot used by heroes for pushing notification about infra status does not have native integration with gitlab neither
  3. Supybot has integration with RSS so you can sign up for gitlab RSS feed . Down side of this - it would be really spamy solution because there is not match filtering abilities from gitlab side so you will get notification about every comment for MR for example
  4. @tampakrap suggested to use https://docs.gitlab.com/ce/ci/yaml/#after_script which look really promising but I did not finish yet

No matter that hackweek is over I plan to continue on this in my free time

Actions #4

Updated by cboltz over 6 years ago

I'm happy to hear that you want to work on this :-)

FYI: Gitlab has two feed types:

Another option might be to filter the activities feed for merge requests (and whatever we want, whitelist- or blacklist-based), and feed the filtered feed to supybot.

Actions #5

Updated by asmorodskyi over 6 years ago

So I figure out how to make supybot post messages on every commit , but my current impediment is credentials of the bot

Actions #6

Updated by asmorodskyi about 6 years ago

some updates :
I got all needed credentials and access to machine where bot is running
I manage to install RSS feed plugin in supybot instance which connected to #opensuse-admin

bot showing in logs :
Checking for announcements at https://gitlab.infra.opensuse.org/infra/salt.atom but it not produce any messages in IRC channel when new commit hit gitlab

if you trying to push bot for manual feed check it will cause error :
Error: Couldn't get RSS feed.

Next steps :
double check if this feed is ok by trying to run bot on another machine

Actions #7

Updated by asmorodskyi almost 6 years ago

  • Status changed from In Progress to Workable
  • Assignee deleted (asmorodskyi)

Unassigned from this ticket. Unfortunately I hit dead-end and having no activity on this issue for more then 2 month

Actions #8

Updated by tampakrap over 5 years ago

  • Status changed from Workable to Rejected

rejecting the ticket as the original assignee stopped working on the feature, and no interest has been expressed by anyone else to work on it

Actions

Also available in: Atom PDF