Branch 'pyramid' - pyramid/bodhi
by Luke Macken
pyramid/bodhi/bodhi/mail.py | 6 +++---
pyramid/bodhi/bodhi/util.py | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
New commits:
commit ed869fdac050843092230eabc80875fc7558619f
Author: Luke Macken <lmacken(a)redhat.com>
Date: Thu Mar 24 14:19:51 2011 -0400
Comment out turbogears imports
diff --git a/pyramid/bodhi/bodhi/mail.py b/pyramid/bodhi/bodhi/mail.py
index 1468165..f2c7655 100644
--- a/pyramid/bodhi/bodhi/mail.py
+++ b/pyramid/bodhi/bodhi/mail.py
@@ -14,11 +14,11 @@
import rpm
import logging
-import turbomail
+#import turbomail
from textwrap import wrap
-from turbomail import MailNotEnabledException
-from turbogears import config, identity
+#from turbomail import MailNotEnabledException
+#from turbogears import config, identity
from bodhi.util import rpm_fileheader, to_unicode
from bodhi.exceptions import RPMNotFound
diff --git a/pyramid/bodhi/bodhi/util.py b/pyramid/bodhi/bodhi/util.py
index 5fbce15..77d2ac2 100644
--- a/pyramid/bodhi/bodhi/util.py
+++ b/pyramid/bodhi/bodhi/util.py
@@ -23,7 +23,7 @@ import logging
import tempfile
import subprocess
import urlgrabber
-import turbogears
+#import turbogears
from kid import Element
from yum import repoMDObject
@@ -31,7 +31,7 @@ from yum.misc import checksum
from os.path import isdir, join, dirname, basename, isfile
from datetime import datetime
from decorator import decorator
-from turbogears import config, flash, redirect, url as tg_url
+#from turbogears import config, flash, redirect, url as tg_url
#from fedora.tg.util import request_format
from fedora.client import PackageDB
#from fedora.tg.util import url as csrf_url
13 years, 1 month
Changes to 'pyramid'
by Luke Macken
New branch 'pyramid' available with the following commits:
commit b28b1145a999d2b6756afcb2d1def6804c613baa
Author: Luke Macken <lmacken(a)redhat.com>
Date: Mon Mar 21 18:04:15 2011 -0400
Initial pyramid porting
13 years, 1 month
Changes to 'refs/tags/0.7.14'
by Luke Macken
Tag '0.7.14' created by Luke Macken <lmacken(a)redhat.com> at 2011-03-11 15:30 +0000
0.7.14
Changes since 0.7.13:
Luke Macken (5):
Fix a bug in our multiarch mash support
remove the appropriate pending tag when deleting updates
Fix a broken unit test
Fix yet another broken unit test
0.7.14
---
bodhi.egg-info/PKG-INFO | 2 +-
bodhi.spec | 2 +-
bodhi/controllers.py | 5 +++++
bodhi/masher.py | 5 +++++
bodhi/release.py | 2 +-
bodhi/tests/test_controllers.py | 13 ++++++++-----
6 files changed, 21 insertions(+), 8 deletions(-)
---
13 years, 1 month
Changes to 'refs/tags/0.7.13'
by Luke Macken
Tag '0.7.13' created by Luke Macken <lmacken(a)redhat.com> at 2011-03-04 21:31 +0000
0.7.13
Changes since 0.7.12:
Luke Macken (7):
Readability tweak
Fix a bug that occurs when you remove a build from an update and add
Gracefully handle unknown releases in our critpath api and feed generator
Fix a bug that could cause unapproved critpath updates to go to stable
When a newpackage hits stable, don't say "if problems still persist..." in the bug.
Improve our bugzilla blasts.
0.7.13
---
bodhi.egg-info/PKG-INFO | 2 -
bodhi.spec | 2 -
bodhi/controllers.py | 63 +++++++++++++++-----------------------------
bodhi/model.py | 68 +++++++++++++++++++++++++++++++-----------------
bodhi/release.py | 2 -
bodhi/rss.py | 6 ++--
6 files changed, 73 insertions(+), 70 deletions(-)
---
13 years, 1 month
Changes to 'refs/tags/0.7.11'
by Luke Macken
Tag '0.7.11' created by Luke Macken <lmacken(a)redhat.com> at 2011-02-24 19:44 +0000
0.7.11
Changes since 0.7.10:
François Cami (1):
ask bug reporters to test updates and post karma
Luke Macken (12):
Our yearly unit test tweaks
More 0.7.10 version bumpage
Add the appropriate pending tag upon reaching stablekarma.
Query the wiki for test cases and display them in the update
Tighten up our test case list
Remove the 'Testcase' from the beginning of our links
Update our critpath list
Query for unit tests upon submission
Support basic configurable update policy based on release 'status'.
Strip leading/trailing whitespace in our search queries (#589)
Remove the appropriate pending tag from obsoleted updates (#588)
0.7.11
---
bodhi.egg-info/PKG-INFO | 2 -
bodhi.spec | 6 +++-
bodhi/config/app.cfg | 12 ++++++--
bodhi/controllers.py | 51 ++++++++++++++++++++++++++++++-----
bodhi/model.py | 66 ++++++++++++++++++++++++++++++++++++++++++++++
bodhi/release.py | 2 -
bodhi/search.py | 1
bodhi/templates/show.kid | 7 ++++
bodhi/tests/test_model.py | 18 ++++++------
bodhi/tools/client.py | 2 -
10 files changed, 145 insertions(+), 22 deletions(-)
---
13 years, 1 month
Changes to 'refs/tags/0.7.10'
by Luke Macken
Tag '0.7.10' created by Luke Macken <lmacken(a)redhat.com> at 2011-01-10 19:07 +0000
0.7.10
Changes since 0.7.9:
Luke Macken (26):
Fix a bug in our new pkgtags metadata insertion code
Fix a bug in the new code to insert security/critpath updates in the testing digest
Don't append the csrf url to the obsoletion comment
Use more https urls
Fix a bug in the formatting of the security/critpath updates in the testing digest
Mask our database connection limit exceptions
Fix a bug with editing updates and replacing builds with newer versions.
Comment on updates upon reaching the stable karma threshold (#489)
Fix a bug in the get_unapproved_critpath_updates in the masher
Don't wipe out the masher lock when safe_to_resume fails
Add a couple more unit tests
Remove 'All rights reserved' from our copyright notice
Don't try and remove the pending koji tags when we resume pushes
Don't update security bug titles when we resume pushes
Don't show obsolete critpath updates in our testing digest
Ensure the updateinfo epoch is '0' as opposed to None.
Support querying and commenting on updates by the update ID.
Fix the testing status tooltips for EPEL (#486)
Add the update ID back to search results (#558)
Stop spamming proventesters, as this information is now available in the
Add __requires__='bodhi' to the start-bodhi script to get it working in F14
Don't require security update approval when pushing security updates
Make `bodhi --push-type` work for updates going to testing as well
Add more __requires__ pkg_resources hacks to our scripts
Some more __requires__/setuptools hacks
0.7.10
---
bodhi.spec | 5 +
bodhi/admin.py | 5 -
bodhi/config/app.cfg | 2
bodhi/controllers.py | 30 ++++++++-
bodhi/jobs.py | 10 +--
bodhi/masher.py | 42 +++++++-----
bodhi/metadata.py | 17 ++---
bodhi/model.py | 5 +
bodhi/release.py | 2
bodhi/templates/master.kid | 4 -
bodhi/templates/search.kid | 6 +
bodhi/templates/show.kid | 2
bodhi/tests/test_controllers.py | 131 ++++++++++++++++++++++++++++++++++++++--
bodhi/tools/client.py | 9 --
bodhi/tools/dev_init.py | 2
bodhi/tools/init.py | 2
bodhi/tools/metrics.py | 2
bodhi/tools/pickledb.py | 2
start-bodhi | 1
19 files changed, 224 insertions(+), 55 deletions(-)
---
13 years, 1 month
bodhi.egg-info/PKG-INFO bodhi/release.py bodhi.spec
by Luke Macken
bodhi.egg-info/PKG-INFO | 2 +-
bodhi.spec | 2 +-
bodhi/release.py | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 3d4e8f4467a8f2c2d064f786d2aefcb98fdc34f7
Author: Luke Macken <lmacken(a)redhat.com>
Date: Fri Mar 11 10:30:04 2011 -0500
0.7.14
diff --git a/bodhi.egg-info/PKG-INFO b/bodhi.egg-info/PKG-INFO
index 24302ec..7dc8dfc 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.7.13
+Version: 0.7.14
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 b9dfc2c..de555c9 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.7.13
+Version: 0.7.14
Release: 1%{?dist}
Summary: A modular framework that facilitates publishing software updates
Group: Applications/Internet
diff --git a/bodhi/release.py b/bodhi/release.py
index 8649760..900fb24 100644
--- a/bodhi/release.py
+++ b/bodhi/release.py
@@ -1,4 +1,4 @@
-VERSION = '0.7.13'
+VERSION = '0.7.14'
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'
13 years, 1 month
2 commits - bodhi/tests
by Luke Macken
bodhi/tests/test_controllers.py | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
New commits:
commit 7cc2d31bd986d41091261da97a55e651f41dc9c7
Author: Luke Macken <lmacken(a)redhat.com>
Date: Thu Mar 10 13:42:30 2011 -0500
Fix yet another broken unit test
diff --git a/bodhi/tests/test_controllers.py b/bodhi/tests/test_controllers.py
index ec3c7d1..b95faba 100644
--- a/bodhi/tests/test_controllers.py
+++ b/bodhi/tests/test_controllers.py
@@ -1237,7 +1237,10 @@ class TestControllers(testutil.DBTest):
testutil.create_request('/updates/admin/push', headers=session)
# Make sure security updates do not slip in unapproved
- assert '0 pending requests' in cherrypy.response.body[0]
+ #assert '0 pending requests' in cherrypy.response.body[0], cherrypy.response.body[0]
+
+ # We no longer require security approval
+ assert '1 pending requests' in cherrypy.response.body[0], cherrypy.response.body[0]
# approve the update
me = User.by_user_name('admin')
commit 46074f618a8065c901308a92a79b3d66f76ab658
Author: Luke Macken <lmacken(a)redhat.com>
Date: Thu Mar 10 13:34:35 2011 -0500
Fix a broken unit test
diff --git a/bodhi/tests/test_controllers.py b/bodhi/tests/test_controllers.py
index 9111c95..ec3c7d1 100644
--- a/bodhi/tests/test_controllers.py
+++ b/bodhi/tests/test_controllers.py
@@ -1979,11 +1979,11 @@ class TestControllers(testutil.DBTest):
assert update.critpath_approved
#assert False, testutil.get_log()
assert len(update.comments) == 4, update.comments
- assert update.comments[1].author == 'bodhi', update.comments
- assert update.comments[1].text == config.get('stablekarma_comment')
- assert update.comments[2].author == 'bob', update.comments
assert update.comments[-1].author == 'bodhi', update.comments
- assert update.comments[-1].text == 'Critical path update approved'
+ assert update.comments[-1].text == config.get('stablekarma_comment')
+ assert update.comments[1].author == 'bob', update.comments
+ assert update.comments[-2].author == 'bodhi', update.comments
+ assert update.comments[-2].text == 'Critical path update approved'
def test_critpath_request_complete(self):
"""
13 years, 2 months
bodhi/controllers.py
by Luke Macken
bodhi/controllers.py | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit 7856e969ffbe85e55eabc49aad94889337d730d4
Author: Luke Macken <lmacken(a)redhat.com>
Date: Thu Mar 10 11:09:48 2011 -0500
remove the appropriate pending tag when deleting updates
diff --git a/bodhi/controllers.py b/bodhi/controllers.py
index 94a95ba..ea846e9 100644
--- a/bodhi/controllers.py
+++ b/bodhi/controllers.py
@@ -461,6 +461,11 @@ class Root(controllers.RootController):
flash_log("Cannot delete an update you did not submit")
if request_format() == 'json': return dict()
raise redirect(update.get_url())
+ # Remove the appropriate pending tags
+ if self.request == 'testing':
+ self.remove_tag(self.release.pending_testing_tag)
+ elif self.request == 'stable':
+ self.remove_tag(self.release.pending_stable_tag)
if not update.pushed:
msg = "Deleted %s" % update.title
map(lambda x: x.destroySelf(), update.comments)
13 years, 2 months
bodhi/masher.py
by Luke Macken
bodhi/masher.py | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit ef328249fc976a0ec85fb0b911466c75aa58be1e
Author: Luke Macken <lmacken(a)redhat.com>
Date: Tue Mar 8 15:03:40 2011 -0500
Fix a bug in our multiarch mash support
diff --git a/bodhi/masher.py b/bodhi/masher.py
index 4584319..f1f6c0d 100644
--- a/bodhi/masher.py
+++ b/bodhi/masher.py
@@ -533,6 +533,11 @@ class MashTask(Thread):
if one not in arches and other not in arches:
self.error_log("Cannot find arch %s OR %s in %s" % (one, other, newrepo))
raise MashTaskException
+ else:
+ if one in arches:
+ arch = one
+ else:
+ arch = other
elif arch not in arches:
self.error_log("Cannot find arch %s in %s" % (arch, newrepo))
raise MashTaskException
13 years, 2 months