Edgewall Software

Ticket #7057 (closed task: fixed)

Opened 10 months ago

Last modified 10 months ago

Unclear hompage documentation or initenv is broken

Reported by: jay.liu@… Owned by: jonas
Priority: normal Milestone:
Component: general Version: 0.10.4
Severity: normal Keywords: documentation
Cc:

Description

Hi,

On the page http://trac.edgewall.org/wiki/TracAdmin

it says takes these arguments

initenv <projectname> <db> <repostype> <repospath>

so I run a

trac-admin $tracpath initenv $name sqllite $svnpath

it complains about Wrong number of arguments to initenv :4.

Isn't 4 supposed to be correct? if I add a 5th argument, it throws an error about it doesn't look like a trac templates directory, which seems like it works.

Thanks, Jayh

Attachments

Change History

Changed 10 months ago by thatch

On one hand, your arguments are wrong (svn would be an acceptable repostype, not sqllite)...

On the other hand, the docs are not current, and it seems reasonable to leave the template_dir off. You'll need to put the output of:

from trac,config import default_dir
print default_dir("template")

as the 5th argument for now.

Changed 10 months ago by thatch

Of course that should be trac.config, I have my fonts set too small.

Changed 10 months ago by cboos

  • keywords documentation added
  • type changed from defect to task

TracAdmin is for 0.11, you're using 0.10. See 0.10/TracAdmin.

Changed 10 months ago by thatch

  • status changed from new to closed
  • resolution set to fixed

...and the docs are now in sync. Thanks for the catch, cboos.

Changed 10 months ago by cboos

Team work as I like it ;-)

Add/Change #7057 (Unclear hompage documentation or initenv is broken)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.