comparison roundup/admin.py @ 3295:a615cc230160

added Xapian indexer; replaces standard indexers if Xapian is available
author Richard Jones <richard@users.sourceforge.net>
date Thu, 28 Apr 2005 00:21:42 +0000
parents 7a7f7d3a038d
children 4372716a675a
comparison
equal deleted inserted replaced
3293:8897483a9f8b 3295:a615cc230160
14 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 14 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
15 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" 15 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
16 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, 16 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
17 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 17 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
18 # 18 #
19 # $Id: admin.py,v 1.91 2005-04-13 07:01:05 richard Exp $ 19 # $Id: admin.py,v 1.92 2005-04-28 00:21:41 richard Exp $
20 20
21 '''Administration commands for maintaining Roundup trackers. 21 '''Administration commands for maintaining Roundup trackers.
22 ''' 22 '''
23 __docformat__ = 'restructuredtext' 23 __docformat__ = 'restructuredtext'
24 24
405 # install! 405 # install!
406 init.install(tracker_home, templates[template]['path']) 406 init.install(tracker_home, templates[template]['path'])
407 init.write_select_db(tracker_home, backend) 407 init.write_select_db(tracker_home, backend)
408 408
409 print _(""" 409 print _("""
410 ---------------------------------------------------------------------------
410 You should now edit the tracker configuration file: 411 You should now edit the tracker configuration file:
411 %(config_file)s""") % {"config_file": config_ini_file} 412 %(config_file)s""") % {"config_file": config_ini_file}
412 413
413 # find list of options that need manual adjustments 414 # find list of options that need manual adjustments
414 # XXX config._get_unset_options() is marked as private 415 # XXX config._get_unset_options() is marked as private
425 you should also edit the schema file: 426 you should also edit the schema file:
426 %(database_config_file)s 427 %(database_config_file)s
427 You may also change the database initialisation file: 428 You may also change the database initialisation file:
428 %(database_init_file)s 429 %(database_init_file)s
429 ... see the documentation on customizing for more information. 430 ... see the documentation on customizing for more information.
431
432 You MUST run the "roundup-admin initialise" command once you've performed
433 the above steps.
434 ---------------------------------------------------------------------------
430 """) % { 435 """) % {
431 'database_config_file': os.path.join(tracker_home, 'schema.py'), 436 'database_config_file': os.path.join(tracker_home, 'schema.py'),
432 'database_init_file': os.path.join(tracker_home, 'initial_data.py'), 437 'database_init_file': os.path.join(tracker_home, 'initial_data.py'),
433 } 438 }
434 return 0 439 return 0

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