Mercurial > p > roundup > code
comparison roundup/admin.py @ 3671:cecdd102733c
fix help message for roundup-admin install [SF#1494990]
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 11 Aug 2006 05:13:06 +0000 |
| parents | 64f0b85ea603 |
| children | c54ae50f6ce1 |
comparison
equal
deleted
inserted
replaced
| 3670:64f0b85ea603 | 3671:cecdd102733c |
|---|---|
| 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.104 2006-08-11 05:10:15 richard Exp $ | 19 # $Id: admin.py,v 1.105 2006-08-11 05:13:06 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 |
| 341 import roundup.backends | 341 import roundup.backends |
| 342 backends = roundup.backends.list_backends() | 342 backends = roundup.backends.list_backends() |
| 343 print _('Back ends:'), ', '.join(backends) | 343 print _('Back ends:'), ', '.join(backends) |
| 344 | 344 |
| 345 def do_install(self, tracker_home, args): | 345 def do_install(self, tracker_home, args): |
| 346 ""'''Usage: install [template [backend [admin password [key=val[,key=val]]]]] | 346 ""'''Usage: install [template [backend [key=val[,key=val]]]] |
| 347 Install a new Roundup tracker. | 347 Install a new Roundup tracker. |
| 348 | 348 |
| 349 The command will prompt for the tracker home directory | 349 The command will prompt for the tracker home directory |
| 350 (if not supplied through TRACKER_HOME or the -i option). | 350 (if not supplied through TRACKER_HOME or the -i option). |
| 351 The template, backend and admin password may be specified | 351 The template and backend may be specified on the command-line |
| 352 on the command-line as arguments, in that order. | 352 as arguments, in that order. |
| 353 | 353 |
| 354 The last command line argument allows to pass initial values | 354 Command line arguments following the backend allows you to |
| 355 for config options. For example, passing | 355 pass initial values for config options. For example, passing |
| 356 "web_http_auth=no,rdbms_user=dinsdale" will override defaults | 356 "web_http_auth=no,rdbms_user=dinsdale" will override defaults |
| 357 for options http_auth in section [web] and user in section [rdbms]. | 357 for options http_auth in section [web] and user in section [rdbms]. |
| 358 Please be careful to not use spaces in this argument! (Enclose | 358 Please be careful to not use spaces in this argument! (Enclose |
| 359 whole argument in quotes if you need spaces in option value). | 359 whole argument in quotes if you need spaces in option value). |
| 360 | 360 |
