[Dart] Perforce

Mike Talbot mtalbot at abingdon.oilfield.slb.com
Thu Jun 7 10:14:18 EDT 2007


Dan,

We aren't using either in production yet, but I've been trying out 
Dart2.  We have a perforce web interface, so it shouldn't be a big deal 
to construct a URL to point to a given file & version.

The main trouble I've had has been with the different version schemes 
between cvs & perforce.  Perforce uses a change list number to describe 
a set of changes and is also used as version number for the state of the 
whole repository (similar to subversion I think).  In addition each file 
has a revision number (e.g. //Depot/File.cpp#7) although you can also 
use a change list number to specify the version of a file (e.g. 
//Depot/File.cpp at 64286).

The changes I put into ctest have basically followed the subversion 
pattern, using perforce change lists for the version of files & changes 
and ignored the file versions.  What would be really nice though is to 
have the change list number listed next to the build time stamp - 
developers can then know if they sync to this version they'll get a good 
build (or not).  Not sure how to get this information across though.

There is a free download of perforce, limited to 2 users, but with no 
time limit at http://www.perforce.com/perforce/evaldemo.html

Regards,
Mike

Blezek, Daniel J (GE, Research) wrote:
> Mike, Brandon,
>
>   Do you guys use the TCL based Dart, or the new Java Dart2?
>
>   I'm guessing you mean having Dart point to web based repository
> browsers when you say "get dart to interface with perforce in the way it
> does with cvs"?  Is there such a system?  Dart generally will display a
> URL that it constructs from some base name in Project.xml and the data
> sent by CTest.  I'd be happy to revamp that part of Dart2 if you can
> provide some pointers on how you'd like it to look.
>
>   BTW: the main reason there is no perforce support is that our internal
> development is based on CVS (for small projects) or ClearCase (for the
> really big ones).  I have no way of developing/testing using perforce.
> Perhaps if we can get things started, I'll see if there is a 30 day demo
> to polish things off.
>
> Regards,
> -dan
>
> -----Original Message-----
> From: dart-bounces+blezek=crd.ge.com at public.kitware.com
> [mailto:dart-bounces+blezek=crd.ge.com at public.kitware.com] On Behalf Of
> Mike Talbot
> Sent: Thursday, June 07, 2007 4:04 AM
> To: Brandon Van Every
> Cc: dart at public.kitware.com
> Subject: Re: [Dart] Perforce
>
> I am very interested in this as we have a number of large projects that
> use cmake+perforce.  I have had some success with hacking in support for
> perforce in ctest, which can now sync files from perforce, build &
> submit a useful update log.  These logs get displayed ok in dart, but I
> haven't yet looked into what it would take to get dart to interface with
> perforce in the way it does with cvs.
>
> Regards,
> Mike
>
> Brandon Van Every wrote:
>   
>> Has anyone used Perforce with any version of Dart for enterprise 
>> development?  That is to say, large projects.
>>
>> Motive: when I try to pitch a potential client or employer on CMake, 
>> and I mention Dart, they ask, "Does it work with Perforce?"  I'm less 
>> interested in whether official Perforce support is planned, as I'm 
>> sure you're all very busy.  I'm more interested in whether anyone has 
>> had success in using Perforce via their own methods, such as 
>> EXECUTE_PROCESS in a ctest script.
>>
>>
>> Cheers,
>> Brandon Van Every
>> _______________________________________________
>> Dart mailing list
>> Dart at public.kitware.com
>> http://public.kitware.com/mailman/listinfo/dart
>>
>>     
> --
> Mike Talbot
> Core Petrel Architect (Abingdon)
> Schlumberger
> Lambourn Court, Wyndyke Furlong,
> Abingdon Business Park, Abingdon,
> Oxfordshire, OX14 1UJ, UK
> Office: +44 (0)1235 543 488
> Mobile: +44 (0)7790 382 746
>
> _______________________________________________
> Dart mailing list
> Dart at public.kitware.com
> http://public.kitware.com/mailman/listinfo/dart
>
>   


-- 
Mike Talbot
Core Petrel Architect (Abingdon)
Schlumberger
Lambourn Court, Wyndyke Furlong,
Abingdon Business Park, Abingdon,
Oxfordshire, OX14 1UJ, UK
Office: +44 (0)1235 543 488
Mobile: +44 (0)7790 382 746

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/dart/attachments/20070607/4f94bba7/attachment.htm


More information about the Dart mailing list