changeset 3230:ff490d669015 maint-0.8

enforce Date year arg to be > 1970 as test checks other pre-release stuff
author Richard Jones <richard@users.sourceforge.net>
date Thu, 03 Mar 2005 04:47:35 +0000
parents 5ce9c9a1399d
children 732d7aa833f7
files CHANGES.txt doc/announcement.txt roundup/__init__.py roundup/date.py setup.py
diffstat 5 files changed, 41 insertions(+), 46 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGES.txt	Thu Mar 03 02:19:50 2005 +0000
+++ b/CHANGES.txt	Thu Mar 03 04:47:35 2005 +0000
@@ -1,7 +1,7 @@
 This file contains the changes to the Roundup system over time. The entries
 are given with the most recent entry first.
 
-2005-03-?? 0.8.2
+2005-03-03 0.8.2
 Feature:
 - roundup-server automatically redirects from trackers list
   to the tracker page if there is only one tracker
--- a/doc/announcement.txt	Thu Mar 03 02:19:50 2005 +0000
+++ b/doc/announcement.txt	Thu Mar 03 04:47:35 2005 +0000
@@ -1,23 +1,22 @@
-I'm proud to release this 8th major feature release of Roundup. 
+Roundup is a simple-to-use and -install issue-tracking system with
+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.
 
-First up, big thanks go to alexander smishlajev who has done some really
-good work getting the i18n and new configuration components of this release
-going.
+This 0.8.2 release adds one feature and fixes some bugs:
 
-Please note that Roundup now requires Python 2.3 or later. Please continue
-to use 0.7 if you require Python 2.1 compatibility.
+Feature:
+- roundup-server automatically redirects from trackers list
+  to the tracker page if there is only one tracker
 
-Version 0.8 introduces far too many features to list here so I've put
-together a What's New page:
-
-  http://roundup.sourceforge.net/doc-0.8/whatsnew-0.8.html
-
-This 0.8.1 release fixes some bugs:
-
-- fixed broken csv import in roundup.admin module
-- fixed braino in HTMLClass.filter() (sf bug 1124213)
-- change ZTUtils Iterator to always iter() its sequence argument
-- replaced MutlilinkIterator with multilinkGenerator (thanks Bob Ippolito)
+Fixed:
+- added content to ZRoundup refresh.txt file (sf bug 1147622)
+- fix invalid reference to csv.colon_separated
+- correct URL to What's New in setup.py meta-data
+- change AUTOCOMMIT=OFF to AUTOCOMMIT=0 for MySQL (sf bug 1143707)
+- compile message objects in 'setup.py build'
+- use backend datatype for journal timestamps in RDBMSes
+- fixes to the "Using an external password validation source"
+  customisation example (sf bugs 1153640 and 1155108)
 
 If you're upgrading from an older version of Roundup you *must* follow
 the "Software Upgrade" guidelines given in the maintenance documentation.
@@ -39,13 +38,6 @@
 About Roundup
 =============
 
-Roundup is a simple-to-use and -install issue-tracking system with
-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.
-
-Note: Ping is not responsible for this project. The contact for this
-project is richard@users.sourceforge.net.
-
 Roundup manages a number of issues (with flexible properties such as
 "description", "priority", and so on) and provides the ability to:
 
--- a/roundup/__init__.py	Thu Mar 03 02:19:50 2005 +0000
+++ b/roundup/__init__.py	Thu Mar 03 04:47:35 2005 +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.31.2.3 2005-02-16 22:11:34 richard Exp $
+# $Id: __init__.py,v 1.31.2.4 2005-03-03 04:47:35 richard Exp $
 
 '''Roundup - issue tracking for knowledge workers.
 
@@ -68,6 +68,6 @@
 '''
 __docformat__ = 'restructuredtext'
 
-__version__ = '0.8.1'
+__version__ = '0.8.2'
 
 # vim: set filetype=python ts=4 sw=4 et si
