On Tue, Nov 20, 2018 at 09:58:26PM +0900, Masamichi Hosoda wrote: > > Masamichi-san, how did you do the migration? Maybe Gavin can simply > > clone your version, which would be the simplest solution, of course. > > I used `git svn` something like the followings. > > First: > $ git svn init -s --no-metadata --prefix=svn/ > svn://svn.savannah.gnu.org/texinfo > > Update: > $ git svn fetch > $ git checkout master > $ git merge svn/trunk
Thanks. I'm looking at doing it myself, using a combination of the instructions at https://savannah.gnu.org/maintenance/UsingGit/ and https://epicserve-docs.readthedocs.io/en/latest/git/svn_to_git.html git svn is going to take a long time to run as it has to connect to the svn repository for every commit, and there are thousands of them. Hopefully I can do it right the first time and don't have to waste a lot of time on trial and error (although I've just noticed the help page on Savannah has some advice about getting a local copy of the SVN repo first). https://git-scm.com/docs/git-svn recommends against the --no-metadata option. Although https://savannah.gnu.org/maintenance/UsingGit/ says that git-svnimport can be used for conversions, I don't have a git-svnimport command on my system. (I have git 1.8.4 installed.) "git svn" should be sufficient. I think I need to do an author map file. Fortunately there are not that many committers. It would be helpful it people could have a look through the following and check for mistakes: adl = Alexandre Duret-Lutz <a...@gnu.org> adrian = Adrian Aichner <adr...@xemacs.org> akim = Akim Demaille <a...@epita.fr> arnold = Arnold D. Robbins <arn...@skeeve.com> dirt = Alper Ersoy <d...@gtk.org> dprice = Derek Price <de...@ximbiot.com> eliz = Eli Zaretskii <e...@gnu.org> feloy = Philippe Martin <fe...@free.fr> gavin = Gavin Smith <gavinsmith0...@gmail.com> gray = Sergey Poznyakoff <g...@gnu.org> httpd = Karl Berry <k...@freefriends.org> juan_g = Juan Manuel Guerrero <juan.guerr...@gmx.de> karl = Karl Berry <k...@freefriends.org> kasal = Stepan Kasal <ka...@ucw.cz> mthl = Mathieu Lirzin <m...@gnu.org> olegkat = Oleg Katsitadze <oleg...@gmail.com> pertusus = Patrice Dumas <pertu...@free.fr> reiter = Peter Moulder <rei...@netspace.net.au> trueroad = Masamichi Hosoda <truer...@trueroad.jp> uid65818 = Karl Berry <k...@freefriends.org> wl = Werner Lemberg <w...@gnu.org> For several of the names I had to look through the log history to find out who they were. The names don't seem to match up exactly to Savannah usernames. For example "adrian" is not apparently the same person as https://savannah.gnu.org/users/adrian - he made two revisions, SVN revisions 28 and 29 and the diff shows it is someone else. uid65818 only has one commit and it appears to be a relic of an earlier change in version control system or repository hosting (svn revision 1209). Likewise httpd only has commit 10. I've put Karl for both as it was probably him who was doing it at the time. I identified "reiter" from the ChangeLog for texi2html. There is an existing git repository on Savannah which is out of date. I haven't worked out yet how it can be replaced or updated.