Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [08:13:56] <smokex> could I get a pursuivant bot set up to post changes to git://git.code.sf.net/p/quazaa/gitcode on irc://irc.paradoxirc.net:6667#quazaa-dev
- [02:00:47] <bcooksley> evening
- [02:01:02] <bcooksley> smokex: that depends. Is Quazaa a KDE project?
- [02:01:20] <bcooksley> We haven't had a request from a non-KDE project before
- [02:01:44] <bcooksley> and it also depends on if sf.net is still capable of sending out CIA format XML mails to arbitrary addresses
- [19:54:44] ! Adaptee_ ([email protected]) joined #kde-sysadmin
- [19:59:21] <smokex> Quazaa is a Qt project but not KDE
- [19:59:46] <smokex> bcooksley: sf.net can send mails out though through sendmail
- [19:59:57] ! steveire (~quassel@kde/skelly) joined #kde-sysadmin
- [20:02:46] <bcooksley> smokex: pursuivant needs CIA.vc style formatted emails, containing information on each commit made
- [20:05:13] ! TheMonster ([email protected]) has quit (Ping timeout: 240 seconds)
- [20:06:45] <smokex> bcooksley: I could probably get it working if I had an example
- [20:08:05] <smokex> what kde modules use this?
- [20:15:46] <bcooksley> all KDE projects get it for free courtesy of our Git hooks
- [20:16:13] <bcooksley> let me see if I can dig out a copy of a CIA.vc formatted mail
- [20:17:13] <bcooksley> something like this http://paste.kde.org/p5eb425b0/
- [20:17:20] <bcooksley> that is properly encoded though
- [20:19:30] ! TheMonster ([email protected]) joined #kde-sysadmin
- [20:22:24] <smokex> looks pretty straight forward
- [20:23:50] <smokex> we had something working for CIA.vc earlier just after the move over to the new project-web
- [20:24:23] <smokex> we were able to call a php script on the site hosting from our git repo
- [20:24:44] <smokex> the php script formatted the mail and sent it out
- [20:30:14] ! pursuivant (pursuivant@kde/bot/commit-notifications) joined #kde-sysadmin
- [20:30:14] <pursuivant> Zabbix reports: SSH server is down on immanuel: PROBLEM
- [20:32:14] <pursuivant> Zabbix reports: SSH server is down on immanuel: OK
- [20:42:40] <smokex> so the rule would be: [quazaa-repos] repository=quazaa
- [20:43:00] <smokex> directory=quazaa/gitcode/.*
- [20:43:22] <bcooksley> I can only tell you what that rule will be
- [20:43:24] <smokex> channel=irc://irc.paradoxirc.net/quazaa-dev
- [20:43:31] <bcooksley> once i've seen one of the mails your system will generate
- [20:43:43] <smokex> ah ok
- [20:44:12] <bcooksley> and i'll need to vet paradoxirc to ensure we won't expose ourselves to problems there
- [20:44:25] <smokex> alright
- [20:45:27] <bcooksley> i'll need to discuss with the others as well
- [20:45:32] <smokex> ok
- [20:45:49] <bcooksley> in any case, setting up a pursuivant instance isn't hard, once you have the mail part working
- [20:46:03] <bcooksley> it is just a python script invoked via procmail and a irker instance
- [20:46:35] <bcooksley> just wondering, how did you come across pursuivant, considering it is only on Freenode?
- [20:47:15] <smokex> I was talking with one of the sourceforge ops
- [20:47:25] <smokex> and one of my developers was talking about it
- [20:47:41] <smokex> and I saw a link to it on what's left of cia.vc
- [20:48:07] <bcooksley> *nod*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement