I like GitHub but I am also a strong believer that the web should stay decentralized and have been searching an open source alternative that I could host on my servers for a while.
The latest version of GitLab is a perfect solution for my needs: previous versions were focused on private projects but version 6.2 introduces the support for public projects that was missing in previous versions.
My plan is now to slowly migrate my open source projects between Trac and GitLab and I have found a couple of Python scripts that may help for this process:
- https://github.com/neuhalje/hack-copy-track-issues-to-gitlab to migrate issues between Trac and Gitlab
- https://gist.github.com/sgk/1286682 to migrate wiki pages.
I have consolidated these two scripts and the result is available as trac-to-gitlab which is of course… published on GitLab!
One of the things I really like with git is that at the bottom of the network of changes you can see the initial history of the two scripts with the commit dates and names of their authors.
I hope that trac-to-gitlab may be useful to others and be similarly cloned into other projects!
Of course, comments, issues and merge requests are welcome.