]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/tips/monitor_page_changes_through_IRC.mdwn
add details on bot setup
[git.ikiwiki.info.git] / doc / tips / monitor_page_changes_through_IRC.mdwn
index 06b6c86257e5d1462829a0fe245dd31cdb32b858..b958b89069d039ce7fffd15a737993c28c0b2c6a 100644 (file)
@@ -1,3 +1,5 @@
+[[!meta date="2014-04-01 10:39:47 -0400"]]
+
 because of [[bugs/notifyemail_fails_with_some_openid_providers]], I have been struggling with finding ways of being notified of changes to pages I want to watch here.
 
 the workaround I found so far was to join the `#ikiwiki` channel on freenode, and set the following "hilight" in irssi:
@@ -5,3 +7,16 @@ the workaround I found so far was to join the `#ikiwiki` channel on freenode, an
     /hilight -channels #ikiwiki  -word tips/monitor_page_changes_through_IRC
 
 this will watch for any change to this page. -- [[anarcat]]
+
+hello anarcat, I'm editing your page! -- [[micah]]
+
+obviously, the above assumes that the wiki is already configured to send notifications on IRC when commits are done through the git repository. there are multiple ways of doing that, which somewhat fall outside the scope of Ikiwiki itself, since you should really learn how to do this elsewhere. All you need to know is that the hook needs to be in `repository.git/hooks/post-receive` file.
+
+there are basically two alternatives now:
+
+* [KGB](https://kgb.alioth.debian.org/) - a Perl script that has been running at Debian since 2009
+* [irker](http://www.catb.org/esr/irker/) - a Python script whipped up by ESR in the fall of CIA.vc (~2011), ignoring the existing KGB bot
+
+KGB is harder to setup ([tutorial](https://www.donarmstrong.com/posts/switching_to_kgb/)), as it , but more reliable than irker, in my experience. --[[anarcat]]
+
+See also [[todo/ikibot]] for another bot idea.