I need some help to translate the game and I know how to accept a modification without having to give write access to a contributor with Git.
I plan to use this script for the migration:
https://gist.github.com/Tuxdude/2968478
I'll have to modify this script to use another Git repository as I have no plan to use Github. I don't want to waste the history of the commits since 2006.
Maybe using git svn clone and git push would be enough. I'll have to call "git config user.name" and "git config user.email" before committing.
Local backup of the Subversion repository done with:
rsync -av svn.code.sf.net::p/tuer/code sfnet
Chris Tsai did an excellent suggestion to use the backup with git svn clone:
https://sourceforge.net/p/forge/site-support/841/#51d4
This command line reuses the previous backup, it seems to work:
git svn clone file:///home/gouessej/Documents/programmation/java/backup/sfnet/code/
I have to add the remote and to push, it seems to work:
git remote add origin ssh://gouessej@git.code.sf.net/p/tuer/sourcecode
git push -u origin master
I should use git filter-branch --msg-filter '
sed -e "/git-svn-id:/d"
'
as it's indicated here:
http://www.yterium.net/Migrer-un-projet-SVN-vers-GIT
Those things aren't very useful.
The complete procedure is this further:
cd /home/gouessej/Documents/programmation/java/backup/
rsync -av svn.code.sf.net::p/tuer/code sfnet
mkdir sfnet_git
cd sfnet_git
git svn clone file:///home/gouessej/Documents/programmation/java/backup/sfnet/code/
cd code
git filter-branch --msg-filter '
sed -e "/git-svn-id:/d"
'
git remote add origin ssh://gouessej@git.code.sf.net/p/tuer/sourcecode
git push -u origin master
I've just done:
The switch to Git has been done today (Saturday 27th October 2021). The documentation has been updated. The external links (mostly on Javagaming.org, Wordpress and StackOverflow) will be updated soon.