1 Nov 2002 22:12
[arch-users] cvs2larch
Karel Gardas <arch-users <at> lists.fifthvision.net>
2002-11-01 21:12:18 GMT
2002-11-01 21:12:18 GMT
On Fri, 1 Nov 2002, Walter Landry wrote:
> Greetings,
>
> I noticed on the ArchDownload page that "RedHog" has posted a link to
> something that converts CVS repositories to Arch. Has anyone used it?
> I'm thinking of incorporating it into the main distribution. I
> emailed the author a few days ago, asking if there is a public
> archive, but I haven't heard anything.
I've tried to use it yesterday w/o much success. I.e. it seems that it's
running, but it produces a lot of empty patches... The reason seems to be
bug in CVS or something like that, because cvs2arch uses cvs up -D <date>
<time> feature and my CVS seems to doesn't like <time> - or it doesn't do
anything with <time>....
I've reported this problem to the author, but w/o answer yet.
Now, I'm looking at cvsps tools which produces patchset list from CVS log
file. Maybe I'll use it to write something like cvs2arch... Anyway, if
you'll try it, use the latest cvsps 1.3.3 version. For me 1.3.2 has some
bugs and so doesn't recognize some patchsets as one, but list it as two
independent commits...
Example of patchset looks:
PatchSet 185
Date: 1997/05/06 13:54:15
Author: puder
Log:
Initial support for IDL-enum. Marshalling code and TypeCode for
generated enums are still missing.
Members:
MANIFEST:1.21->1.22
idl/codegen-c++.cc:1.17->1.18
idl/codegen-c++.h:1.13->1.14
idl/codegen.cc:1.4->1.5
idl/codegen.h:1.7->1.8
idl/idlparser.cc:1.12->1.13
idl/idlparser.h:1.8->1.9
idl/parsenode.cc:1.7->1.8
idl/parsenode.h:1.9->1.10
idl/yacc.y:1.7->1.8
include/mico/ir.h:1.12->1.13
ir/ir.cc:1.13->1.14
test/idl/Makefile:1.7->1.8
As I see it now, the more better approach will be to use this tool for
patchset generation and then some script to update necessary file to exact
version with -r CVS option instead of depend on -D option...
Cheers,
Karel
--
Karel Gardas kgardas <at> objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com
RSS Feed