Advertisement
smokex

Pursuivant Conversation

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