savannah-hackers-public
[Top][All Lists]
Advanced

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

[Savannah-hackers-public] Re: Git on savannah


From: Jim Meyering
Subject: [Savannah-hackers-public] Re: Git on savannah
Date: Sat, 12 May 2007 14:30:39 +0200

Simon Josefsson <address@hidden> wrote:
...
> I guess I should explain better.  I'm not certain this is the best way
> to have things work, but it is at least what I'd prefer:
>
> I want to move GnuTLS, which is maintained in CVS on cvs.gnupg.org right
> now (i.e., not on savannah) to a local git repository on my laptop,

Start off by constructing a list of username->name,email pairs, e.g.,

  jas=Simon Josefsson <address@hidden>

for each distinct username of a committer in your CVS repository.
Look in rlog output.  Save that list in a file named, say, umap.

Now get and install cvsps, a tool that git-cvsimport relies on:
http://ydirson.free.fr/en/software/scm/cvsps.html

Then run the following (assuming $cvs_repo is the REPO you'd use in a
command like "cvs -d REPO co gnutls").  Of course, it's best if that's
a local directory (remote will take much longer):

HOME=$PWD git-cvsimport \
  -A umap               \
  -d $cvs_repo          \
  -v -C gnutls.git      \
  gnutls

Depending on how many deltas there are, that command can take many hours.
Locally, it took me something like 6-8 hours to convert emacs' repository
on a 2GHz CPU with 2GB of RAM.

Then you can put your gnutls.git where your git server expects it,
or just clone from it, directly.

> which I push to my server (josefsson.org), from which savannah and
> repo.or.cz and others mirror it.

Don't worry about others mirroring it.
When you push, you can simply push to two more repositories.
That mirrors your repository.

> It is important that CVS read-only access still works.

I think setting up git-cvsserver for anonymous pserver-only
access is the way to go.

> I don't know what access method is the best to use on josefsson.org.
> Ssh seems complicated for anonymous (or?), so I suppose git's own
> protocol or rsync is the way to go?

If you want to let others git-clone/pull from josefsson.org as well as
from savannah, set up a git server there.  But why bother?  as a backup,
in case savannah is down?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]