bodhi.egg-info/PKG-INFO | 2 +-
bodhi.spec | 5 ++++-
bodhi/jobs.py | 4 ++--
bodhi/model.py | 4 ++--
bodhi/release.py | 2 +-
5 files changed, 10 insertions(+), 7 deletions(-)
New commits:
commit 03bb6764abf77f15f525084847ce2245f5cd7d39
Author: Luke Macken <lmacken(a)redhat.com>
Date: Fri Dec 12 12:10:24 2008 -0500
Use subprocess to call rm -fr instead of using shutil.rmtree in clean_repo
diff --git a/bodhi/jobs.py b/bodhi/jobs.py
index 7ec4bca..bf3a4b6 100644
--- a/bodhi/jobs.py
+++ b/bodhi/jobs.py
@@ -18,8 +18,8 @@
"""
import os
-import shutil
import logging
+import subprocess
from os.path import isdir, realpath, dirname, join, islink, exists
from datetime import datetime
@@ -54,7 +54,7 @@ def clean_repo():
fullpath = realpath(repo)
if fullpath not in liverepos:
log.info("Removing %s" % fullpath)
- shutil.rmtree(fullpath)
+ subprocess.call(['rm', '-fr', fullpath])
log.info("clean_repo complete!")
commit 842ecf5b9c8f1668954481187a6a2ab4e5b2475e
Author: Luke Macken <lmacken(a)redhat.com>
Date: Wed Dec 10 16:47:05 2008 -0500
0.5.13
diff --git a/bodhi.egg-info/PKG-INFO b/bodhi.egg-info/PKG-INFO
index e7c6d68..e4dff83 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.12
+Version: 0.5.13
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 ab0f76b..fbf2632 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.12
+Version: 0.5.13
Release: 1%{?dist}
Summary: A modular framework that facilitates publishing software updates
Group: Applications/Internet
@@ -113,6 +113,9 @@ rm -rf bodhi/tests bodhi/tools/test-bodhi.py
%changelog
+* Wed Dec 10 2008 Luke Macken <lmacken(a)redhat.com> - 0.5.13-1
+- Latest upstream release to fix various metrics/rss issues
+
* Mon Nov 24 2008 Luke Macken <lmacken(a)redhat.com> - 0.5.12-1
- Latest upstream release, to fix the 10k bug
diff --git a/bodhi/release.py b/bodhi/release.py
index 6c0cb72..566a864 100644
--- a/bodhi/release.py
+++ b/bodhi/release.py
@@ -1,4 +1,4 @@
-VERSION = '0.5.12'
+VERSION = '0.5.13'
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 e7d5bd8a959c2f27bbe61859b460a166426b1333
Author: Luke Macken <lmacken(a)redhat.com>
Date: Wed Dec 10 16:46:40 2008 -0500
Don't reset the date_pushed when a new request comes in
diff --git a/bodhi/model.py b/bodhi/model.py
index d3f072b..61f360d 100644
--- a/bodhi/model.py
+++ b/bodhi/model.py
@@ -362,7 +362,7 @@ class PackageUpdate(SQLObject):
self.request = action
self.pushed = False
- self.date_pushed = None
+ #self.date_pushed = None
flash_log("%s has been submitted for %s" % (self.title, action))
self.comment('This update has been submitted for %s' % action,
author=identity.current.user_name)
@@ -636,7 +636,7 @@ class PackageUpdate(SQLObject):
log.info("Automatically marking %s as stable" % self.title)
self.request = 'stable'
self.pushed = False
- self.date_pushed = None
+ #self.date_pushed = None
mail.send(self.submitter, 'stablekarma', self)
mail.send_admin('stablekarma', self)
if self.status == 'testing' and self.unstable_karma != 0 and \