This is an R package assiting semi-automatic migration of tickets/milestones/code from Subversion+Trac setup to GitHub.
Migrating from Trac+SVN to GitHub usually involves moving the following items:
- milestones
- tickets
- code, stored in SVN
(more details will follow soon)
- Trac pseudo-API allowing fetching milestone and ticket data from Trac non-interactively:
trac_api()
,get_trac_tickets()
,get_trac_milestones()
- Converting milestones and tickets to GitHub milestones and issues adding cross-system links etc.:
make_gh_issues()
,make_gh_milestones()
- Pushing created milestones and issues directly to GitHub:
push_gh_milestones()
,push_gh_issues()
. - Filtering commit messages and replacing ticket references with issue references:
make_script
- There is a Trac XML-RPC Plugin that seems to allow downloading at least some that information in a machine-readable format (XML). Handling this is not yet implemented.
- User with administrative rights in Trac seems to be able to create "dumps" using
trac-admin
command. Handling such files is not yet implemented.
devtools::install_github("mbojan/trac2gh")