git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* What to do if git-cvsimport/cvsps hangs?
@ 2007-12-12  9:30 Florian Weimer
  2007-12-12 15:54 ` Andreas Ericsson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Florian Weimer @ 2007-12-12  9:30 UTC (permalink / raw)
  To: git

This is probably more of a cvsps question than a GIT question, but
AFAICT, the cvsps upstream is mostly inactive these days.

I tried to import the PostgreSQL repository, using

  git-cvsimport  -d :pserver:anoncvs@anoncvs.postgresql.org:/projects/cvsroot -k -C pgsql pgsql

However, after a bit of activity, git-cvsimport hangs at the following
line

  cvs rlog: Logging pgsql/src/win32

strace doesn't show any system call activtiy in the cvsps process
(which consumes 100% CPU).  cvsps is Debian's 2.1-2 version.

Is there some kind of replacement for cvsps which works more reliably?

-- 
Florian Weimer                <fweimer@bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: What to do if git-cvsimport/cvsps hangs?
  2007-12-12  9:30 What to do if git-cvsimport/cvsps hangs? Florian Weimer
@ 2007-12-12 15:54 ` Andreas Ericsson
  2007-12-12 15:58 ` Michael Haggerty
  2007-12-14  1:56 ` Jakub Narebski
  2 siblings, 0 replies; 4+ messages in thread
From: Andreas Ericsson @ 2007-12-12 15:54 UTC (permalink / raw)
  To: Florian Weimer; +Cc: git

Florian Weimer wrote:
> This is probably more of a cvsps question than a GIT question, but
> AFAICT, the cvsps upstream is mostly inactive these days.
> 
> I tried to import the PostgreSQL repository, using
> 
>   git-cvsimport  -d :pserver:anoncvs@anoncvs.postgresql.org:/projects/cvsroot -k -C pgsql pgsql
> 
> However, after a bit of activity, git-cvsimport hangs at the following
> line
> 
>   cvs rlog: Logging pgsql/src/win32
> 
> strace doesn't show any system call activtiy in the cvsps process
> (which consumes 100% CPU).  cvsps is Debian's 2.1-2 version.
> 
> Is there some kind of replacement for cvsps which works more reliably?
> 

I think "git fast-import" has a CVS frontend. I'm not sure though,
so I leave finding out and trying it as an exercise for you ;-)

It requires file access to the CVS repository, afaiu.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: What to do if git-cvsimport/cvsps hangs?
  2007-12-12  9:30 What to do if git-cvsimport/cvsps hangs? Florian Weimer
  2007-12-12 15:54 ` Andreas Ericsson
@ 2007-12-12 15:58 ` Michael Haggerty
  2007-12-14  1:56 ` Jakub Narebski
  2 siblings, 0 replies; 4+ messages in thread
From: Michael Haggerty @ 2007-12-12 15:58 UTC (permalink / raw)
  To: Florian Weimer; +Cc: git

Florian Weimer wrote:
> This is probably more of a cvsps question than a GIT question, but
> AFAICT, the cvsps upstream is mostly inactive these days.
> 
> I tried to import the PostgreSQL repository, using
> 
>   git-cvsimport  -d :pserver:anoncvs@anoncvs.postgresql.org:/projects/cvsroot -k -C pgsql pgsql
> 
> However, after a bit of activity, git-cvsimport hangs at the following
> line [...]
> 
> Is there some kind of replacement for cvsps which works more reliably?

Yes, cvs2svn, which can now also output to git.  But note: cvs2svn only
supports one-time conversions (not incremental), you need to use the
trunk version of cvs2svn, and using it to convert to git is not yet
documented very well.  See the following thread:

http://marc.info/?l=git&m=118592701426175&w=4

Please let us know how it goes!

Michael

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: What to do if git-cvsimport/cvsps hangs?
  2007-12-12  9:30 What to do if git-cvsimport/cvsps hangs? Florian Weimer
  2007-12-12 15:54 ` Andreas Ericsson
  2007-12-12 15:58 ` Michael Haggerty
@ 2007-12-14  1:56 ` Jakub Narebski
  2 siblings, 0 replies; 4+ messages in thread
From: Jakub Narebski @ 2007-12-14  1:56 UTC (permalink / raw)
  To: Florian Weimer; +Cc: git

Florian Weimer <fweimer@bfk.de> writes:

> This is probably more of a cvsps question than a GIT question, but
> AFAICT, the cvsps upstream is mostly inactive these days.
> 
> I tried to import the PostgreSQL repository, using
> 
>   git-cvsimport  -d :pserver:anoncvs@anoncvs.postgresql.org:/projects/cvsroot -k -C pgsql pgsql
> 
> However, after a bit of activity, git-cvsimport hangs at the following
> line
> 
>   cvs rlog: Logging pgsql/src/win32
> 
> strace doesn't show any system call activtiy in the cvsps process
> (which consumes 100% CPU).  cvsps is Debian's 2.1-2 version.
> 
> Is there some kind of replacement for cvsps which works more reliably?

You can try set of patches to cvsps there (see GitLinks at Git Wiki,
or git-cvsimport entry at InterfacesFrontendsAndTools)
  http://ydirson.free.fr/en/software/scm/cvsps.html

Or you can try other CVS importers (see InterfacesForntendsAndTools):
 - parsecvs by Keith Packard, used to import X.Org, seems to be
   unmaintaned, requires access to *,v files (but check out cvssuck)
 - fromcvs by Simon 'corecode' Schubert, uses git-fast-import, 
   IIRC in Ruby
 - cvs2svn has _experimental_ support for git export (git-fast-import?)
   so you can try this as well.

-- 
Jakub Narebski
Poland
ShadeHawk on #git

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-12-14  1:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-12  9:30 What to do if git-cvsimport/cvsps hangs? Florian Weimer
2007-12-12 15:54 ` Andreas Ericsson
2007-12-12 15:58 ` Michael Haggerty
2007-12-14  1:56 ` Jakub Narebski

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