ITK/Git/Dashboard: Difference between revisions

From KitwarePublic
< ITK‎ | Git
Jump to navigationJump to search
(Add the historical label after Change-Id I5b79451da962c95614c65e09679bc8b5c12b6dea was merged)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{ Historical }}
__NOTOC__
__NOTOC__


Line 16: Line 18:
:<code>$ cd ~/Dashboards/ITKScripts</code>
:<code>$ cd ~/Dashboards/ITKScripts</code>
:<code>$ git init</code>
:<code>$ git init</code>
:<code>$ git remote add -t dashboard origin git://itk.org/ITK.git</code>
:<code>$ git remote add -t dashboard origin http://itk.org/ITK.git</code>
:<code>$ git pull origin</code>
:<code>$ git pull origin</code>
|-
|-
|
|
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.
 
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 27: Line 30:
|}
|}


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 39: Line 42:
  $ 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.

Latest revision as of 14:53, 6 October 2017


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