| 1 | = 티켓 데이타 추가하기 = |
---|
| 2 | |
---|
| 3 | == Bugzilla == |
---|
| 4 | Trac 배포버전의 contrib/ 디렉토리에 있는 [http://projects.edgewall.com/trac/browser/trunk/contrib/bugzilla2trac.py bugzilla2trac.py] 스크립트를 사용해서 Bugzilla의 티켓 데이타를 Trac에 추가할 수 있습니다. |
---|
| 5 | |
---|
| 6 | {{{ |
---|
| 7 | $ bugzilla2trac.py |
---|
| 8 | bugzilla2trac - Imports a bug database from Bugzilla into Trac. |
---|
| 9 | |
---|
| 10 | Usage: bugzilla2trac.py [options] |
---|
| 11 | |
---|
| 12 | Available Options: |
---|
| 13 | --db <MySQL dbname> - Bugzilla's database |
---|
| 14 | --tracenv /path/to/trac/env - full path to Trac db environment |
---|
| 15 | -h | --host <MySQL hostname> - Bugzilla's DNS host name |
---|
| 16 | -u | --user <MySQL username> - effective Bugzilla's database user |
---|
| 17 | -p | --passwd <MySQL password> - Bugzilla's user password |
---|
| 18 | -c | --clean - remove current Trac tickets before importing |
---|
| 19 | --help | help - this help info |
---|
| 20 | |
---|
| 21 | Additional configuration options can be defined directly in the script. |
---|
| 22 | }}} |
---|
| 23 | |
---|
| 24 | 현재 다음의 데이타가 Bugzilla로 부터 추가되어집니다.: |
---|
| 25 | |
---|
| 26 | * bugs |
---|
| 27 | * bug activity (field changes) |
---|
| 28 | * bug attachments |
---|
| 29 | * user names and passwords (put into a htpasswd file) |
---|
| 30 | |
---|
| 31 | 이 스크립트는 쉬운 변환을 위해서 다음과 같은 다양한 특징을 제공합니다.: |
---|
| 32 | |
---|
| 33 | * PRODUCT_KEYWORDS: Trac은 대상에 대한 정보를 가지고 있지 않습니다. 그래서 대신에 이 스크립트는 티켓 키워드를 추가할 수 있는 기능을 제공합니다. |
---|
| 34 | |
---|
| 35 | * IGNORE_COMMENTS: 특정 정규표현식과 일치하는 Bugzilla의 설명을 추가하지 않습니다. |
---|
| 36 | |
---|
| 37 | * STATUS_KEYWORDS: Trac에서 이용할 수 없는 Bugzilla의 상태값에 대한 티켓 키워드를 추가합니다. 기본적으로 Bugzilla의 'VERIFIED'와 'RELEASED' 상태 키워드는 Trac의 키워드로 변환됩니다. |
---|
| 38 | |
---|
| 39 | 이용할 수 있는 옵션에 대한 상세한 설명은 스크립트의 위쪽에 있는 환경설정 섹션을 참고하십시오. |
---|
| 40 | |
---|
| 41 | == Sourceforge == |
---|
| 42 | Trac 배포버전의 contrib/ 디렉토리에 있는 [http://projects.edgewall.com/trac/browser/trunk/contrib/sourceforge2trac.py sourceforge2trac.py] 스크립트를 사용해서 Sourceforge의 티켓 데이타를 Trac에 추가할 수 있습니다. |
---|
| 43 | |
---|
| 44 | == Mantis == |
---|
| 45 | |
---|
| 46 | Mantis의 티켓들은 첨부된 스크립트를 이용해서 추가될 수 있습니다. |
---|
| 47 | |
---|
| 48 | 현재 다음의 데이타가 Mantis로 부터 추가되어집니다.: |
---|
| 49 | * bugs |
---|
| 50 | * bug comments |
---|
| 51 | * bug activity (field changes) |
---|
| 52 | |
---|
| 53 | 첨부파일은 추가되지 '''않습니다'''. 만약 이 스크립트를 사용한다면, NOTES 섹션을 읽으십시오(파일의 맨 위에 있는). 그리고 현재 환경에 대해 설정 파라메터를 조정했는지 확인하십시오. |
---|
| 54 | |
---|
| 55 | mantis2trac.py 스크립트는 bugzilla2trac.py 스크립트와 같은 파라메터를 가집니다.: |
---|
| 56 | {{{ |
---|
| 57 | mantis2trac - Imports a bug database from Mantis into Trac. |
---|
| 58 | |
---|
| 59 | Usage: mantis2trac.py [options] |
---|
| 60 | |
---|
| 61 | Available Options: |
---|
| 62 | --db <MySQL dbname> - Mantis database |
---|
| 63 | --tracenv /path/to/trac/env - Full path to Trac db environment |
---|
| 64 | -h | --host <MySQL hostname> - Mantis DNS host name |
---|
| 65 | -u | --user <MySQL username> - Effective Mantis database user |
---|
| 66 | -p | --passwd <MySQL password> - Mantis database user password |
---|
| 67 | -c | --clean - Remove current Trac tickets before importing |
---|
| 68 | --help | help - This help info |
---|
| 69 | |
---|
| 70 | Additional configuration options can be defined directly in the script. |
---|
| 71 | }}} |
---|
| 72 | |
---|
| 73 | == 다른 것들 == |
---|
| 74 | |
---|
| 75 | Trac이 데이타를 저장하기 위해서 SQL 데이타베이스를 사용하기 때문에, 데이타베이스 테이블을 테스트해서 다른 시스템으로부터 데이타를 추가할 수 있습니다. 테이블을 보고, 사용중인 프로그램으로부터 데이타를 테이블에 추가하기 위해서 [http://www.sqlite.org/sqlite.html sqlite] 명령행을 이용하십시오. |
---|
| 76 | |
---|
| 77 | === Using a comma delimited file - CSV === |
---|
| 78 | See [http://trac.edgewall.org/attachment/wiki/TracSynchronize/csv2trac.2.py] for details. This approach is particularly useful if one needs to enter a large number of tickets by hand. (note that the ticket type type field, (task etc...) is also needed for this script to work with more recent Trac releases) |