[Insight-developers] How to prepare ITKv4 XML Migration Guide pages
Luis Ibanez
luis.ibanez at kitware.com
Sun May 29 09:43:30 EDT 2011
Hi Jim,
Following up on the discussion during the tcon,
Here is the method for generating entries for the
ITKv4 Migration Guide:
http://ij.itk.org/itkfaq/
1) Prepare Gerrit patches as usual.
2) Review them, get them approved.
3) Once approved, (and before merging them)
on the git branch that contains the patch,
run the python script:
.Documentation/Migration/InitializeXMLGuide.py
It will ask you for a unique name to be used
for the generated XML file.
Please be generous with the name length and
specificity because we probably will end up
with hundreds of these files.
For example,
a good name for your changes could be:
StatisticsFrameworkResolveDecisionRulesDuplicates.xml
4) The python script will put the resulting XML file
in the directory:
./Documentation/Migration/
at that point, you can edit it to document the details
of the change.
You may want to pay particular attention at the sections
A) Description
B) Sample Code
Section (B) is what future applications developers
would want to see as the instructions on how to modify
the ITK 3.x-based code, to use ITKv4.
5) Once you are satisfied with the descriptions,
add this file to your branch,
(git add, git commit --amend)
and merge the approved branch
with the usual command
git gerrit-merge
At that point, behind the scenes a Git hook
will capture the XML file and will submit it to
the ITK Migration Guide system online.
http://ij.itk.org/itkfaq/
If needed, you can do further edits to the
online page as well.
---------------------
More details about this process
are available in the Wiki:
http://itk.org/Wiki/ITK_Release_4/What_Developers_Must_Do_To_Contribute_to_the_Users_Migration_Guide
http://itk.org/Wiki/ITK_Release_4/Users_Migration_Guide
http://itk.org/Wiki/ITK_Release_4/MigrationGuideDeveloperTutorial
Luis
More information about the Insight-developers
mailing list