Git and Github Migration Proposal

Post Reply
User avatar
wildj79
Posts: 84
Joined: Wed Aug 26, 2009 11:31 pm
Location: Texas

Git and Github Migration Proposal

Post by wildj79 » Sun Jul 24, 2016 7:51 pm

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/mekwars

https://help.github.com/articles/source ... ion-tools/
https://git-scm.com/docs/git-svn
https://help.github.com/articles/about-github-importer/
https://help.github.com/articles/import ... -importer/

Spork
Mekwars Developer
Posts: 3868
Joined: Wed Feb 13, 2008 10:23 pm

Re: Git and Github Migration Proposal

Post by Spork » Thu Jul 28, 2016 12:17 pm

The main problem is that i neither understand nor like git.
Never had much, grew up with nothing
But the music, well it was something
Been down and out, I've been on top of the world,
World that keeps on spinning on a turntable.

User avatar
wildj79
Posts: 84
Joined: Wed Aug 26, 2009 11:31 pm
Location: Texas

Re: Git and Github Migration Proposal

Post by wildj79 » Thu Jul 28, 2016 7:39 pm

That's cool, I understand that git isn't for everyone. But, I would ask that your dislike for git wouldn't keep you from considering a migration to Github. Github supports using a Subversion client, so if you'd like to keep using svn, you can without having to worry about learning git.

https://help.github.com/articles/what-a ... n-and-git/
https://help.github.com/articles/suppor ... n-clients/
https://help.github.com/articles/subver ... by-github/

User avatar
Tuco
MegamekNET Campaign Operator
Posts: 2793
Joined: Wed Feb 13, 2008 10:23 pm

Re: Git and Github Migration Proposal

Post by Tuco » Wed Aug 01, 2018 8:22 am

You can bet that github will be "improved" like WhatsApp was by Facebook, now that MS has bought it. It's good that Mekwars is still on sourceforge.
When the injustice is great enough, Justice will lend me the strength needed to correct it.
None may stand against it.
It will shatter every barrier, sunder any shield, tear through any enchantment and lend its servant the power to pass sentence.
Know this: there is nothing on all the Planes that can stay the hand of justice when it is brought against them.
It may unmake armies. It may sunder the thrones of gods.
Know that for ALL who betray Justice, I am their fate... and fate carries an Executioner's Axe.

User avatar
wildj79
Posts: 84
Joined: Wed Aug 26, 2009 11:31 pm
Location: Texas

Re: Git and Github Migration Proposal

Post by wildj79 » Wed Aug 01, 2018 5:28 pm

I would disagree. There have been a lot of "knee jerk" responses concerning the Github buyout, and I don't think they are warranted. For one thing, the Microsoft of today is not the same Microsoft of even 5 years ago. There has been a fundamental shift in thinking amongst their ranks, and they have whole heartedly embraced open source / free software. Hell, they are the biggest contributors on Github. Plus, if you take Xamarin as an example, Microsoft has done a good job of turning around that IP. I'm of the opinion that this is actually a good move for Github.

Now, as to the original purpose for this post, I still feel very strongly that Mekwars needs to make the switch to Github. The way the project is structured on Sourceforge presents a huge barrier to entry for coders that want to contribute to the project. Even committing small changes is a PITA. Even just switching the repo to git and allowing coders to submit pull requests would be a welcome change. Most developers know git, not everyone knows Subversion.

Post Reply