[p4] Remote P4 mirror?

Kendall Bennett KendallB at scitechsoft.com
Fri Jul 21 13:23:16 PDT 2000


Hi Guys,

We now have our new Perforce server up and running on our Linux box, 
so thanks for all your help!

The next step is to figure out how to build a read-only mirror server 
for our Open Source projects that would be hosted on our high 
bandwidth web site. What I want is something that will allow people 
to check out the latest changes from the Perforce repository, but the 
changes would be served from the high bandwidth mirror server and not 
our local server which is on a much slower connection.

So far I figured there are a few ways this could work:

 1. A remote depot if Perforce had support for 'caching' from the 
remote depot. I know they don't have this, but it would certainly be 
nice (I also don't know how easy/difficult this would be for them to 
implement).

 2. A completely separate public depot, and some kind of cron job 
that would regularly sync to the private depot and pull down all the 
latest changes. These changes would then be submitted into the public 
depot, ready to be server to all the anonymous connections. One 
complexity here would be correct handling of public labels for stable 
release builds, so that users can sync up to the latest stable 
release build as necessary.

 3. Some kind of mirror of the local Perforce server for ready only 
access on the public machine? This might be complicated since the 
client database stuff would be all screwed up if you simply mirrored 
all the files.

Are there any other ways that I have not thought of? Has anyone does 
anything similar to this so far? Any good suggestions!?

Regards,

+---------------------------------------------------------------+
|   SciTech Software - Building Truly Plug'n'Play Software!     |
+---------------------------------------------------------------+
| Kendall Bennett          | Email: KendallB at scitechsoft.com    |
| Director of Engineering  | Phone: (530) 894 8400              |
| SciTech Software, Inc.   | Fax  : (530) 894 9069              |
| 505 Wall Street          | ftp  : ftp.scitechsoft.com         |
| Chico, CA 95928, USA     | www  : http://www.scitechsoft.com  |
+---------------------------------------------------------------+




More information about the perforce-user mailing list