Git instead of Subversion as Source Versioning[message #358955]
||Fri, 07 February 2020 19:08 |
|Git vs Subversion[ 4 votes ]
|| 3 / 75%
|| 1 / 25%
please apologize for spamming this forum. This came from a very short discussion on discord.
I would propose to move the trunk code development from Subversion to Git.
- VS supports Git as part of the IDE. That way you can view changes in VS and have it more integrated. Merging is also simple and supported within the IDE.
- Git allows for distributed development, e.g. I can commit something already without pushing it to a central server, that allowing me to backup my changes locally and I can work on different branches without having to have write access to the svn server. This is helpful for first time contributors to a project to quickly start with modding themselves.
- Free hosting platforms (github) and tools (gitlab) exists that support contributing. Reviewing code is easy, and forking as well as pull requests allow for a standardize way to contribute (no patch sending via pm etc..).
- Thanks to aimnas we already have a working git repo that is almost ready to use, only a .gitignore is missing as well as users and permissions.
Please vote what you think makes more sense.
- Git is different, a tad more complex and one needs to learn it (svn: commit; git: staging,commit,push).
- While one can also move the assets parts to git/github, I wouldn't do that yet as many modders use SVN as a free form binary data storage. I would only concentrate on the code right now, meaning people still need a subversion client for downloading asset files.
- Git is a newer tool, and if you have an extremely old machine, maybe git doesn't work there while subversion would. (are you allowed to use internet with that machine though?)
- While trunk is already on git as a mirror, any code branches stored somewhere on Subversion are not. One would need to migrate those manually.
Disclaimer: Since I neither have access to the current Subversion nor represent any of the coders here on JA1.13 this poll might have no consequences what so ever and changes might or might not occur, regardless of any poll results. I can help with github related tasks but my knowledge about Subversion -> Git converter are theoretical at best.
Thank you for reading and please leave a comment down below