My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
SubversionLogToAtom  
Convert output from svn log -v --xml to Atom
Featured, Phase-Implementation
Updated Aug 10, 2009 by mattimus...@gmail.com

Introduction

A simple Python module and script to convert the output from svn log -v --xml to Atom so that it can be consumed by a feed reader such as Google Reader.

Download

The script can be obtained from http://code.google.com/p/wadofstuff/source/browse/trunk/python/misc/svnlogatom.py.

Usage

The svnlogatom.py script takes one required argument and two optional arguments.

The script uses Python's urllib2 to access the Subversion log file so it may reside on a local filesystem:

$ svnlogatom.py file:///path/to/svnlog.xml

or a remote one:

$ svnlogatom.py http://www.example.com/svnlog.xml

The optional arguments are the Atom Feed title and link:

$ svnlogatom.py file:///path/to/svnlog.xml "My OpenSource Project" http://www.example.com/myproj

If these arguments are omitted then the svn log xml location is used.


Sign in to add a comment
Powered by Google Project Hosting