Mercurial > p > roundup > code
changeset 2323:ffd14fa75bec maint-0.6 0.6.10
mysql backend wasn't locking tracker
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Mon, 17 May 2004 00:47:29 +0000 |
| parents | e481d576e8b4 |
| children | e295c086c246 |
| files | CHANGES.txt doc/announcement.txt roundup/__init__.py roundup/backends/back_mysql.py setup.py |
| diffstat | 5 files changed, 22 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGES.txt Sun Apr 18 06:38:22 2004 +0000 +++ b/CHANGES.txt Mon May 17 00:47:29 2004 +0000 @@ -1,6 +1,11 @@ This file contains the changes to the Roundup system over time. The entries are given with the most recent entry first. +2004-05-17 0.6.10 +Fixed: +- mysql backend wasn't locking tracker + + 2004-04-18 0.6.9 Fixed: - paging in classhelp popup was broken
--- a/doc/announcement.txt Sun Apr 18 06:38:22 2004 +0000 +++ b/doc/announcement.txt Mon May 17 00:47:29 2004 +0000 @@ -1,16 +1,13 @@ -I'm pleased to announce Roundup 0.6.9, a maintenance release which fixes -some bugs: +I'm pleased to announce Roundup 0.6.10, a maintenance release which fixes +a single bug in the MySQL backend: -- paging in classhelp popup was broken -- socket timeout error logging can fail -- hyperlink designators in message display (sf bug 931828) -- don't match retired items in RDBMS stringFind +- mysql backend wasn't locking tracker If you're upgrading from an older version of Roundup you *must* follow the "Software Upgrade" guidelines given in the maintenance documentation. Note that the Zope interface still doesn't work - it is fixed in the 0.7 -development codebase. +release. Roundup requires python 2.1.3 or later for correct operation. Python 2.3.1 or later is strongly recommended.
--- a/roundup/__init__.py Sun Apr 18 06:38:22 2004 +0000 +++ b/roundup/__init__.py Mon May 17 00:47:29 2004 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: __init__.py,v 1.25.2.9 2004-04-18 06:38:22 richard Exp $ +# $Id: __init__.py,v 1.25.2.10 2004-05-17 00:47:29 richard Exp $ ''' Roundup - issue tracking for knowledge workers. @@ -67,6 +67,6 @@ much prettier cake :) ''' -__version__ = '0.6.9' +__version__ = '0.6.10' # vim: set filetype=python ts=4 sw=4 et si
--- a/roundup/backends/back_mysql.py Sun Apr 18 06:38:22 2004 +0000 +++ b/roundup/backends/back_mysql.py Mon May 17 00:47:29 2004 +0000 @@ -84,6 +84,13 @@ if not db_exists(self.config): db_create(self.config) + # lock the tracker + dbdir = os.path.join(self.config.DATABASE, 'db') + lockfilenm = dbdir[:-3] + 'lck' + self.lockfile = locking.acquire_lock(lockfilenm) + self.lockfile.write(str(os.getpid())) + self.lockfile.flush() + db = getattr(self.config, 'MYSQL_DATABASE') try: self.conn = MySQLdb.connect(*db)
--- a/setup.py Sun Apr 18 06:38:22 2004 +0000 +++ b/setup.py Mon May 17 00:47:29 2004 +0000 @@ -16,7 +16,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: setup.py,v 1.55.2.11 2004-04-18 06:38:22 richard Exp $ +# $Id: setup.py,v 1.55.2.12 2004-05-17 00:47:28 richard Exp $ from distutils.core import setup, Extension from distutils.util import get_platform @@ -188,11 +188,9 @@ command-line, web and e-mail interfaces. It is based on the winning design from Ka-Ping Yee in the Software Carpentry "Track" design competition. -The 0.6.9 release fixes some bugs: -- paging in classhelp popup was broken -- socket timeout error logging can fail -- hyperlink designators in message display (sf bug 931828) -- don't match retired items in RDBMS stringFind +The 0.6.10 release fixes some bugs: + +- mysql backend wasn't locking tracker ''', author = "Richard Jones", author_email = "richard@users.sourceforge.net",
