Difference between revisions of "Documentation/Nightly/Developers/Tutorials/BuildTestPackageDistributeExtensions"

From Slicer Wiki
Jump to: navigation, search
Line 9: Line 9:
  
 
==Contribute an extension description file ==
 
==Contribute an extension description file ==
[https://github.com/Slicer/ExtensionsIndex#contributing See instructions on github]
+
* [https://github.com/Slicer/ExtensionsIndex#contributing See instructions on github]
 +
* Consider also reading [https://github.com/Slicer/ExtensionsIndex/wiki/Extension-description-file Extension description file format]
  
 
=Requesting an extension version update=
 
=Requesting an extension version update=

Revision as of 19:29, 16 October 2012

Home < Documentation < Nightly < Developers < Tutorials < BuildTestPackageDistributeExtensions

Create a new extension and adding it to the extension index

See instructions on github

Obtain an API key to submit on the extension server

See instructions on github

Upload an extension in the experimental folder

See instructions on github

Contribute an extension description file

Requesting an extension version update

Note this procedure is still under discussion.

  • Update the master branch of both your local clone and your online ExtensionsIndex fork
git add upstream git://github.com/Slicer/ExtensionsIndex   # Add reference to the authoritative ExtensionsIndex
git fetch upstream                                         # Fetch change of the authoritative ExtensionsIndex
git checkout master                                        # Checkout master
git reset --hard upstream/master                           # Reset your local master branch using the authoritative master 
git push origin master                                     # Update the master branch of your online fork
  • Create a branch named update-<YourExtensionName> in the clone of your forked ExtensionsIndex
  • Regenerate the <YourExtensionName>.s4ext file by configuring your extension with CMake
  • Commit the <YourExtensionName>.s4ext file to your cloned ExtensionIndex repository (provide a meaningful commit comment)
  • Push modifications to your ExtensionIndex fork on github
  • Submit a pull request to https://github.com/Slicer/ExtensionsIndex (provide a meaningful commit comment)