Project

General

Profile

Actions

Feature #535

closed

teach IZBot about redmine

Added by Christian Lohmaier almost 10 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Low
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Tags:

Description

write a plugin for supybot so that it can give the summary or link if a redmine ticket is mentioned in the various irc-channes.

besides the technical implementation of the lookup, a shorthandle for the tickes is needed (like fdo#123 for bugzilla on freedesktop, rhbz#1234 for RedHat's bugzilla,...) to tell the bot that it should look the ticket up in redmine. Proposals welcome :-)

maybe r#1234?

Actions #1

Updated by Dennis Roczek almost 10 years ago

Well we have a more or less collected list at https://wiki.documentfoundation.org/Template:Bugentry (check either https://wiki.documentfoundation.org/Template:Bugentry/abbreviation or click the template links to get the appreciation)

Actions #2

Updated by Dennis Roczek almost 10 years ago

d'oh.
I guess these would be useful:
lauchpad,
rhbz
bnc
deb
aoo/i#?

Actions #3

Updated by Florian Effenberger over 9 years ago

  • Assignee deleted (Christian Lohmaier)

Redmine not really used in IRC, thus de-associating this ticket from Cloph. Takers welcome, of course.

Actions #4

Updated by Dennis Roczek over 9 years ago

stupid q: where is the script?

Actions #5

Updated by Dennis Roczek over 9 years ago

well, it is usefule in #tdf-infra as seen today ;-)

Florian Effenberger, *, any code pointers? Where is the script located? (just for the case somebody has too much time)

Actions #6

Updated by Florian Effenberger over 9 years ago

Cloph has details on the script, I don't :)

Actions #7

Updated by Christian Lohmaier over 9 years ago

oh, there's no public location for that scripts yet, but it is supybot plugins, and that's in python.
So write a python function that given the redmine-ticket extracts the correct info, then that's enough to integrate it :-)

for redmine I was basically just waiting for the shorthandle that should be used, as redmine provides data in json format so you don't have to parse html using regular expressions...
https://redmine.documentfoundation.org/issues/535.json for example

as for the others: IZBot already knows about novell (although most of the requests fail because they require an account to see), redhat, aoo and fdo bugzillas - as they all use xmlrpc those are basically the same.

debian doesn't offer sane interface AFAIK, and number of debian bugs that affect LO and are posted to the channel is negligible.
Similar for launchpad, although for that you should be able to query it in a sane matter.

Actions #8

Updated by Florian Effenberger about 9 years ago

  • Assignee set to Christian Lohmaier

Reassigning to Cloph in light of the upcoming FOSDEM planning round - I think having this feature is indeed worthwhile ;-)

Actions #9

Updated by Christian Lohmaier about 9 years ago

  • Status changed from New to Closed

fixed, listens for URLs, and rdm#123 (or rdm:123 or rm#124 and rm:1234)

Actions

Also available in: Atom PDF