bodhi.egg-info/PKG-INFO | 2 +- bodhi.egg-info/SOURCES.txt | 2 -- bodhi.egg-info/sqlobject.txt | 2 -- bodhi.spec | 20 +++++++++++++++++++- bodhi/controllers.py | 5 +++-- bodhi/release.py | 2 +- 6 files changed, 24 insertions(+), 9 deletions(-)
New commits: commit 6f8b17b135c0d41ce2ed2f2e0775054093a6df53 Author: Luke Macken lmacken@redhat.com Date: Thu Apr 30 11:10:32 2009 -0400
0.5.22, bringing everything up to speed with TG1.0.8, while maintaining Py2.4 compat
diff --git a/bodhi.egg-info/PKG-INFO b/bodhi.egg-info/PKG-INFO index 4b8e520..30114d0 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.19 +Version: 0.5.22 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.egg-info/SOURCES.txt b/bodhi.egg-info/SOURCES.txt index ddc3168..15f30f5 100644 --- a/bodhi.egg-info/SOURCES.txt +++ b/bodhi.egg-info/SOURCES.txt @@ -35,7 +35,6 @@ bodhi.egg-info/dependency_links.txt bodhi.egg-info/entry_points.txt bodhi.egg-info/not-zip-safe bodhi.egg-info/requires.txt -bodhi.egg-info/sqlobject.txt bodhi.egg-info/top_level.txt bodhi/config/__init__.py bodhi/config/app.cfg @@ -167,5 +166,4 @@ bodhi/tools/metrics.py bodhi/tools/pickledb.py bodhi/tools/rmrelease.py bodhi/tools/tagcheck.py -comps/.cvsignore docs/bodhi.1 \ No newline at end of file diff --git a/bodhi.egg-info/sqlobject.txt b/bodhi.egg-info/sqlobject.txt deleted file mode 100644 index dc9ca11..0000000 --- a/bodhi.egg-info/sqlobject.txt +++ /dev/null @@ -1,2 +0,0 @@ -db_module=bodhi.model -history_dir=$base/bodhi/sqlobject-history diff --git a/bodhi.spec b/bodhi.spec index abe4961..b0f3085 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.19 +Version: 0.5.22 Release: 1%{?dist} Summary: A modular framework that facilitates publishing software updates Group: Applications/Internet @@ -100,6 +100,7 @@ rm -rf bodhi/tests bodhi/tools/test-bodhi.py %{_bindir}/start-%{name} %{_bindir}/%{name}-* %{_sysconfdir}/httpd/conf.d/bodhi.conf +%dir %{_sysconfdir}/bodhi/ %attr(-,apache,root) %{_datadir}/%{name} %attr(-,apache,root) %config(noreplace) %{_sysconfdir}/bodhi/* %attr(-,apache,root) %{_localstatedir}/log/bodhi @@ -113,8 +114,25 @@ rm -rf bodhi/tests bodhi/tools/test-bodhi.py
%changelog +* Thu Apr 30 2009 Luke Macken lmacken@redhat.com - 0.5.22-1 +- Remove pagination patch, as Fedora Infrastructure is now TG 1.0.8 + +* Thu Apr 30 2009 Luke Macken lmacken@redhat.com - 0.5.21-1 +- Update to TG 1.0.8 API (fixes a @paginate issue) + +* Mon Apr 06 2009 Luke Macken lmacken@redhat.com - 0.5.20-1 +- Fix a bug when sending mash requests through the ProxyClient +- More Python2.4 workarounds + +* Mon Apr 06 2009 Luke Macken lmacken@redhat.com - 0.5.19-3 +- Update to work with Python2.4 + +* Mon Apr 06 2009 Luke Macken lmacken@redhat.com - 0.5.19-2 +- Revision bump to bring it up to speed with the fedora infra package + * Sat Mar 21 2009 Luke Macken lmacken@redhat.com - 0.5.19-1 - 0.5.19 +- Add a patch to get pagination working in TG 1.0.4.4
* Tue Feb 10 2009 Luke Macken lmacken@redhat.com - 0.5.18-1 - Bugfix release, and to stop using deprecated python-fedora APIs. diff --git a/bodhi/release.py b/bodhi/release.py index 1aa7157..9c6242e 100644 --- a/bodhi/release.py +++ b/bodhi/release.py @@ -1,4 +1,4 @@ -VERSION = '0.5.19' +VERSION = '0.5.22' 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 19deddc9266d80377a556c29fb1faa0ea78ae1bd Merge: 20ed927... 34e2a52... Author: Luke Macken lmacken@redhat.com Date: Thu Apr 30 11:07:37 2009 -0400
Merge branch 'master' of git+ssh://git.fedorahosted.org/git/bodhi
commit 20ed927bf9128c825dd248831132e236fffe5781 Author: Luke Macken lmacken@redhat.com Date: Mon Apr 6 17:06:28 2009 -0400
Get the start/end date queries working on Python 2.4.
diff --git a/bodhi/controllers.py b/bodhi/controllers.py index e0f9fb6..0bf2961 100644 --- a/bodhi/controllers.py +++ b/bodhi/controllers.py @@ -15,6 +15,7 @@ import rpm import mail import urllib2 +import time import logging import cherrypy import xmlrpclib @@ -232,10 +233,10 @@ class Root(controllers.RootController): if username: query.append(PackageUpdate.q.submitter == username) if start_date: - start_date = datetime.strptime(start_date, '%Y-%m-%d %H:%M:%S') + start_date = datetime(*time.strptime(start_date, '%Y-%m-%d %H:%M:%S')[:-2]) query.append(PackageUpdate.q.date_pushed >= start_date) if end_date: - end_date = datetime.strptime(end_date, '%Y-%m-%d %H:%M:%S') + end_date = datetime(*time.strptime(end_date, '%Y-%m-%d %H:%M:%S')[:-2]) query.append(PackageUpdate.q.date_pushed <= end_date)
updates = PackageUpdate.select(AND(*query),
commit 042edfa5084d8775c9026a090bf1d09b507231a2 Author: Luke Macken lmacken@redhat.com Date: Mon Apr 6 17:05:54 2009 -0400
Send the value of the Morsel to the ProxyClient, not the Morsel itself
diff --git a/bodhi/admin.py b/bodhi/admin.py index a176313..6ea8634 100644 --- a/bodhi/admin.py +++ b/bodhi/admin.py @@ -189,7 +189,7 @@ class AdminController(Controller, SecureResource): client = ProxyClient(config.get('masher'), debug=True) cookie = SimpleCookie(cherrypy.request.headers.get('Cookie')) session, data = client.send_request(method, - auth_params={'session_id': cookie.get('tg-visit')}, + auth_params={'session_id': cookie.get('tg-visit').value}, req_params=kwargs) log.debug("Remote method returned %s" % repr(data)) if data.get('tg_flash'):