[ http://jira.codehaus.org/browse/SCM-113?page=comments#action_53417 ]
Neil Padgen commented on SCM-113: --------------------------------- I can see the advantages of both persistent and transient clientspecs. I would expect the persistent clientspec to be used more often than the transient clientspec - Continuum will be building things every hour, while modules will be released probably not much more than once a day. You should almost definitely use the "Description" field of a clientspec to describe the purpose of the client. Name: client Root: /path/to/root Description: Created by maven-scm-provider-perforce for maven-release-plugin View: //depot/project/... //client/... Then it's easy to do "p4 clients |grep 'maven-scm-provider-perforce.*maven-release-plugin' " to identify which ones ought to be deleted. As for your "hint", could you create a property "maven.scm.perforce.transient-clientspec" to true or false? > Support persistent and transient clientspecs > -------------------------------------------- > > Key: SCM-113 > URL: http://jira.codehaus.org/browse/SCM-113 > Project: Maven SCM > Type: New Feature > Components: maven-scm-provider-perforce > Versions: 1.0-beta-3 > Reporter: mike perham > Fix For: 1.0-beta-3 > > > Continuum needs a persistent clientspec because it needs to update a > project's source code and build it once an hour. On larger projects a > complete resync might take 10-20 minutes so it is necessary to keep a > clientspec around for that Continuum project build so syncs only take a few > seconds. > However, the Maven Release plugin may need to be used by tens or even > hundreds of developers to release any number of small modules. Currently > this would mean lots of clientspecs being created for the release checkout > which are reused very infrequently. Here I would prefer to create the > clientspec, do the checkout, build and then delete the clientspec. This is > what I term a transient clientspec. > The Perforce plugin would need to default to one mode and support some sort > of hint which tells it which mode to operate in. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
