Skip to content

Commit 64ace7b

Browse files
author
Richard Jones
committed
Added a target version field to the extended issue schema
1 parent b6b95a0 commit 64ace7b

File tree

7 files changed

+49
-13
lines changed

7 files changed

+49
-13
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Feature:
1515
. users may attach files to issues (and support in ext) through the web now
1616
. incorporated patch from Roch'e Compaan implementing attachments in nosy
1717
e-mail
18+
. added a target version field to the extended issue schema
1819

1920
Fixed:
2021
. Fixed a bug in HTMLTemplate changes.

MIGRATION.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ template in the core source.
7979

8080
MESSAGES_TO_AUTHOR has been added to the IssueClass in dbinit.py. Set to 'yes'
8181
to send nosy messages to the author. Default behaviour is to not send nosy
82-
messages to the author.
82+
messages to the author. You will need to add MESSAGES_TO_AUTHOR to your
83+
dbinit.py in your instance home.
8384

8485

8586
CGI script roundup.cgi
@@ -89,3 +90,5 @@ need to install it again from the cgi-bin directory of the source
8990
distribution. Make sure you update the ROUNDUP_INSTANCE_HOMES after the
9091
copy.
9192

93+
94+

roundup/backends/back_anydbm.py

Lines changed: 8 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: back_anydbm.py,v 1.10 2001-10-09 23:58:10 richard Exp $
18+
#$Id: back_anydbm.py,v 1.11 2001-11-21 02:34:18 richard Exp $
1919

2020
import anydbm, os, marshal
2121
from roundup import hyperdb, date, password
@@ -179,7 +179,7 @@ def close(self):
179179
we can be del'ed and the underlying anydbm connections closed
180180
cleanly.
181181
'''
182-
self.classes = None
182+
self.classes = {}
183183

184184

185185
#
@@ -201,6 +201,12 @@ def rollback(self):
201201

202202
#
203203
#$Log: not supported by cvs2svn $
204+
#Revision 1.10 2001/10/09 23:58:10 richard
205+
#Moved the data stringification up into the hyperdb.Class class' get, set
206+
#and create methods. This means that the data is also stringified for the
207+
#journal call, and removes duplication of code from the backends. The
208+
#backend code now only sees strings.
209+
#
204210
#Revision 1.9 2001/10/09 07:25:59 richard
205211
#Added the Password property type. See "pydoc roundup.password" for
206212
#implementation details. Have updated some of the documentation too.

roundup/backends/back_bsddb.py

Lines changed: 8 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: back_bsddb.py,v 1.11 2001-10-09 23:58:10 richard Exp $
18+
#$Id: back_bsddb.py,v 1.12 2001-11-21 02:34:18 richard Exp $
1919

2020
import bsddb, os, marshal
2121
from roundup import hyperdb, date, password
@@ -179,7 +179,7 @@ def close(self):
179179
we can be del'ed and the underlying bsddb connections closed
180180
cleanly.
181181
'''
182-
self.classes = None
182+
self.classes = {}
183183

184184

185185
#
@@ -200,6 +200,12 @@ def rollback(self):
200200

201201
#
202202
#$Log: not supported by cvs2svn $
203+
#Revision 1.11 2001/10/09 23:58:10 richard
204+
#Moved the data stringification up into the hyperdb.Class class' get, set
205+
#and create methods. This means that the data is also stringified for the
206+
#journal call, and removes duplication of code from the backends. The
207+
#backend code now only sees strings.
208+
#
203209
#Revision 1.10 2001/10/09 07:25:59 richard
204210
#Added the Password property type. See "pydoc roundup.password" for
205211
#implementation details. Have updated some of the documentation too.

roundup/backends/back_bsddb3.py

Lines changed: 8 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: back_bsddb3.py,v 1.9 2001-10-09 23:58:10 richard Exp $
18+
#$Id: back_bsddb3.py,v 1.10 2001-11-21 02:34:18 richard Exp $
1919

