[p4] Perforce archive process

Robert McKenna robertm at bioware.com
Fri Nov 9 12:32:28 PST 2007


You might try using inclusive mapping on the active projects in the
protect table and ignore the inactive ones. It would be an improvement
if there are fewer active than inactive projects.

write group users * //depot/productb/... 

Rob McKenna

-----Original Message-----
From: perforce-user-bounces at perforce.com
[mailto:perforce-user-bounces at perforce.com] On Behalf Of Monica Sanchez
Sent: Friday, November 09, 2007 12:58 PM
To: perforce-user at perforce.com
Subject: [p4] Perforce archive process


Hello,

 

I'm trying to clean our main depot, it just too big and has a lot of
projects that are not active anymore. I'll like to hide these projects.

What is the best way to do it?

 

I tried using the protect table to hide these projects, but the perforce
server had some performance problems; the problems were away as soon as
I removed the rules to hide the projects. I was using something like:

 

            list user * * -//depot/productA/1.1/...

            list user * * -//depot/productA/1.1GER/...

            list user * * -//depot/productA/1.1patch1/...

            list user * * -//depot/productA/1.1patch2/...

            list user * * -//depot/productA/2.0/...

            list user * * -//depot/productA/3.0/...

 

Another way will be to create another depot just to archive the old
projects, but this is no something easy that can be done and undone
frequently, and the first time will be easy (copy depot to another depot
and remove all the directories I want to keep on the public depot), but
what is the best way to do it the second time just for one project?, how
can I archive just one directory?, I don't want to have a depot for each
project I want to archive....

 

I want to archive but to have an easy and fast way to restore it to the
users. What is the best way to do? 

Thanks,

Monica

 

_______________________________________________
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