From 81cfa87ecb249882730b6817bb93758dbfca503c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89douard=20Bri=C3=A8re?= Date: Mon, 23 Mar 2009 14:09:47 +0100 Subject: [PATCH] Add description --- readme.textile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 readme.textile diff --git a/readme.textile b/readme.textile new file mode 100644 index 0000000..61ecdc8 --- /dev/null +++ b/readme.textile @@ -0,0 +1,19 @@ +If you are using "trac":http://trac.edgewall.org/ and you want to display ticket changes on "Campfire":http://www.campfirenow.com/ here is a handy hack plugin. + +Here is a juicy screenshot demonstrating how it looks like. + +!http://static.nanalegumene.net/stuff/trac-campfire.png! + +If you'd rather use IRC instead of Campfire you might want to try out the handy "irccat":http://github.com/RJ/irccat/tree/master which is "notoriously used by the Last.fm development teams":http://www.metabrew.com/article/how-we-use-irc-at-lastfm/ instead. This Campfire plugin is actually only a slight change from the irccat trac plugin. + +So here’s the gist. You will need to install "Pinder":http://dev.oluyede.org/pinder/doc.html, a Campfire listener written in Python. It should be as easy as: + +
$ easy_install pinder
+ +Then download or git clone the "Campfire trac listener plugin on github":http://github.com/edouard/campfire-trac-listener/tree/master. + +You will need to have "setuptools":http://peak.telecommunity.com/DevCenter/setuptools installed. (To install setuptools, download the bootstrap module "ez_setup.py":http://peak.telecommunity.com/dist/ez_setup.py and execute: $ python ez_setup.py) + +Now edit campfirelistener/campfirelistener.py to your taste. Especially, you'll need to set up the Campfire subdomain (something like subdomain.campfirenow.com), the Campfire room, and the Campfire username and password (as you can see my Campfire wonderbot is named Hector). When it's all done run python setup.py bdist_egg to build the egg. + +setup.py will create several subdirectories. The TracCampfireListener-0.1-py2.5.egg file is located in the dist directory. Copy it to the plugins directory of your local trac project folder (/var/lib/trac/your_project/plugins for instance). Chmod it and restart Apache for trac to use the plugin. That should be it. \ No newline at end of file