1 message in com.perforce.perforce-user[p4] Using changelists instead of lab...
FromSent OnAttachments
Fawad Khan21 Jan 2005 10:41 
Subject:[p4] Using changelists instead of labels for nightly builds
From:Fawad Khan (Fawa@AirgoNetworks.Com)
Date:01/21/2005 10:41:57 AM
List:com.perforce.perforce-user

We are doing multiple automated builds on multiple branches everyday.

Every build that happens we create a label and do labelsync for the records.

Due to this we have huge number of labels, more than 3K, and because of that

our db files are huge. We do purge the labels once in a while but since it puts a lot of strain on the server when trying to delete labels we do that once in a while

I have been told that one can achieve the same goal of record keeping with

changelists. But, not sure how to go about implementing this in our environment.

My reasons for creating labels are as follows:

* All our build scripts create a label and then sync to that label in order to avoid a situation where checkins are coming in while I am doing a sync for an official build.

* Report changes in every build that happened since the last label

* Be able to sync to that label on a later date and recreate the same build if needed.

* Uniquely identify every build.

I wanted to find out other folks are using this on a daily basis and see if we can use the same strategy before.

Thanks,

Fawad