bodhi/controllers.py | 4 ++--
bodhi/model.py | 10 ++++++----
bodhi/templates/show.kid | 2 +-
3 files changed, 9 insertions(+), 7 deletions(-)
New commits:
commit 57765282dbffc20ac2a29ac18b12a41ae7950530
Author: Luke Macken <lmacken(a)redhat.com>
Date: Fri Aug 22 16:23:27 2008 -0400
Preserve newlines and use a non-proportional font for comments (#211)
diff --git a/bodhi/templates/show.kid b/bodhi/templates/show.kid
index ad5c18f..9ef9e10 100644
--- a/bodhi/templates/show.kid
+++ b/bodhi/templates/show.kid
@@ -202,7 +202,7 @@ karma = "<img src=\"%s\" align=\"top\"
/> <b>%d</b>" % (tg.url('/static/images/k
<div py:if="update.comments">
<div py:for="comment in update.get_comments()">
<img py:attrs="{'src' :
tg.url('/static/images/comment-%d.png' % comment.karma)}"
hspace="3"/><b>${comment.anonymous and 'Anonymous Tester' or
comment.author}</b> - ${comment.timestamp}<br/>
- <div py:replace="comment.text">Comment</div>
+ <pre><div
py:replace="comment.text">Comment</div></pre>
</div>
</div>
<div py:if="not update.comments">
commit 2c3ff023d7a2d32089db25ac925802f4a8bd8b6d
Author: Luke Macken <lmacken(a)redhat.com>
Date: Fri Aug 22 16:11:33 2008 -0400
Fix a bug in update path checking
diff --git a/bodhi/controllers.py b/bodhi/controllers.py
index cdbba58..aaa5ccb 100644
--- a/bodhi/controllers.py
+++ b/bodhi/controllers.py
@@ -581,9 +581,9 @@ class Root(controllers.RootController):
kojiBuild['version'],
kojiBuild['release'])
- # Check for broken update paths against all releases
+ # Check for broken update paths
log.info("Checking for broken update paths")
- for release in Release.select():
+ for release in buildinfo[build]['releases']:
tags = ['dist-rawhide', release.dist_tag,
release.dist_tag + '-updates']
for tag in tags:
commit 9454a3d659704e07f90f6bb53d703a817537a74f
Author: Luke Macken <lmacken(a)redhat.com>
Date: Fri Aug 22 15:19:02 2008 -0400
Stop spamming committers with new comments, until we can differentiate between them
and the actual "maintainers"
diff --git a/bodhi/model.py b/bodhi/model.py
index 6a8dc0a..b083b18 100644
--- a/bodhi/model.py
+++ b/bodhi/model.py
@@ -602,20 +602,22 @@ class PackageUpdate(SQLObject):
self.request = 'stable'
self.pushed = False
self.date_pushed = None
- mail.send(self.get_maintainers(), 'stablekarma', self)
+ mail.send(self.submitter, 'stablekarma', self)
mail.send_admin('stablekarma', self)
if self.status == 'testing' and self.unstable_karma != 0 and \
self.karma == self.unstable_karma:
log.info("Automatically unpushing %s" % self.title)
self.obsolete()
- mail.send(self.get_maintainers(), 'unstable', self)
+ mail.send(self.submitter, 'unstable', self)
Comment(text=text, karma=karma, update=self, author=author,
anonymous=anonymous)
# Send a notification to everyone that has commented on this update
people = set()
- for person in self.get_maintainers():
- people.add(person)
+ people.add(self.submitter)
+ # Until we can differentiate between maintainers and committers
+ #for person in self.get_maintainers():
+ # people.add(person)
for comment in self.comments:
if comment.anonymous or comment.author == 'bodhi':
continue
Show replies by date