Skip to content

Commit fd04449

Browse files
author
Richard Jones
committed
sqlite backend!
1 parent c51fc7c commit fd04449

File tree

11 files changed

+2065
-1834
lines changed

11 files changed

+2065
-1834
lines changed

CHANGES.txt

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,20 @@ This file contains the changes to the Roundup system over time. The entries
22
are given with the most recent entry first.
33

44
2002-09-?? 0.5.0 ????
5-
. handling of None for Date/Interval/Password values in export/import
6-
. handling of journal values in export/import
7-
. password edit now has a confirmation field
8-
. registration error punts back to register page
9-
. gadfly backend now handles changes to the schema - but only one property
10-
at a time
11-
. cgi.client base URL is now obtained from the config TRACKER_WEB
12-
. request.url has gone away - there's too much magic in trying to figure
13-
what it should be
14-
. cgi-bin script redirects to https now if the request was https
5+
- handling of None for Date/Interval/Password values in export/import
6+
- handling of journal values in export/import
7+
- password edit now has a confirmation field
8+
- registration error punts back to register page
9+
- gadfly backend now handles changes to the schema - but only one property
10+
at a time
11+
- cgi.client base URL is now obtained from the config TRACKER_WEB
12+
- request.url has gone away - there's too much magic in trying to figure
13+
what it should be
14+
- cgi-bin script redirects to https now if the request was https
15+
- FileClass "content" property wasn't being returned by getprops() in most
16+
backends
17+
- we now verify instance attributes on instance open and throw a useful error
18+
if they're not all there
1519

1620

1721
2002-09-13 0.5.0 beta2

TODO.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pending hyperdb range searching of values (dates in particular).
1616
[value, value, ...] implies "in"
1717
pending hyperdb make creator, creation and activity available pre-commit
1818
pending hyperdb migrate "id" property to be Number type
19-
pending instance split instance.open() into open() and login()
19+
pending tracker split instance.open() into open() and login()
2020
pending mailgw allow commands (feature request #556996)
2121
like "help", "dump issue123" (would send all info about
2222
issue123, including a digest of all messages, but probably
@@ -34,6 +34,7 @@ pending security an LDAP user database implementation
3434
pending security authenticate over a secure connection
3535
pending security optionally auth with Basic HTTP auth instead of cookies
3636
pending security use digital signatures in mailgw
37+
pending admin "roundup-admin list" should list all the classnames
3738
pending web I18N
3839
pending web Better message summary display (feature request #520244)
3940
pending web Navigating around the issues (feature request #559149)
@@ -49,8 +50,8 @@ pending web UNIX init.d script for roundup-server
4950
pending web allow multilink selections to select a "none" element to allow
5051
people with broken browsers to select nothing?
5152

52-
bug web do something about file.newitem
5353
bug mailgw some f*ked mailers QUOTE their Re; "Re: "[issue1] bla blah""
5454
bug docs need to mention somewhere how sorting works
55+
bug web :multilink isn't working
5556
======= ========= =============================================================
5657

doc/announcement.txt

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@ Roundup requires python 2.1.1 for correct operation. Support for dumbdbm
1111
requires python 2.1.2 or 2.2. 2.1.3 and 2.2.1 are recommended.
1212

1313
This beta release fixes the following specific problems:
14-
. all backends now have a .close() method, and it's used everywhere
15-
. fixed bug in detectors __init__
16-
. switched the default issue item display to only show issue summary
17-
(added instructions to doc to make it display entire content)
18-
. MANIFEST.in was missing a lot of template files
19-
. added generic item editing
20-
. much nicer layout of template rendering errors
21-
. added context/is_edit_ok and context/is_view_ok convenience methods and
22-
implemented use of them in the classic template
14+
15+
- all backends now have a .close() method, and it's used everywhere
16+
- fixed bug in detectors __init__
17+
- switched the default issue item display to only show issue summary (added
18+
instructions to doc to make it display entire content)
19+
- MANIFEST.in was missing a lot of template files
20+
- added generic item editing
21+
- much nicer layout of template rendering errors
22+
- added context/is_edit_ok and context/is_view_ok convenience methods and
23+
implemented use of them in the classic template
2324

2425
A lot has been done since 0.4:
2526

roundup/admin.py

Lines changed: 2 additions & 1 deletion
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: admin.py,v 1.30 2002-09-13 00:08:43 richard Exp $
19+
# $Id: admin.py,v 1.31 2002-09-18 05:07:47 richard Exp $
2020

2121
import sys, os, getpass, getopt, re, UserDict, shlex, shutil
2222
try:
@@ -300,6 +300,7 @@ def do_install(self, tracker_home, args):
300300
backend = raw_input(_('Select backend [anydbm]: ')).strip()
301301
if not backend:
302302
backend = 'anydbm'
303+
# XXX perform a unit test based on the user's selections
303304

304305
# install!
305306
init.install(tracker_home, template, backend)

roundup/backends/__init__.py

Lines changed: 10 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: __init__.py,v 1.16 2002-09-10 00:11:49 richard Exp $
18+
# $Id: __init__.py,v 1.17 2002-09-18 05:07:47 richard Exp $
1919

2020
__all__ = []
2121

@@ -45,6 +45,15 @@
4545
gadfly = back_gadfly
4646
__all__.append('gadfly')
4747

48+
try:
49+
import sqlite
50+
except ImportError, message:
51+
if str(message) != 'No module named sqlite': raise
52+
else:
53+
import back_sqlite
54+
sqlite = back_sqlite
55+
__all__.append('sqlite')
56+
4857
try:
4958
import bsddb
5059
except ImportError, message:

0 commit comments

Comments
 (0)