Skip to content

Commit c657ee6

Browse files
committed
Fill the RSS feeds with a bit more content
Especially the summary is useful
1 parent 9014aa6 commit c657ee6

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

codespeed/feeds.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ def items(self):
1212
.filter(self.result_filter())\
1313
.order_by('-revision__date')[:10]
1414

15+
def item_title(self, item):
16+
return unicode(item.revision)
17+
18+
def item_description(self, item):
19+
if item.summary:
20+
return item.summary
21+
else:
22+
return "No significant changes"
23+
1524
class LatestEntries(ResultFeed):
1625
description = "Last benchmark runs"
1726

0 commit comments

Comments
 (0)