bodhi.spec | 7 +++++--
bodhi/controllers.py | 7 ++++---
2 files changed, 9 insertions(+), 5 deletions(-)
New commits:
commit b9c276308c7f7a708567aa2b55f06a356aff0ca5
Author: Luke Macken <lmacken(a)redhat.com>
Date: Wed Mar 3 16:40:39 2010 -0500
0.7.2
diff --git a/bodhi.spec b/bodhi.spec
index 76893da..9c77731 100644
--- a/bodhi.spec
+++ b/bodhi.spec
@@ -2,8 +2,8 @@
%{!?pyver: %define pyver %(%{__python} -c "import sys ; print
sys.version[:3]")}
Name: bodhi
-Version: 0.7.1
-Release: 2%{?dist}
+Version: 0.7.2
+Release: 1%{?dist}
Summary: A modular framework that facilitates publishing software updates
Group: Applications/Internet
License: GPLv2+
@@ -116,6 +116,9 @@ rm -rf bodhi/tests bodhi/tools/test-bodhi.py
%changelog
+* Wed Mar 03 2010 Luke Macken <lmacken(a)redhat.com> - 0.7.2-1
+- 0.7.2 bugfix release
+
* Tue Feb 16 2010 Luke Macken <lmacken(a)redhat.com> - 0.7.1-1
- Fix a regression in our metrics controller, and unvail a new
metrics JSON API
commit 8eead0f1dae341b91ba39c62e984dabfcbc44928
Author: Luke Macken <lmacken(a)redhat.com>
Date: Wed Mar 3 16:40:23 2010 -0500
Minor /critpath API improvements
diff --git a/bodhi/controllers.py b/bodhi/controllers.py
index 92cdc19..f5b1d5f 100644
--- a/bodhi/controllers.py
+++ b/bodhi/controllers.py
@@ -1262,7 +1262,7 @@ class Root(controllers.RootController):
builds[tag] = build['nvr']
return builds
- @expose(template='bodhi.templates.list', allow_json=True)
+ @expose(template='bodhi.templates.pending', allow_json=True)
@paginate('updates', limit=1000, max_limit=1000)
def critpath(self, *args, **kw):
updates = []
@@ -1273,5 +1273,6 @@ class Root(controllers.RootController):
for release in releases]))):
if update.critpath:
updates.append(update)
- return dict(updates=updates, num_items=len(updates),
- title='Critical Path Updates')
+ num_items = len(updates)
+ return dict(updates=updates, num_items=num_items,
+ title='%d Critical Path Updates' % num_items)
Show replies by date