This is a
TWiki:Codev/TWikiBot module to monitor a subversion repository.
How it works
The module would makes use of the commandline subversion tools to gather the current revision on a timed basis. If the current revision is higher than the last revision recorded, the information for each revision will be gathered and displayed in the channel. Overall the module is very similar to the RDF and TWikiBotRss modules.
--
JasonHill - 12 Feb 2007
Comments
I've started on this module using the RDF module as a base and a portion of SVN::Log. Unfortunately I was unable to use SVN::Log as-is, it was calling an invalid command line on my system.
Below are two tables for coding reference:
Note: These tabels are most likely out of date now.
| Variable | Use |
| repos | A hash of repositories to monitor |
| updateDelay | Length of time between updates |
| preferredLineLength | Approximate line length to trim the description to |
| data | Internal revision information hash |
| mutes | Hash of channel lists |
| Command | Use |
svn mute <repository> in <channel> | Mute <repository> announcements in <channel> |
svn unmute <repository> in <channel> | Unute <repository> announcements in <channel> |
--
JasonHill - 01 Mar 2007
I have finished the module. The code is not very pretty, but it works. I will hopefully be adding it to the TWikiBot SVN repository soon. A lot of the TWikiBot code needs to be reexamined and the repository synced with the active bot.
--
JasonHill - 23 Mar 2007