ITK/Git/Dashboard: Difference between revisions

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


This page documents how to use the ITK '''dashboard''' branch in [http://git-scm.com Git].
This page documents how to use the ITK '''dashboard''' branch in [http://git-scm.com Git].
See our [[ITK/Git|table of contents]] for more information.
See our [[ITK/Git|table of contents]] for more information.
==Using the dashboard scripts==


{| style="width: 100%" cellspacing="0" cellpadding="0"
{| style="width: 100%" cellspacing="0" cellpadding="0"
Line 14: 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 25: Line 30:
|}
|}


Here is a link to the script as it appears today, mid-April 2011: [http://itk.org/gitweb?p=ITK.git;a=blob;f=itkmodular_common.cmake;hb=63611ebb itkmodular_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==
 
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.

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.