Name

p4rss.py - generate RSS feed from p4 changes -m 10.

Synopsis

python p4rss.py > /path/to/rssfile.xml
p4rss.py generates 10 most recent changes from //depot/... or the top of the depot. Users can specify their customizations by editing p4rss.ini file.
title
name of RSS feed - useful for html rendering
filespec
argument for p4
maxchanges
value for -m option of p4
site_url
url of p4db
maildomain
if set, user info appears as email addresses

Description

p4rss.py converts usual output from p4 changes e.g.
Change 10 on 2003/02/26 by hjh@p4rss 'Doc on RSS 0.91 vs 1.0, and cos'
Change 9 on 2003/02/26 by hjh@p4rss 'Add a bit more doc. '
Change 8 on 2003/02/26 by hjh@p4rss 'Documentation and cosmetic chan'
...
to RSS 2.0 format. Run p4rss from a cron job to generate the RSS periodically.

Because p4rss.py uses vanilla p4, user can modify its behaviour with usual P4 environment variables.

Bugs

There is no support for caching and other advanced features.

Todo

Study web interfaces like p4db, p4web or PyDS

Download


Copyright 2003 Jay Han
You are free to use it as long as you do not blame me for anything.