VTK/Git/Dashboard: Difference between revisions

From KitwarePublic
< VTK‎ | Git
Jump to navigationJump to search
(Created page with "__NOTOC__ This page documents how to use the VTK '''dashboard''' branch in [http://git-scm.com Git]. See our table of contents for more information. ==Using the das...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
__NOTOC__
The instructions previously available on this page have been superseded. See [https://gitlab.kitware.com/vtk/vtk/blob/master/Documentation/dev/git/README.md here].
 
This page documents how to use the VTK '''dashboard''' branch in [http://git-scm.com Git].
See our [[VTK/Git|table of contents]] for more information.
 
==Using the dashboard scripts==
 
{| style="width: 100%" cellspacing="0" cellpadding="0"
|-
|width=60%|
The [[VTK/Git#Branches| dashboard]] branch contains a dashboard client helper script.
Use these commands to track it:
|-
|
:<code>$ mkdir -p ~/Dashboards/VTKScripts</code>
:<code>$ cd ~/Dashboards/VTKScripts</code>
:<code>$ git init</code>
:<code>$ git remote add -t dashboard origin git://vtk.org/VTK.git</code>
:<code>$ git pull origin</code>
|-
|
The <code>vtk_common.cmake</code> script contains setup instructions in its top comments.
 
Update the '''dashboard''' branch to get the latest version of this script by simply running
|-
|
:<code>$ git pull</code>
|}
 
Here is a link to the script as it appears today: [http://vtk.org/gitweb?p=VTK.git;a=blob;f=vtk_common.cmake;hb=dashboard vtk_common.cmake]
 
==Making changes to the dashboard scripts==
 
If you find bugs in the hooks themselves or would like to add new features, the can be edited in the usual Git manner.
 
$ git checkout -b my_topic_branch
 
Make your edits, test it, and commit the result.  Create a patch file with:
 
$ git format-patch origin/dashboard
 
And email the results to the developer's mailing list and Brad King.

Latest revision as of 20:40, 16 March 2015

The instructions previously available on this page have been superseded. See here.