https://github.com/ext/trac_migration
Script to port trac issues to github
https://github.com/ext/trac_migration
Last synced: about 2 months ago
JSON representation
Script to port trac issues to github
- Host: GitHub
- URL: https://github.com/ext/trac_migration
- Owner: ext
- Created: 2012-04-20T18:14:31.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-04-20T18:21:40.000Z (about 14 years ago)
- Last Synced: 2024-11-26T01:45:27.085Z (over 1 year ago)
- Language: Python
- Size: 97.7 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Trac ticket migration
=====================
This script is provided as-is and I take no responsibility for it. That said I have used it successfully a few times.
Usage:
wget URL/query\?status\=assigned\&status\=closed\&status\=new\&status\=reopened\&format\=csv\&col\=id\&col\=summary\&col\=status\&col\=type\&col\=priority\&col\=milestone\&col\=component\&col\=reporter\&order\=id\&col\=description
sqlite3 -csv trac.db "select ticket, time, author, newvalue from ticket_change where field = 'comment' and newvalue != '' and author != ''" > comments.csv
python migrate.py -u USER -o ORG -p PROJECT -a AUTH query.csv commets.csv