ITK/Git/Dashboard: Difference between revisions

From KitwarePublic
< ITK‎ | Git
Jump to navigationJump to search
Line 21: Line 21:
|
|
The <code>itkmodular_common.cmake</code> script contains setup instructions in its top comments.
The <code>itkmodular_common.cmake</code> script contains setup instructions in its top comments.
For more examples, go to [http://public.kitware.com/dashboard.php?name=itk the dashboard], click the ''Advanced View'' link, then click on the icon that looks like a page next to a ''Build Name''.
Update the '''dashboard''' branch to get the latest version of this script by simply running
Update the '''dashboard''' branch to get the latest version of this script by simply running
|-
|-

Revision as of 05:53, 27 April 2012


This page documents how to use the ITK dashboard branch in Git. See our table of contents for more information.

Using the dashboard scripts

The dashboard branch contains a dashboard client helper script. Use these commands to track it:

$ mkdir -p ~/Dashboards/ITKScripts
$ cd ~/Dashboards/ITKScripts
$ git init
$ git remote add -t dashboard origin git://itk.org/ITK.git
$ git pull origin

The itkmodular_common.cmake script contains setup instructions in its top comments. For more examples, go to the dashboard, click the Advanced View link, then click on the icon that looks like a page next to a Build Name.

Update the dashboard branch to get the latest version of this script by simply running

$ git pull origin

Here is a link to the script as it appears today, mid-April 2012: itk_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 David Cole.