git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rfc on a svn -> git wrapper script
@ 2008-03-18 15:24 Stefano Zacchiroli
  0 siblings, 0 replies; only message in thread
From: Stefano Zacchiroli @ 2008-03-18 15:24 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-19 21:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-18 15:24 rfc on a svn -> git wrapper script Stefano Zacchiroli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).