Skip to content

Commit 92fdd8b

Browse files
author
Richard Jones
committed
enforce Date year arg to be > 1970 as test checks
other pre-release stuff
1 parent 014812e commit 92fdd8b

File tree

5 files changed

+40
-45
lines changed

5 files changed

+40
-45
lines changed

CHANGES.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
This file contains the changes to the Roundup system over time. The entries
22
are given with the most recent entry first.
33

4-
2005-03-?? 0.8.2
4+
2005-03-03 0.8.2
55
Feature:
66
- roundup-server automatically redirects from trackers list
77
to the tracker page if there is only one tracker

doc/announcement.txt

Lines changed: 16 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,22 @@
1-
I'm proud to release this 8th major feature release of Roundup.
2-
3-
First up, big thanks go to alexander smishlajev who has done some really
4-
good work getting the i18n and new configuration components of this release
5-
going.
6-
7-
Please note that Roundup now requires Python 2.3 or later. Please continue
8-
to use 0.7 if you require Python 2.1 compatibility.
9-
10-
Version 0.8 introduces far too many features to list here so I've put
11-
together a What's New page:
1+
Roundup is a simple-to-use and -install issue-tracking system with
2+
command-line, web and e-mail interfaces. It is based on the winning design
3+
from Ka-Ping Yee in the Software Carpentry "Track" design competition.
124

13-
http://roundup.sourceforge.net/doc-0.8/whatsnew-0.8.html
5+
This 0.8.2 release adds one feature and fixes some bugs:
146

15-
This 0.8.1 release fixes some bugs:
7+
Feature:
8+
- roundup-server automatically redirects from trackers list
9+
to the tracker page if there is only one tracker
1610

17-
- fixed broken csv import in roundup.admin module
18-
- fixed braino in HTMLClass.filter() (sf bug 1124213)
19-
- change ZTUtils Iterator to always iter() its sequence argument
20-
- replaced MutlilinkIterator with multilinkGenerator (thanks Bob Ippolito)
11+
Fixed:
12+
- added content to ZRoundup refresh.txt file (sf bug 1147622)
13+
- fix invalid reference to csv.colon_separated
14+
- correct URL to What's New in setup.py meta-data
15+
- change AUTOCOMMIT=OFF to AUTOCOMMIT=0 for MySQL (sf bug 1143707)
16+
- compile message objects in 'setup.py build'
17+
- use backend datatype for journal timestamps in RDBMSes
18+
- fixes to the "Using an external password validation source"
19+
customisation example (sf bugs 1153640 and 1155108)
2120

2221
If you're upgrading from an older version of Roundup you *must* follow
2322
the "Software Upgrade" guidelines given in the maintenance documentation.
@@ -39,13 +38,6 @@ Mailing lists - the place to ask questions:
3938
About Roundup
4039
=============
4140

42-
Roundup is a simple-to-use and -install issue-tracking system with
43-
command-line, web and e-mail interfaces. It is based on the winning design
44-
from Ka-Ping Yee in the Software Carpentry "Track" design competition.
45-
46-
Note: Ping is not responsible for this project. The contact for this
47-
project is [email protected].
48-
4941
Roundup manages a number of issues (with flexible properties such as
5042
"description", "priority", and so on) and provides the ability to:
5143

roundup/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: __init__.py,v 1.31.2.3 2005-02-16 22:11:34 richard Exp $
18+
# $Id: __init__.py,v 1.31.2.4 2005-03-03 04:47:35 richard Exp $
1919

2020
'''Roundup - issue tracking for knowledge workers.
2121
@@ -68,6 +68,6 @@
6868
'''
6969
__docformat__ = 'restructuredtext'
7070

71-
__version__ = '0.8.1'
71+
__version__ = '0.8.2'
7272

7373
# vim: set filetype=python ts=4 sw=4 et si

roundup/date.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1616
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1717
#
18-
# $Id: date.py,v 1.77.2.3 2005-02-25 17:20:42 a1s Exp $
18+
# $Id: date.py,v 1.77.2.4 2005-03-03 04:47:35 richard Exp $
1919

2020
"""Date, time and time interval handling.
2121
"""
@@ -135,6 +135,7 @@ def __init__(self, spec='.', offset=0, add_granularity=0, translator=i18n):
135135
elif have_datetime and isinstance(spec, datetime.datetime):
136136
# Python 2.3+ datetime object
137137
y,m,d,H,M,S,x,x,x = spec.timetuple()
138+
if y < 1970: raise ValueError, 'year must be > 1970'
138139
S += spec.microsecond/1000000.
139140
spec = (y,m,d,H,M,S,x,x,x)
140141
elif hasattr(spec, 'tuple'):
@@ -143,6 +144,7 @@ def __init__(self, spec='.', offset=0, add_granularity=0, translator=i18n):
143144
spec = spec.get_tuple()
144145
try:
145146
y,m,d,H,M,S,x,x,x = spec
147+
if y < 1970: raise ValueError, 'year must be > 1970'
146148
frac = S - int(S)
147149
ts = calendar.timegm((y,m,d,H+offset,M,S,0,0,0))
148150
self.year, self.month, self.day, self.hour, self.minute, \
@@ -195,6 +197,7 @@ def set(self, spec, offset=0, date_re=re.compile(r'''
195197
if info['y'] is not None or info['a'] is not None:
196198
if info['y'] is not None:
197199
y = int(info['y'])
200+
if y < 1970: raise ValueError, 'year must be > 1970'
198201
m,d = (1,1)
199202
if info['m'] is not None:
200203
m = int(info['m'])

setup.py

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
1717
# SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
1818
#
19-
# $Id: setup.py,v 1.77.2.5 2005-03-01 14:41:56 a1s Exp $
19+
# $Id: setup.py,v 1.77.2.6 2005-03-03 04:47:35 richard Exp $
2020

2121
from distutils.core import setup, Extension
2222
from distutils.util import get_platform
@@ -322,32 +322,32 @@ def main():
322322
command-line, web and e-mail interfaces. It is based on the winning design
323323
from Ka-Ping Yee in the Software Carpentry "Track" design competition.
324324
325-
If you're upgrading from an older version of Roundup you *must* follow
326-
the "Software Upgrade" guidelines given in the maintenance documentation.
327-
328-
This release introduces far too many features to list here so I've put
329-
together a What's New page:
325+
This 0.8.2 release adds one feature and fixes some bugs:
330326
331-
http://roundup.sourceforge.net/doc-0.8/whatsnew-0.8.html
327+
Feature:
328+
- roundup-server automatically redirects from trackers list
329+
to the tracker page if there is only one tracker
332330
333-
Some highlights:
331+
Fixed:
332+
- added content to ZRoundup refresh.txt file (sf bug 1147622)
333+
- fix invalid reference to csv.colon_separated
334+
- correct URL to What's New in setup.py meta-data
335+
- change AUTOCOMMIT=OFF to AUTOCOMMIT=0 for MySQL (sf bug 1143707)
336+
- compile message objects in 'setup.py build'
337+
- use backend datatype for journal timestamps in RDBMSes
338+
- fixes to the "Using an external password validation source"
339+
customisation example (sf bugs 1153640 and 1155108)
334340
335-
- added postgresql backend
336-
- trackers using postgresql or mysql backends may have many users
337-
- new "actor" automatic property (user who caused the last "activity")
338-
- RDBMS backends have data typed columns and indexes on several columns
339-
- registration may be concluded by replying to the confirmation email
340-
- HTML templating permission checks are greatly simplified
341-
- database exports now include full journals
342-
- IMAP support in the mail gateway
341+
If you're upgrading from an older version of Roundup you *must* follow
342+
the "Software Upgrade" guidelines given in the maintenance documentation.
343343
''',
344344
'author': "Richard Jones",
345345
'author_email': "[email protected]",
346346
'url': 'http://roundup.sourceforge.net/',
347347
'download_url': 'http://sourceforge.net/project/showfiles.php?group_id=31577',
348348
'packages': packagelist,
349349
'classifiers': [
350-
'Development Status :: 4 - Beta',
350+
'Development Status :: 5 - Stable',
351351
'Environment :: Console',
352352
'Environment :: Web Environment',
353353
'Intended Audience :: End Users/Desktop',

0 commit comments

Comments
 (0)