Modify

Opened 5 years ago

Last modified 5 years ago

#5463 assigned enhancement

Ability to import into a new local Trac db

Reported by: thijs Owned by: thijs
Priority: normal Component: JiraToTracIntegration
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Would be nice if the commandline tool's had a --new option that allows you to create a new Trac instance from scratch, based on the settings in a .cfg file, and import the Jira into.

Attachments (0)

Change History (2)

comment:1 Changed 5 years ago by thijs

Which basically means this kind of script needs to be Pythonized:

#!/bin/sh
# todo: implement in python

PORT=8000
TRAC=test
USER=admin
PASSWORD=admin

HTPASSWD=$TRAC/.htpasswd
BASICAUTH=--basic-auth=$TRAC,$HTPASSWD,$TRAC
ACCOUNTMANAUTH=
AUTH=$BASICAUTH

# start trac
tracd -p $PORT $AUTH $TRAC

comment:2 Changed 5 years ago by thijs

  • Status changed from new to assigned

First half was fixed in r6272:

{{
PORT=8000
TRAC=test
USER=admin
PASSWORD=admin
}}}

Add Comment

Modify Ticket

Action
as assigned .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.