Il se prénome 'instantbot', il est né hier, quelques complications et dépendances, mais il est bien vivant
. Dérivé légèrement de mozbot, le bot IRC utilisé par Mozilla sur irc.mozilla.org.
En version 2.7CVS, il a déjà appris beaucoup de choses de ses quelques modules en perl. Les visites sont autorisées sur irc.mozilla.org, channel #instantbird.
Comme son nom l'indique si bien il sera dévoué à ce projet, pour répondre aux questions des utilisateurs, donner des informations...
Deux modules très intéressants pour nous :
- RDF, lecteur de flux RSS, légèrement modifié pour afficher "Check-in: <url> - <Nom de la personne> - <titre>" sur le flux HG et une façon plus normale pour le reste.
- Bugzilla, qui marche très bien quand il s'agit de reconnaitre les bugs, mais pour les avertissements il a fallu trouver une solution (les avertissements se font par des mails bruts envoyés sur l'entée standard d'un script).
N'ayant pas la possibilité de redémarrer mon routeur à distance (freebox ...) pour autoriser le port 25, nous avons créé une boite mail gratuite, et grâce à un accès pop toutes les 90 secondes suivi d'un filtrage et d'un envoi sur le script, on arrive à s'en sortir quand même avec un délai raisonnable entre l'envoie du mail et la diffusion du message sur IRC.
Je n'avais jusque là rien compris à l'utilisation de postfix, fetchmail, procmail, me voilà servi
.
His name is 'instantbot', he was born yesterday, a few missing dependencies to fix, but hey, he is alive !.
Based on mozbot, this IRC bot is already used by Mozilla on irc.mozilla.org (firebot).
Version 2.7CVS, he has already learned a lot of stuff thanks to his few perl modules. Visits are appreciated at irc.mozilla.org channel #instantbird.
As his name suggest, he is devoted to this project, to answer visitors questions, and give - nearly - real time information on the project.
Two modules are especially interesting for us:
- RDF, a RSS Feeds reader module, slightly modified to display Check-ins with this syntax: "Check-in: <URL> - <Pusher's Name> - <Title>", and normal feeds with the normal syntax.
- Bugzulla, with his two submodules, the first one that recognize Bug numbers in conversations and displays information on them, and the second that is designed to display in real time information on Bugzilla each time something occurs.
But this works with raw bugzilla's mails, and my STMP port is not forwarded to my server (I need to reboot the router for that ...). I had to find a solution, and I came to use a free webmail with pop access, fecthmail + procmail that redirects Bugzilla's mails to the corresponding script.
Until then I had bad times playing with postfix, but it seems a lot simpler now
.