Trac RSS revision history feeds

2 views
Skip to first unread message

Jason Winnebeck

unread,
Nov 23, 2009, 3:27:56 PM11/23/09
to trac-...@googlegroups.com
I've noticed that since Sept 25, the RSS feeds have stopped working on revision history. Is this a known issue?

Compare:
http://trac.edgewall.org/log/branches/0.11-stable -- works
(using the RSS link on the same page:)
http://trac.edgewall.org/log/branches/0.11-stable?format=rss&limit=100&mode=stop_on_copy -- gives this output:

<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">


<channel>
<title>Revisions of /branches/0.11-stable</title>
<link>http://trac.edgewall.org/log/branches/0.11-stable?rev=8848</link>
<description>Trac Log - Revisions of /branches/0.11-stable</description>
<language>en-US</language>
<generator>Trac 0.11.6rc1</generator>
<image>
<title>The Trac Project</title>
<url>http://www.edgewall.org/gfx/trac_logo.png</url>
<link>http://trac.edgewall.org/log/branches/0.11-stable?rev=8848</link>
</image>
</channel>

</rss>

Jason Winnebeck

Remy Blank

unread,
Nov 23, 2009, 3:44:28 PM11/23/09
to trac-...@googlegroups.com
Jason Winnebeck wrote:
> Compare:
> http://trac.edgewall.org/log/branches/0.11-stable -- works
> (using the RSS link on the same page:)
> http://trac.edgewall.org/log/branches/0.11-stable?format=rss&limit=100&mode=stop_on_copy -- gives this output:

Indeed, something is wrong. Could you please open a ticket for that? Thanks.

-- Remy

signature.asc

Christian Boos

unread,
Nov 23, 2009, 5:40:52 PM11/23/09
to trac-...@googlegroups.com
No need, I fixed it (r8850).

Thank you for the report, Jason!

-- Christian

Remy Blank

unread,
Nov 23, 2009, 6:00:20 PM11/23/09
to trac-...@googlegroups.com
Christian Boos wrote:
> No need, I fixed it (r8850).

I had a simpler fix:

diff --git a/trac/versioncontrol/web_ui/log.py
b/trac/versioncontrol/web_ui/log.py
--- a/trac/versioncontrol/web_ui/log.py
+++ b/trac/versioncontrol/web_ui/log.py
@@ -256,7 +256,7 @@
'path': path, 'rev': rev, 'stop_rev': stop_rev,
'revranges': revranges,
'mode': mode, 'verbose': verbose, 'limit' : limit,
- 'item_ranges': item_ranges, 'changes': changes,
+ 'items': info, 'item_ranges': item_ranges, 'changes': changes,
'email_map': email_map, 'extra_changes': extra_changes,
'wiki_format_messages':
self.config['changeset'].getbool('wiki_format_messages')

signature.asc

Jason Winnebeck

unread,
Nov 24, 2009, 8:45:16 AM11/24/09
to trac-...@googlegroups.com
Christian Boos wrote:
> No need, I fixed it (r8850).
>
> Thank you for the report, Jason!

Thanks, my Google Reader is happy again, and I can now get my daily SVN
updates fix. I should have reported it earlier; I didn't notice it missing
from my updates right away and even after I noticed I figured it was something
trivial like a URL change.

Keep up the good work on Trac!

Jason
Reply all
Reply to author
Forward
0 new messages