[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: please migrate to git
From: |
Gavin Smith |
Subject: |
Re: please migrate to git |
Date: |
Sat, 24 Nov 2018 22:04:46 +0000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
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 <address@hidden>
adrian = Adrian Aichner <address@hidden>
akim = Akim Demaille <address@hidden>
arnold = Arnold D. Robbins <address@hidden>
dirt = Alper Ersoy <address@hidden>
dprice = Derek Price <address@hidden>
eliz = Eli Zaretskii <address@hidden>
feloy = Philippe Martin <address@hidden>
gavin = Gavin Smith <address@hidden>
gray = Sergey Poznyakoff <address@hidden>
httpd = Karl Berry <address@hidden>
juan_g = Juan Manuel Guerrero <address@hidden>
karl = Karl Berry <address@hidden>
kasal = Stepan Kasal <address@hidden>
mthl = Mathieu Lirzin <address@hidden>
olegkat = Oleg Katsitadze <address@hidden>
pertusus = Patrice Dumas <address@hidden>
reiter = Peter Moulder <address@hidden>
trueroad = Masamichi Hosoda <address@hidden>
uid65818 = Karl Berry <address@hidden>
wl = Werner Lemberg <address@hidden>
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.
Re: please migrate to git, Gavin Smith, 2018/11/19
- Re: please migrate to git, Werner LEMBERG, 2018/11/19
- Re: please migrate to git, Masamichi Hosoda, 2018/11/20
- Re: please migrate to git,
Gavin Smith <=
- Re: please migrate to git, Norbert Preining, 2018/11/24
- Re: please migrate to git, Gavin Smith, 2018/11/25
- Re: please migrate to git, Andreas Schwab, 2018/11/25
- Re: please migrate to git, Gavin Smith, 2018/11/25
- Re: please migrate to git, Andreas Schwab, 2018/11/25
- Re: please migrate to git, Gavin Smith, 2018/11/26
Re: please migrate to git, Eli Zaretskii, 2018/11/25
Re: please migrate to git, Gavin Smith, 2018/11/25
Re: please migrate to git, Eli Zaretskii, 2018/11/25
Re: please migrate to git, Gavin Smith, 2018/11/26