[gnutls-dev] HAEDS UP: Moving away from CVS

Simon Josefsson simon at josefsson.org
Tue Feb 27 10:46:09 CET 2007


"Dmitry V. Levin" <ldv at altlinux.org> writes:

> On Fri, Feb 23, 2007 at 01:35:03PM +0100, Simon Josefsson wrote:
>> I'm considering moving away from CVS, mainly because of branch
>> handling and offline repository support.  Officially only 1.6.x and
>> 1.7.x are supported, but I suspect that I would have to release
>> patches for at least 1.4.x and 1.2.x too, and perhaps even 1.0.x, when
>> a security problem is discovered.  Offline repositories allows me and
>> others to work with full VC history available when I don't have
>> connectivity.
>> 
>> My main candidate is git, but I'm considering other tools too.  I need
>> to learn git a bit more before deciding, but right now, it seems to be
>> the most promising choice.
>
> Choosing git would be most comfortable choice for ALT since we also use
> git, see e.g.
> http://git.altlinux.org/people/thresh/packages/?p=gnutls.git

Ok, nice!

I thought that trying things out is the best way to learn.  So I have
started with libtasn1, and did this (paths slightly altered):

$ rsync --delete -e ssh -av cvs.gnupg.org:/cvs/gnutls/ tmp
$ cat<<EOF > /tmp/foo
wkoch:Werner Koch <wk at gnupg.org>
nmav:Nikos Mavrogiannopoulos <nmav at gnutls.org>
fiorinaf:Fabio Fiorina <fiorinaf at gnutls.org>
twoaday:Timo Schulz <twoaday at gnutls.org>
admcd:Andrew McDonald <admcd at gnutls.org>
jas:Simon Josefsson <simon at josefsson.org>
EOF
$ mkdir git
$ git-cvsimport -A /tmp/foo -k -d tmp -C git libtasn1
$ cg-clone libtasn1 ff
defaulting to local storage area
Using hard links
Fetching head...
Fetching objects...
Getting pack 9e406f174c6b3e8a7351986b22d8de9a4dd75562
 which contains 53377078be6f9746db1662ee6e03fe8ce5e5c6d3
progress: 2 objects, 0 bytes
Fetching tags...
Missing tag gnutls_0_5_0...
Missing tag gnutls_0_5_0...
Missing tag gnutls_0_5_1...
Missing tag gnutls_0_5_1...
Missing tag libasn1_0_1_0...
Missing tag libasn1_0_1_0...
Missing tag libtasn1_0_1_2...
Missing tag libtasn1_0_1_2...
Missing tag libtasn1_0_2_0...
Missing tag libtasn1_0_2_0...
Missing tag libtasn1_0_2_1...
Missing tag libtasn1_0_2_1...
Missing tag libtasn1_0_2_10...
Missing tag libtasn1_0_2_10...
Missing tag libtasn1_0_2_11...
Missing tag libtasn1_0_2_11...
Missing tag libtasn1_0_2_12...
Missing tag libtasn1_0_2_12...
Missing tag libtasn1_0_2_13...
Missing tag libtasn1_0_2_13...
Missing tag libtasn1_0_2_14...
Missing tag libtasn1_0_2_14...
Missing tag libtasn1_0_2_15...
Missing tag libtasn1_0_2_15...
Missing tag libtasn1_0_2_16...
Missing tag libtasn1_0_2_16...
Missing tag libtasn1_0_2_17...
Missing tag libtasn1_0_2_17...
Missing tag libtasn1_0_2_18...
Missing tag libtasn1_0_2_18...
Missing tag libtasn1_0_2_2...
Missing tag libtasn1_0_2_2...
Missing tag libtasn1_0_2_3...
Missing tag libtasn1_0_2_3...
Missing tag libtasn1_0_2_4...
Missing tag libtasn1_0_2_4...
Missing tag libtasn1_0_2_5...
Missing tag libtasn1_0_2_5...
Missing tag libtasn1_0_2_6...
Missing tag libtasn1_0_2_6...
Missing tag libtasn1_0_2_7...
Missing tag libtasn1_0_2_7...
Missing tag libtasn1_0_2_8...
Missing tag libtasn1_0_2_8...
Missing tag libtasn1_0_2_9...
Missing tag libtasn1_0_2_9...
Missing tag libtasn1_0_3_0...
Missing tag libtasn1_0_3_0...
Missing tag libtasn1_0_3_1...
Missing tag libtasn1_0_3_1...
Missing tag libtasn1_0_3_2...
Missing tag libtasn1_0_3_2...
Missing tag libtasn1-0-3-2...
Missing tag libtasn1-0-3-2...
Missing tag libtasn1_0_3_3...
Missing tag libtasn1_0_3_3...
Missing tag libtasn1_0_3_4...
Missing tag libtasn1_0_3_4...
Missing tag libtasn1_0_3_5...
Missing tag libtasn1_0_3_5...
Missing tag libtasn1_0_3_6...
Missing tag libtasn1_0_3_6...
Missing tag libtasn1_0_3_7...
Missing tag libtasn1_0_3_7...
Missing tag libtasn1_0_3_8...
Missing tag libtasn1_0_3_8...
Missing tag libtasn1_after_rename...
Missing tag libtasn1_after_rename...
Missing tag start...
Missing tag start...

New branch: 53377078be6f9746db1662ee6e03fe8ce5e5c6d3
Cloned to ff/ (origin /home/jas/self/private-git/libtasn1 available as branch "origin")
$ cd ff
$ cg-branch-add pub git+ssh://repo.or.cz/srv/git/libtasn1.git
$ cg-push pub
The authenticity of host 'repo.or.cz (62.24.64.27)' can't be established.
RSA key fingerprint is 07:7a:5c:6c:39:b3:ac:a9:e5:70:5d:41:ba:a6:37:04.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'repo.or.cz,62.24.64.27' (RSA) to the list of known hosts.
updating 'refs/heads/master'
  from 0000000000000000000000000000000000000000
  to   53377078be6f9746db1662ee6e03fe8ce5e5c6d3
Generating pack...
Done counting 2273 objects.
Deltifying 2273 objects.
 100% (2273/2273) done
Writing 2273 objects.
Unpacking 2273 objects
 100% (2273/2273) done
Total 2273, written 2273 (delta 1558), reused 2261 (delta 1558)
refs/heads/master: 0000000000000000000000000000000000000000 -> 53377078be6f9746db1662ee6e03fe8ce5e5c6d3
$

And something appears on:

http://repo.or.cz/w/libtasn1.git

However, I wonder if I lost all the tags?  Any ideas how to fix that?
I'll see if I can solve this...

/Simon




More information about the Gnutls-devel mailing list