Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

Last modified 12 years ago

#7057 closed task (fixed)

Unclear hompage documentation or initenv is broken

Reported by: jay.liu@… Owned by: Jonas Borgström
Priority: normal Milestone: not applicable
Component: general Version: 0.10.4
Severity: normal Keywords: documentation
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

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 (0)

Change History (6)

comment:1 by Tim Hatch, 16 years ago

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.

comment:2 by Tim Hatch, 16 years ago

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

comment:3 by Christian Boos, 16 years ago

Keywords: documentation added
Type: defecttask

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

comment:4 by Tim Hatch, 16 years ago

Resolution: fixed
Status: newclosed

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

comment:5 by Christian Boos, 16 years ago

Team work as I like it ;-)

comment:6 by Christian Boos, 12 years ago

Milestone: not applicable

timeline links to the rescue, for seeing what was actually changed ;-)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.