[p4] cvs2p4 - Newbie question
David Alban
dalban at stubhub.com
Tue Dec 19 09:47:41 PST 2006
Perhaps someone else will supply the cvs commands (I don't know them), but there are other things you could do.
On the system level (assuming unix), perhaps you could temporarily remove everyone from the cvs group in /etc/group on the server? Or shut down the server to single user mode and take a snapshot of the repository. But you'd still have issues with folks wanting to modify the repository after going multiuser again. Maybe the cvs group removal should be permanent?
A little more severe, but you could change the group of cvsroot to be a new group of folks who could be trusted not to modify the repository. Perhaps admins? Then give that directory rwxr-x--- perms, so no one outside of root and members of the new group could even descend into the repository.
[sent 2006-12-19 09:47 PST]
--
David Alban <dalban at stubhub.com>
Release Engineering Tools
http://StubHub.com/
-----Original Message-----
From: perforce-user-bounces at perforce.com [mailto:perforce-user-bounces at perforce.com] On Behalf Of Betsill, Marilyn
Sent: Tuesday, December 19, 2006 6:20 AM
To: Niggemyer, K. Brant; perforce-user at perforce.com
Subject: Re: [p4] cvs2p4 - Newbie question
We are planning to migrate only the tip of our cvs repository to Perforce. Is there a cvs command that will lock-out check-ins to portions of the repository?
Thanks,
Marilyn
-----Original Message-----
From: perforce-user-bounces at perforce.com [mailto:perforce-user-bounces at perforce.com] On Behalf Of Niggemyer, K. Brant
Sent: Monday, December 18, 2006 3:39 PM
To: perforce-user at perforce.com
Subject: Re: [p4] cvs2p4 - Newbie question
Yep. On every CVS -> Perforce conversion project I've worked on after weighing everything we ultimately decided to just import the tip from CVS, keeping this old CVS archive around for "reference".
-----Original Message-----
From: perforce-user-bounces at perforce.com [mailto:perforce-user-bounces at perforce.com] On Behalf Of David Alban
Sent: Monday, December 18, 2006 11:58 AM
To: perforce-user at perforce.com
Subject: Re: [p4] cvs2p4 - Newbie question
One of the nice perforce folks pointed out to me recently, if it's not necessary to transfer/convert/maintain the revision history *in perforce*, don't bother with cvs2p4. Just add your files to perforce.
Besides, unless your cvs repository literally is going away (as opposed to just not being used for active development at some point), you can always go back and "consult" a static cvs repository for history.
[sent at 2006-12-18 08:57 PST]
--
David Alban <dalban at stubhub.com>
Release Engineering Tools
http://StubHub.com/
-----Original Message-----
From: perforce-user-bounces at perforce.com [mailto:perforce-user-bounces at perforce.com] On Behalf Of Ildefonzo Arocha
Sent: Monday, December 18, 2006 5:10 AM
To: perforce-user at perforce.com
Subject: [p4] cvs2p4 - Newbie question
Hello,
I am in the process of testing Perforce for our company. I have downloaded the evaluation version for Linux 2.4 kernel.
One critical factor on the decision over Perforce is its possibility to convert our existing CVS repository, I am testing with cvs2p4 with no luck :(
When I try to run test/runtest I get the following error:
===== Lines referenced:
OneDB
Release_4_02_05
Release_4_03_01
Release_5_01_01
branch_Globopharm
cvs
shemp
warp
runtest> diff /iar/cvs2p4/cvs2p4-3.0b6/test/lines.good
runtest> /iar/cvs2p4/cvs2p4-
3.0b6/test_conv_dir/lines
2,8c2,7
< cabesa
< chupa
< curly
< curly2
< curly3
< ha
< larry
---
> OneDB
> Release_4_02_05
> Release_4_03_01
> Release_5_01_01
> branch_Globopharm
> cvs
10,12c9
< vtag
< xxx
< yyy
---
> warp
runtest: *** "diff /iar/cvs2p4/cvs2p4-3.0b6/test/lines.good
/iar/cvs2p4/cvs2p4-3.0b6/test_conv_dir/lines" exited with signal 0 status 1
runtest: *** genmetadata bad results
runtest> rm -f /iar/cvs2p4/cvs2p4-3.0b6/test/,v rm -f
runtest> /iar/cvs2p4/cvs2p4-3.0b6/test/xy,v
runtest> rm -f /iar/cvs2p4/cvs2p4-3.0b6/test/baÿÔdab,v
Whatever that means???!! I find no documentation about what this error is about, or how to get around it.
I ignored the error and tried a conversion, then I get the following error:
===== Lines referenced:
OneDB
Release_4_02_05
Release_4_03_01
Release_5_01_01
branch_Globopharm
cvs
shemp
warp
========== genchanges
Mon Dez 18 13:11:02 CET 2006
========== dochanges
Mon Dez 18 13:11:08 CET 2006
dochanges: cannot recognize p4d version in:
*** dochanges FAILED
Not been a Perl programmer I was able to track down where the error is printed out to "p4d_vers" in "lib/util.pl"
sub p4d_vers
{
my ($P4D) = @_;
my $v = `$P4D -V`;
my ($y, $r) = ($v =~ m/\nRev. P4D\/[^\/]+\/(\d+)\.(\d+).*\//);
if (! $v || ! $r)
{ print "$Myname: cannot recognize p4d version in:\n$v\n"; exit 1; }
return ($y, $r);
}
p4d and p4 are in my $PATH, I am working as root, and pfd -V outputs:
Perforce - The Fast Software Configuration Management System.
Copyright 1995-2006 Perforce Software. All rights reserved.
Portions copyright 1991-2005 Compuware Corporation.
Rev. P4D/LINUX24X86/2006.1/109255 (2006/10/17).
License: none
So something is not getting correctly parsed, don't know where, and don't know if I should even modify this file.
Can anyone help me here? I have one week for testing a whole bunch of stuff and convincing the management why Perforce is a must.
I am no Linux expert and have no experience with Perforce, so please be gentle with the answers!
Red Hat Linux, Kernel 2.4
Perforce 2006.1
Thanks in advance,
Ildefonzo
_______________________________________________
perforce-user mailing list - perforce-user at perforce.com http://maillist.perforce.com/mailman/listinfo/perforce-user
_______________________________________________
perforce-user mailing list - perforce-user at perforce.com http://maillist.perforce.com/mailman/listinfo/perforce-user
_______________________________________________
perforce-user mailing list - perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user
_______________________________________________
perforce-user mailing list - perforce-user at perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user
More information about the perforce-user
mailing list