2020
import bsddb3, os, marshal
2121
from roundup import hyperdb, date, password
@@ -180,7 +180,7 @@ def close(self):
180180
we can be del'ed and the underlying bsddb connections closed
181181
cleanly.
182182
'''
183-
self.classes = None
183+
self.classes = {}
184184

185185

186186
#
@@ -201,6 +201,12 @@ def rollback(self):
201201

202202
#
203203
#$Log: not supported by cvs2svn $
204+
#Revision 1.9 2001/10/09 23:58:10 richard
205+
#Moved the data stringification up into the hyperdb.Class class' get, set
206+
#and create methods. This means that the data is also stringified for the
207+
#journal call, and removes duplication of code from the backends. The
208+
#backend code now only sees strings.
209+
#
204210
#Revision 1.8 2001/10/09 07:25:59 richard
205211
#Added the Password property type. See "pydoc roundup.password" for
206212
#implementation details. Have updated some of the documentation too.

roundup/templates/extended/dbinit.py

Lines changed: 8 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: dbinit.py,v 1.13 2001-10-30 00:54:45 richard Exp $
18+
# $Id: dbinit.py,v 1.14 2001-11-21 02:34:18 richard Exp $
1919

2020
import os
2121

@@ -110,7 +110,7 @@ def open(name=None):
110110
assignedto=Link("user"), priority=Link("priority"),
111111
status=Link("status"), product=Link("product"),
112112
platform=Multilink("platform"), version=String(),
113-
supportcall=Multilink("support"))
113+
targetversion=String(), supportcall=Multilink("support"))
114114

115115
import detectors
116116
detectors.init(db)
@@ -176,6 +176,12 @@ def init(adminpw):
176176

177177
#
178178
# $Log: not supported by cvs2svn $
179+
# Revision 1.13 2001/10/30 00:54:45 richard
180+
# Features:
181+
# . #467129 ] Lossage when username=e-mail-address
182+
# . #473123 ] Change message generation for author
183+
# . MailGW now moves 'resolved' to 'chatting' on receiving e-mail for an issue.
184+
#
179185
# Revision 1.12 2001/10/09 07:25:59 richard
180186
# Added the Password property type. See "pydoc roundup.password" for
181187
# implementation details. Have updated some of the documentation too.

roundup/templates/extended/html/issue.item

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $Id: issue.item,v 1.6 2001-11-14 21:35:22 richard Exp $-->
1+
<!-- $Id: issue.item,v 1.7 2001-11-21 02:34:18 richard Exp $-->
22
<table border=0 cellspacing=0 cellpadding=2>
33

44
<tr class="strong-header">
@@ -13,11 +13,19 @@
1313
<tr bgcolor="ffffea">
1414
<td width=1% nowrap align=right><span class="form-label">Product</span></td>
1515
<td class="form-text" valign=middle><display call="menu('product')">
16-
version:<display call="field('version', 5)"></td>
17-
<td width=1% nowrap align=right><span class="form-label">Platform</span></td>
18-
<td class="form-text" valign=middle><display call="checklist('platform')"></td>
16+
<span class="form-label">version:</span><display call="field('version', 5)"></td>
17+
<td rowspan=2 width=1% nowrap align=right><span class="form-label">Platform</span></td>
18+
<td rowspan=2 class="form-text" valign=middle><display call="checklist('platform')"></td>
1919
</tr>
2020

21+
<tr bgcolor="ffffea">
22+
<td width=1% nowrap align=right>&nbsp;</td>
23+
<td align=left><span class="form-label">Target Version</span>
24+
<display call="field('targetversion', 5)">
25+
</td>
26+
</tr>
27+
28+
2129
<tr bgcolor="ffffea">
2230
<td width=1% nowrap align=right><span class="form-label">Created</span></td>
2331
<td class="form-text"><display call="reldate('creation', pretty=1)">

0 commit comments

Comments
 (0)