ITK/Git/Dashboard: Difference between revisions

From KitwarePublic
< ITK‎ | Git
Jump to navigationJump to search
No edit summary
Line 20: Line 20:
|-
|-
|
|
The <code>itkmodular_common.cmake</code> script contains setup instructions in its top comments.
The <code>itk_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
Line 29: Line 28:
|}
|}


Here is a link to the script as it appears today, mid-April 2012: [http://itk.org/gitweb?p=ITK.git;a=blob;f=itk_common.cmake;h=471313a2455f1e2120ffa16118a96f2cefb6a325;hb=dashboard itk_common.cmake]
Here is a link to the script as it appears today: [http://itk.org/gitweb?p=ITK.git;a=blob;f=itk_common.cmake;hb=dashboard itk_common.cmake]


==Making changes to the dashboard scripts==
==Making changes to the dashboard scripts==
Line 41: Line 40:
  $ git format-patch origin/dashboard
  $ git format-patch origin/dashboard


And email the results to the developer's mailing list and David Cole.
And email the results to the developer's mailing list.

Revision as of 18:04, 20 May 2013


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 itk_common.cmake script contains setup instructions in its top comments.

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: 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.