It is currently Tue Nov 21, 2017 1:42 am

All times are UTC [ DST ]




 Page 1 of 1 [ 3 posts ] 
Author Message
 Post subject: Git and Github Migration Proposal
PostPosted: Sun Jul 24, 2016 7:51 pm 
User avatar

Joined: Wed Aug 26, 2009 11:31 pm
Posts: 82
Location: Texas
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-code-migration-tools/
https://git-scm.com/docs/git-svn
https://help.github.com/articles/about-github-importer/
https://help.github.com/articles/importing-a-repository-with-github-importer/


Offline
 Profile  
 
 Post subject: Re: Git and Github Migration Proposal
PostPosted: Thu Jul 28, 2016 12:17 pm 
Mekwars Developer
User avatar

Joined: Wed Feb 13, 2008 10:23 pm
Posts: 3670
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.
Offline
 Profile  
 
 Post subject: Re: Git and Github Migration Proposal
PostPosted: Thu Jul 28, 2016 7:39 pm 
User avatar

Joined: Wed Aug 26, 2009 11:31 pm
Posts: 82
Location: Texas
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-are-the-differences-between-subversion-and-git/
https://help.github.com/articles/support-for-subversion-clients/
https://help.github.com/articles/subversion-properties-supported-by-github/


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: