The purpose of this post is to propose that the Mekwars project migrate from using Subversion for version control to using git. I believe there are many advantages to using git over svn, the biggest one being that the distributed nature of git fits the model of development on the project better. Also, the tooling for git is mature and has integrations with all of the major Java IDE’s; Eclipse, Netbeans, Inteli J, etc.. Also, migrating to git would put the project in line with the other projects that are aligned with Megamek. Using the same version control system as Megamek might produce some time savings and help with the integration of Megamek into Mekwars. This leads me to the other purpose of this post which is to propose that the project migrate from Sourceforge to Github for the projects code repository.
A move from Sourceforge to Github would be beneficial in many ways for the project. The major advantage that I can see would be that it simplifies the process of contributing to the project immensely. With the current workflow, if a contributor wants to commit code, they first would have to contact Spork directly with the changes that they would like to make or have been given commit access to the repository on Sourceforge. This whole process is completely unnecessary on Github. The process on Github would be as follows:
- A contributor would fork the repository
- They would make any changes or additions that they wanted to to their local copy of the repository
- They would then push those changes to their forked repository on Github and then issue a pull request
- This would give the project developers a chance to review the proposed code before merging it with the current code base
The main advantage to this workflow is that anyone can contribute code to the project without having to have commit access to the project repositories while also providing a mechanism for the projects staff to review proposed changes easily. Again, as stated before, this would put the project in line with other sister projects, since they have all made the move to Github.
Ultimately, the decision is Spork’s, but I wanted to post this proposal and open discussion to see if other developers on the project would like to see these proposed migrations happen. One might think that a move like this would be difficult, but it really isn’t. I have provided some links that outline the process. Also, to show how easy this is, I've migrated the repository under my Github account. https://github.com/wildj79/mekwarshttps://help.github.com/articles/source-code-migration-tools/https://git-scm.com/docs/git-svnhttps://help.github.com/articles/about-github-importer/https://help.github.com/articles/importing-a-repository-with-github-importer/