bodhi.cfg | 4 ++--
bodhi.egg-info/PKG-INFO | 2 +-
bodhi.spec | 8 +++++++-
bodhi/controllers.py | 14 +++++++++-----
bodhi/release.py | 2 +-
bodhi/tests/test_controllers.py | 11 ++++++++++-
6 files changed, 30 insertions(+), 11 deletions(-)
New commits:
commit 4cc202354806bed9f4a5c05773621f9a844f3cf6
Author: Luke Macken <lmacken(a)redhat.com>
Date: Mon Dec 22 15:13:37 2008 -0500
0.5.15
diff --git a/bodhi.egg-info/PKG-INFO b/bodhi.egg-info/PKG-INFO
index e17e3dd..bdeded8 100644
--- a/bodhi.egg-info/PKG-INFO
+++ b/bodhi.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: bodhi
-Version: 0.5.14
+Version: 0.5.15
Summary: Bodhi is a modular web-system that facilitates the process of publishing updates
for a Fedora-based software distribution
Home-page:
https://fedorahosted.org/bodhi
Author: Luke Macken
diff --git a/bodhi.spec b/bodhi.spec
index 7b07554..29f30f2 100644
--- a/bodhi.spec
+++ b/bodhi.spec
@@ -2,7 +2,7 @@
%{!?pyver: %define pyver %(%{__python} -c "import sys ; print
sys.version[:3]")}
Name: bodhi
-Version: 0.5.14
+Version: 0.5.15
Release: 1%{?dist}
Summary: A modular framework that facilitates publishing software updates
Group: Applications/Internet
@@ -113,6 +113,12 @@ rm -rf bodhi/tests bodhi/tools/test-bodhi.py
%changelog
+* Mon Dec 22 2008 Luke Macken <lmacken(a)redhat.com> - 0.5.15-1
+- Latest release, with more masher improvements.
+
+* Fri Dec 19 2008 Luke Macken <lmacken(a)redhat.com> - 0.5.14-1
+- Latest upstream release, containing some masher improvements.
+
* Wed Dec 10 2008 Luke Macken <lmacken(a)redhat.com> - 0.5.13-1
- Latest upstream release to fix various metrics/rss issues
diff --git a/bodhi/release.py b/bodhi/release.py
index a48851f..63d196d 100644
--- a/bodhi/release.py
+++ b/bodhi/release.py
@@ -1,4 +1,4 @@
-VERSION = '0.5.14'
+VERSION = '0.5.15'
NAME = 'bodhi'
DESCRIPTION = 'Bodhi is a modular web-system that facilitates the process of
publishing updates for a Fedora-based software distribution'
AUTHOR = 'Luke Macken'
commit 78fdd6f4120e6d773c74c28d4c17aba90905a3f9
Author: Luke Macken <lmacken(a)redhat.com>
Date: Mon Dec 22 15:13:23 2008 -0500
Update our development bodhi.cfg
diff --git a/bodhi.cfg b/bodhi.cfg
index a9ef734..0e11d4a 100644
--- a/bodhi.cfg
+++ b/bodhi.cfg
@@ -5,8 +5,8 @@
# bodhi/config/app.cfg
# DATABASE
-#sqlobject.dburi="sqlite:///var/tmp/bodhi.sqlite"
-sqlobject.dburi="postgres://bodhi:B0dh1@localhost/bodhi"
+sqlobject.dburi="sqlite:///var/tmp/bodhi.sqlite"
+#sqlobject.dburi="postgres://bodhi:B0dh1@localhost/bodhi"
# If you have sqlite, here's a simple default to get you started
# in development
commit 01969d7577269ec2e353b561264b399bc2d99f55
Author: Luke Macken <lmacken(a)redhat.com>
Date: Mon Dec 22 15:09:29 2008 -0500
Track down a unicode failure and add a unit test for it.
This issue still exists, and I just created a ticket to track it down:
https://fedorahosted.org/bodhi/ticket/288
diff --git a/bodhi/controllers.py b/bodhi/controllers.py
index 7d6b24c..5edbaeb 100644
--- a/bodhi/controllers.py
+++ b/bodhi/controllers.py
@@ -684,11 +684,15 @@ class Root(controllers.RootController):
if len(build.updates) == 0:
build.destroySelf()
else:
- update = PackageUpdate(title=','.join(builds),
- release=release,
- submitter=identity.current.user_name,
- notes=notes, type=type_,
- close_bugs=close_bugs)
+ try:
+ update = PackageUpdate(title=','.join(builds),
+ release=release,
+ submitter=identity.current.user_name,
+ notes=notes, type=type_,
+ close_bugs=close_bugs)
+ except Exception, e:
+ log.exception(e)
+ raise
log.info("Created PackageUpdate %s" % update.title)
updates.append(update)
diff --git a/bodhi/tests/test_controllers.py b/bodhi/tests/test_controllers.py
index efec675..aa3ff1d 100644
--- a/bodhi/tests/test_controllers.py
+++ b/bodhi/tests/test_controllers.py
@@ -1138,6 +1138,15 @@ class TestControllers(testutil.DBTest):
update = PackageUpdate.byTitle(params['builds'])
assert update.request == 'testing'
testutil.create_request('/updates/request/revoke/%s' %
params['builds'],
- headers=session, method='POST')
+ headers=session, method='POST')
update = PackageUpdate.byTitle(params['builds'])
assert update.request == None
+
+ def test_unicode_fail(self):
+ session = login()
+ create_release(num='8', dist='dist-f')
+ params = {'stable_karma': 3, 'builds':
'pidgin-libnotify-0.14-1.fc8', 'autokarma': True, 'inheritance':
False, 'suggest_reboot': False, 'notes': u"Version 0.14
(2008-12-14):\r\n\r\n * really add option: don't show notifications when absent\r\n
* Updated polish translation (Piotr Dr\u0105g)\r\n * Added russian translation
(Dmitry Egorkin)\r\n * Added bulgarian translation (Dilyan Palauzov)\r\n * Added
german translation (Marc Mikolits)\r\n * Added swedish translation (Jonas
Granqvist)\r\n".encode('utf8'), 'request': u'Testing',
'bugs': '477267', 'unstable_karma': -3, 'type_':
u'bugfix', 'close_bugs': True}
+ testutil.capture_log(['bodhi.controllers', 'bodhi.util'])
+ self.save_update(params, session)
+ update = PackageUpdate.byTitle(params['builds'])
+ assert update