Alioth - Convert SVN repo to Git

Reinhard Tartler siretart at debian.org
Tue Mar 24 21:15:03 UTC 2009


Stéphane Glondu <steph at glondu.net> writes:

> Reinhard Tartler a écrit :
>>> Not completely. If you have the tarballs of the released versions you
>>> can import and merge them.
>> 
>> can you point me to someone (or ideally to a script or detailed
>> explanation) that managed to do that in an automated way?
>
> We did that inside the OCaml team to migrate our packages from svn to
> git, using a (quite hackish) script of mine. See:
>
>   http://wiki.debian.org/Teams/OCamlTaskForce/GitMigration
>
> Among packages owned by pkg-ocaml-maint on alioth, many have been
> converted this way (see e.g. ocaml, ocsigen, cduce... there are tens of
> them). The script is pkg-ocaml-maint-specific for now, but should be
> easily made more generic.

Wow, [1] seems to implement pretty much what I'd expect from a proper
conversion svn->git. However I'm not sure if and how the
pkg-ocaml-maint specific hacks can be generalized.

For pkg-multimedia we decided that implementing that was not worth the
efford, but maybe has fun with adapting [1] for pkg-multimedia? Or
perhaps even someone from debian-devel is willing to generalize that
script for inclusion in git-buildpackage?

[1] http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/tools/svn2git/glondu_svn2git.py?op=file&rev=0&sc=0


-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



More information about the pkg-multimedia-maintainers mailing list