--- a/roundup/date.py	Thu Mar 03 02:19:50 2005 +0000
+++ b/roundup/date.py	Thu Mar 03 04:47:35 2005 +0000
@@ -15,7 +15,7 @@
 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
 #
-# $Id: date.py,v 1.77.2.3 2005-02-25 17:20:42 a1s Exp $
+# $Id: date.py,v 1.77.2.4 2005-03-03 04:47:35 richard Exp $
 
 """Date, time and time interval handling.
 """
@@ -135,6 +135,7 @@
         elif have_datetime and isinstance(spec, datetime.datetime):
             # Python 2.3+ datetime object
             y,m,d,H,M,S,x,x,x = spec.timetuple()
+            if y < 1970: raise ValueError, 'year must be > 1970'
             S += spec.microsecond/1000000.
             spec = (y,m,d,H,M,S,x,x,x)
         elif hasattr(spec, 'tuple'):
@@ -143,6 +144,7 @@
             spec = spec.get_tuple()
         try:
             y,m,d,H,M,S,x,x,x = spec
+            if y < 1970: raise ValueError, 'year must be > 1970'
             frac = S - int(S)
             ts = calendar.timegm((y,m,d,H+offset,M,S,0,0,0))
             self.year, self.month, self.day, self.hour, self.minute, \
@@ -195,6 +197,7 @@
         if info['y'] is not None or info['a'] is not None:
             if info['y'] is not None:
                 y = int(info['y'])
+                if y < 1970: raise ValueError, 'year must be > 1970'
                 m,d = (1,1)
                 if info['m'] is not None:
                     m = int(info['m'])
--- a/setup.py	Thu Mar 03 02:19:50 2005 +0000
+++ b/setup.py	Thu Mar 03 04:47:35 2005 +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.77.2.5 2005-03-01 14:41:56 a1s Exp $
+# $Id: setup.py,v 1.77.2.6 2005-03-03 04:47:35 richard Exp $
 
 from distutils.core import setup, Extension
 from distutils.util import get_platform
@@ -322,24 +322,24 @@
 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.
 
+This 0.8.2 release adds one feature and fixes some bugs:
+
+Feature:
+- roundup-server automatically redirects from trackers list
+  to the tracker page if there is only one tracker
+
+Fixed:
+- added content to ZRoundup refresh.txt file (sf bug 1147622)
+- fix invalid reference to csv.colon_separated
+- correct URL to What's New in setup.py meta-data
+- change AUTOCOMMIT=OFF to AUTOCOMMIT=0 for MySQL (sf bug 1143707)
+- compile message objects in 'setup.py build'
+- use backend datatype for journal timestamps in RDBMSes
+- fixes to the "Using an external password validation source"
+  customisation example (sf bugs 1153640 and 1155108)
+
 If you're upgrading from an older version of Roundup you *must* follow
 the "Software Upgrade" guidelines given in the maintenance documentation.
-
-This release introduces far too many features to list here so I've put
-together a What's New page:
-
-  http://roundup.sourceforge.net/doc-0.8/whatsnew-0.8.html
-
-Some highlights:
-
-- added postgresql backend
-- trackers using postgresql or mysql backends may have many users
-- new "actor" automatic property (user who caused the last "activity")
-- RDBMS backends have data typed columns and indexes on several columns
-- registration may be concluded by replying to the confirmation email
-- HTML templating permission checks are greatly simplified
-- database exports now include full journals
-- IMAP support in the mail gateway
 ''',
         'author': "Richard Jones",
         'author_email': "richard@users.sourceforge.net",
@@ -347,7 +347,7 @@
         'download_url': 'http://sourceforge.net/project/showfiles.php?group_id=31577',
         'packages': packagelist,
         'classifiers': [
-            'Development Status :: 4 - Beta',
+            'Development Status :: 5 - Stable',
             'Environment :: Console',
             'Environment :: Web Environment',
             'Intended Audience :: End Users/Desktop',

Roundup Issue Tracker: http://roundup-tracker.org/