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

Re: [proposal] switch our repository from Subversion to Git



On Sat, Mar 08, 2008 at 10:27:43PM +0000, Sylvain Le Gall wrote:
> I have talked with jcristau about git-svnimport yesterday. I know this
> tool. There is some problems with it concerning tracking renames of
> trunk/ and tags/ in history. I.e. you give a svn dir for trunk and tags
> and git-svnimport is able to know when you have done a tags... This is
> good, but you should remember that the whole ocaml repository layout has
> changed at a certain time (i.e something like packages/toto/{trunk|tags}
> to trunk/packages/toto/trunk and tags/packages/toto). This is the point
> where we will loose history!

Not really, at worst we will loose tag information. With loosing history
I mean loosing track of when a given commit happened and what it has
changed. In Debian we are rather lucky from the point of view of
tagging, since the archive (together with snapshot.d.n) already gives as
all the tag information we need.

So OK, it would be better not to loose tagging information, but it is
not such a big deal. I would be rather happy to retain all the tagging
information since when we have changed the repository structure (also
consider that it happened several years ago, so, at worst, we are going
to loose tags which are really old).

> If we go the git way, i suggest to have some kind one git repository
> (do we call this repository?) per package and some kind of repository
> that list all other repository (that is what i do with /layout/ in
> SVN, if you check it out, you get all packages, without branches). 
> 
> This way you can work either on subset or on the entire set of OCaml
> packages.

Yes, but as I've mentioned before, there is a git-specific way of doing
this, without the need of a hand-made script.

> Maybe, you can get a svn dump file (svnadmin dump...) and the filter
> it (svndumpfilter). This way it should be easy to remove all old
> tarballs...

This is an interesting suggestion indeed. I'll look into it.

Cheers.

-- 
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

Attachment: signature.asc
Description: Digital signature


Reply to: