rfc on a svn -> git wrapper script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
  I want to convert a medium-sized subversion repository [1] to several
git repositories. In doing so I've a couple of extra requirements which
are not directly handled by git-svn. The main ones are:

- get rid of old .orig.tar.gz tarballs which have been commited in the
  past to the repo
- get rid of the git-svn metadata as the conversion will be one-way and
  will happen only once
- make the repository bare
- convert old subversion tags to real git tags
  (BTW, I'm quite surprised git-svn doesn't do that, but I understand
  that there are no guarantees that tags on the subversion side have
  been used as such ...)

As a side goal I need all this to be made easy for people which know
potentially nothing about git (they will start learning when the
conversions have been done).

Hence, to automate the above stuff I've made a helper script [2] (with a
companion of him, which is way less interesting [3]).

Since I'm quite new to git, and given that some stuff (e.g. removing the
tarballs and ensuring their space can be reclaimed back) is quite
tricky, I was wondering if someone can have a look at the script to
check if I've overlooked something obvious or not ...

Comments will be very much appreciated,
Many thanks in advance!

[1] svn://svn.debian.org/pkg-ocaml-maint/
[2] http://svn.debian.org/viewsvn/pkg-ocaml-maint/trunk/tools/svn2git/svn2git_alioth?view=markup
[3] http://svn.debian.org/viewsvn/pkg-ocaml-maint/trunk/tools/svn2git/svn2git_pkg-ocaml-maint?view=markup

-- 
Stefano Zacchiroli -*- PhD in Computer Science ............... now what?
zack@{upsilon.cc,cs.unibo.it,debian.org}  -<%>-  http://upsilon.cc/zack/
(15:56:48)  Zack: e la demo dema ?    /\    All one has to do is hit the
(15:57:15)  Bac: no, la demo scema    \/    right keys at the right time
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux