rpms/bodhi/EL-5 bodhi-0.5.19-tg-paginate.patch, NONE, 1.1 .cvsignore, 1.11, 1.12 bodhi.spec, 1.13, 1.14 sources, 1.12, 1.13
Luke Macken
lmacken at fedoraproject.org
Mon Apr 6 20:41:45 UTC 2009
- Previous message (by thread): rpms/sugar-toolkit/devel .cvsignore, 1.32, 1.33 sources, 1.36, 1.37 sugar-toolkit.spec, 1.46, 1.47
- Next message (by thread): rpms/pyke/devel .cvsignore, 1.6, 1.7 pyke.spec, 1.8, 1.9 sources, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: lmacken
Update of /cvs/pkgs/rpms/bodhi/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4074
Modified Files:
.cvsignore bodhi.spec sources
Added Files:
bodhi-0.5.19-tg-paginate.patch
Log Message:
0.5.19, and add a patch to get pagination working in TG 1.0.4.4
bodhi-0.5.19-tg-paginate.patch:
--- NEW FILE bodhi-0.5.19-tg-paginate.patch ---
--- bodhi/controllers.py.orig 2009-04-06 11:58:54.000000000 -0400
+++ bodhi/controllers.py 2009-04-06 12:20:34.000000000 -0400
@@ -179,7 +179,7 @@
raise redirect('/')
@expose(template="bodhi.templates.list", allow_json=True)
- @paginate('updates', limit=20, max_limit=50, allow_limit_override=True)
+ @paginate('updates', limit=20, allow_limit_override=True)
@validate(validators={
'release': validators.UnicodeString(),
'bugs': validators.UnicodeString(),
@@ -325,7 +325,7 @@
@expose(template="bodhi.templates.mine", allow_json=True)
@identity.require(identity.not_anonymous())
- @paginate('updates', limit=20, max_limit=20, allow_limit_override=True)
+ @paginate('updates', limit=20, allow_limit_override=True)
def mine(self):
""" List all updates submitted by the current user """
updates = PackageUpdate.select(
@@ -781,7 +781,7 @@
raise redirect(updates[0].get_url())
@expose(template='bodhi.templates.list')
- @paginate('updates', limit=20, max_limit=20, allow_limit_override=True)
+ @paginate('updates', limit=20, allow_limit_override=True)
def default(self, *args, **kw):
"""
This method allows for the following requests
@@ -974,7 +974,7 @@
raise redirect('/')
@expose(template='bodhi.templates.comments')
- @paginate('comments', limit=20, max_limit=20, allow_limit_override=True)
+ @paginate('comments', limit=20, allow_limit_override=True)
def comments(self):
data = Comment.select(Comment.q.author != 'bodhi',
orderBy=Comment.q.timestamp).reversed()
@@ -1054,7 +1054,7 @@
return dict(updates=updates)
@expose(template="bodhi.templates.user")
- @paginate('updates', limit=25, max_limit=20, allow_limit_override=True)
+ @paginate('updates', limit=25, allow_limit_override=True)
def user(self, username):
""" Return a list of updates submitted by a given person """
updates = PackageUpdate.select(PackageUpdate.q.submitter == username,
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/bodhi/EL-5/.cvsignore,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- .cvsignore 12 Jan 2009 23:33:36 -0000 1.11
+++ .cvsignore 6 Apr 2009 20:41:15 -0000 1.12
@@ -1 +1 @@
-bodhi-0.5.16.tar.bz2
+bodhi-0.5.19.tar.bz2
Index: bodhi.spec
===================================================================
RCS file: /cvs/pkgs/rpms/bodhi/EL-5/bodhi.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- bodhi.spec 3 Feb 2009 00:57:19 -0000 1.13
+++ bodhi.spec 6 Apr 2009 20:41:15 -0000 1.14
@@ -2,13 +2,14 @@
%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
Name: bodhi
-Version: 0.5.16
-Release: 2%{?dist}
+Version: 0.5.19
+Release: 1%{?dist}
Summary: A modular framework that facilitates publishing software updates
Group: Applications/Internet
License: GPLv2+
URL: https://fedorahosted.org/bodhi
Source0: bodhi-%{version}.tar.bz2
+Patch0: bodhi-%{version}-tg-paginate.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -66,6 +67,7 @@
%prep
%setup -q
rm -rf bodhi/tests bodhi/tools/test-bodhi.py
+%patch0 -p0 -b .tg1044
%build
%{__python} setup.py build --install-data=%{_datadir}
@@ -100,7 +102,6 @@
%{_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
@@ -114,8 +115,15 @@
%changelog
-* Mon Feb 2 2009 Toshio Kuratomi <toshio at fedoraproject.org> - 0.5.16-2
-- Own the %%{_sysconfdir}/bodhi directory.
+* Sat Mar 21 2009 Luke Macken <lmacken at 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 at redhat.com> - 0.5.18-1
+- Bugfix release, and to stop using deprecated python-fedora APIs.
+
+* Thu Jan 22 2009 Luke Macken <lmacken at redhat.com> - 0.5.17-1
+- Latest upstream bugfix release.
* Mon Jan 05 2009 Luke Macken <lmacken at redhat.com> - 0.5.16-1
- Latest upstream bugfix release.
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/bodhi/EL-5/sources,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- sources 12 Jan 2009 23:33:36 -0000 1.12
+++ sources 6 Apr 2009 20:41:15 -0000 1.13
@@ -1 +1 @@
-a76e28c05ab3349f538087046b3aac28 bodhi-0.5.16.tar.bz2
+b373010f503945a764d4cf7034394d2e bodhi-0.5.19.tar.bz2
- Previous message (by thread): rpms/sugar-toolkit/devel .cvsignore, 1.32, 1.33 sources, 1.36, 1.37 sugar-toolkit.spec, 1.46, 1.47
- Next message (by thread): rpms/pyke/devel .cvsignore, 1.6, 1.7 pyke.spec, 1.8, 1.9 sources, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list