File tree Expand file tree Collapse file tree 3 files changed +19
-12
lines changed
Expand file tree Collapse file tree 3 files changed +19
-12
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,6 @@ Required:
55 - write up security model used in classic tracker
66 - ensure classic template actually implements the model detailed
77- "Web Access" revocation needs work - the context should not be rendered
8- - should redefinitions of a permission keyed off (name, classname) generate
9- an error or a warning? Something needs to be generated, as such
10- occurrances are an error in the schema...
11- - check that the Provisional User example actually works as advertised
128
139Optionally:
1410- clean up roundup.cgi (switch to config file, use proper logging, remove
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Roundup trackers
2222 `choosing your template`_.
2323
2424Roundup support code
25- Installed into your Python install's lib directory
25+ Installed into your Python install's lib directory.
2626
2727Roundup scripts
2828 These include the email gateway, the roundup
@@ -46,19 +46,25 @@ http://starship.python.net/crew/mhammond/win32/).
4646Optional Components
4747===================
4848
49- You may optionall install and use:
49+ You may optionally install and use:
5050
5151An RDBMS
5252 Sqlite, MySQL and Postgresql are all supported by Roundup and will be
5353 used if available. One of these is recommended if you are anticipating a
5454 large user base (see `choosing your backend`_ below).
55+
5556Xapian full-text indexer
5657 The Xapian_ full-text indexer is also supported and will be used by
5758 default if it is available. This is strongly recommended if you are
5859 anticipating a large number of issues (> 1000).
5960
61+ You may install Xapian at any time, even after a tracker has been
62+ installed and used. You will need to run the "roundup-admin reindex"
63+ command if the tracker has existing data.
64+
6065.. _Xapian: http://www.xapian.org/
6166
67+
6268Getting Roundup
6369===============
6470
Original file line number Diff line number Diff line change 1818# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1919# SOFTWARE.
2020
21- # $Id: test_indexer.py,v 1.7 2005-04-28 00:21:42 richard Exp $
21+ # $Id: test_indexer.py,v 1.8 2005-04-28 09:06:09 richard Exp $
2222
2323import os , unittest , shutil
2424
25+ class db :
26+ class config :
27+ DATABASE = 'test-index'
28+
2529class IndexerTest (unittest .TestCase ):
2630 def setUp (self ):
2731 if os .path .exists ('test-index' ):
2832 shutil .rmtree ('test-index' )
2933 os .mkdir ('test-index' )
3034 os .mkdir ('test-index/files' )
3135 from roundup .backends .indexer_dbm import Indexer
32- self .dex = Indexer ('test-index' )
36+ self .dex = Indexer (db )
3337 self .dex .load_index ()
3438
3539 def test_basics (self ):
@@ -45,12 +49,13 @@ def tearDown(self):
4549
4650class XapianIndexerTest (IndexerTest ):
4751 def setUp (self ):
48- if os .path .exists ('text-index' ):
49- shutil .rmtree ('text-index' )
52+ if os .path .exists ('test-index' ):
53+ shutil .rmtree ('test-index' )
54+ os .mkdir ('test-index' )
5055 from roundup .backends .indexer_xapian import Indexer
51- self .dex = Indexer ('.' )
56+ self .dex = Indexer (db )
5257 def tearDown (self ):
53- shutil .rmtree ('text -index' )
58+ shutil .rmtree ('test -index' )
5459
5560def test_suite ():
5661 suite = unittest .TestSuite ()
You can’t perform that action at this time.
0 commit comments