[Dart] Dart without the CVS

Blezek, Daniel J (CRD) blezek at crd.ge.com
Tue, 29 Jan 2002 12:01:58 -0500


John,

  So if I understand what you would like to do:

You make a nightly build/test/submit to Kitware.
You submit to a local machine.
You want to build a dashboard on the local machine, but NightlyDashboardStart is tripping you up.
  - You really want to avoid the second cvs trip to kitware.

There is a hack in the DashboardManager.tcl script to "fake" an update.  Simply add another argument
to this line:

tclsh DashboardManager.tcl LocalConfiguration.tcl NightlyDashboardStart 20020129

The last argument is the date in a YYYYMMDD - year month day format.  This will skip the update step,
and create a fake Update.XML file.

Is this what you had in mind?
-dan



> -----Original Message-----
> From: John Biddiscombe [mailto:jbiddiscombe at skippingmouse.co.uk]
> Sent: Tuesday, January 29, 2002 10:47 AM
> To: dart at public.kitware.com
> Subject: [Dart] Dart without the CVS
> 
> 
> Hi all,
> 
> I'm running a nightly Update/Build/Test/Submit on my vtk tree 
> and all is
> well. Entries are apearing on the kitware dashboards as 
> expected and hats
> off to all concerned, it's quite tidy.
> 
> After doing the Nightly cycle, I also want to create a 
> dashboard of my own
> here on my machine. So I've created a LocalConfiguration.tcl 
> instead of
> DartConfiguration.tcl with the server dropsite and 
> triggersites changed to
> my ftp server and http server here on the lan at home. All is 
> well, after
> doing the submit, running an extra
> DashboardManager.tcl LocalConfiguration.tcl
> the same vtk dashboard results get sent off to my machine and 
> all is going
> well.
> 
> I also need to do a DashboardManager.tcl Nightly 
> DashboardStart and End to
> open and close the dashboard and create the html. This does 
> work, but it
> insists on doing a cvs checkout which frankly I don't want. I've tried
> fudging the cvs values so that it won't but because it keeps 
> using my local
> vtk (cmake) build tree (too damn clever by half) it extracts the cvs
> parameters and goes about its business.
> 
> Two questions :
> One : can I stop it doing a cvs update (without having a second build
> tree) - The Nightly tests are being run on the same machine 
> as the server,
> so it's submitting to itself and hence it seems I need two 
> cvs trees and two
> updates! sigh (This is bad because I only have a modem 
> connection). (The
> first tree needs all the correct kitware trigger sites etc, 
> the second would
> want spoofed values for the local ftp and http - instead of my
> localconfiguration.tcl file)
> 
> Two : Is there any way of turning on all the  at echo commands 
> so that I can
> see what DashboardManager is doing and work out where to look 
> for things.
> 
> What I'm really tring to say is...
> All the XML files appear fine. The trigger copies them fine. 
> How do I turn
> the XML into html without the DashboardStart and DashboardEnd 
> going off into
> their own world. Can I just run Xalan from the command line 
> in a batch file?
> 
> thanks and apologies if none of the above makes much sense as 
> I'm really jus
> t playing with stuff.
> 
> JB
> 
> 
> _______________________________________________
> Dart mailing list
> Dart at public.kitware.com
> http://public.kitware.com/mailman/listinfo/dart
>