+ All Categories
Home > Documents > Jean-Christophe Fillion-Robin & Julien Finet Kitware Inc. June 20 th 2011.

Jean-Christophe Fillion-Robin & Julien Finet Kitware Inc. June 20 th 2011.

Date post: 27-Mar-2015
Category:
Upload: austin-hagan
View: 213 times
Download: 0 times
Share this document with a friend
Popular Tags:
12
Jean-Christophe Fillion-Robin & Julien Finet Kitware Inc. June 20 th 2011
Transcript
Page 1: Jean-Christophe Fillion-Robin & Julien Finet Kitware Inc. June 20 th 2011.

Jean-Christophe Fillion-Robin & Julien FinetKitware Inc.June 20th 2011

Page 2: Jean-Christophe Fillion-Robin & Julien Finet Kitware Inc. June 20 th 2011.

The landscape

Page 3: Jean-Christophe Fillion-Robin & Julien Finet Kitware Inc. June 20 th 2011.

What is an extension ?

Page 4: Jean-Christophe Fillion-Robin & Julien Finet Kitware Inc. June 20 th 2011.

Life cycle

DownloadUpload

Find_Package(Slicer …)

2

1

3

Page 5: Jean-Christophe Fillion-Robin & Julien Finet Kitware Inc. June 20 th 2011.

Where to start ?

• Slicer source./Extensions/Testing/LoadableModuleTemplate

./Extensions/Testing/ScriptedLoadableModuleTemplate

• Generate your extensionpython ./Scripts/ModuleWizard.py

--template ./Extensions/Testing/LoadableExtensionTemplate --templateKey LoadableExtensionTemplate --target ../MyExtensionSource MyExtension

• Extension description

1

Page 6: Jean-Christophe Fillion-Robin & Julien Finet Kitware Inc. June 20 th 2011.

What is an Extensions Description ?

• Repository / revision (git, svn, local, cvs)

• Dependencies

• Other extensions

• External project

• Homepage

• Category

• Description

• Status

Page 7: Jean-Christophe Fillion-Robin & Julien Finet Kitware Inc. June 20 th 2011.

How do you publish an extension ?

Your extension → CDash

$ make ExperimentalUpload

Grouped under “Extension-Experimental” track

2

Page 8: Jean-Christophe Fillion-Robin & Julien Finet Kitware Inc. June 20 th 2011.

Trusted extension: “Nightlies”

Daily dashboard submission

Extensions are automatically .. – Configured, built and tested

– Packaged and uploaded

– Coverage and dynamic analysis computed

Dashboard easy to setup– Option WITH_EXTENSION = ON

– SlicerDashboardScript.TEMPLATE.cmake

Page 9: Jean-Christophe Fillion-Robin & Julien Finet Kitware Inc. June 20 th 2011.

Your extension → “Nightlies”

Talk to the gatekeeper

Check-in your extension description– Slicer/Extensions/YourExtension.s4ext

Page 10: Jean-Christophe Fillion-Robin & Julien Finet Kitware Inc. June 20 th 2011.

How do you install an extension ? (1/2)3

Page 11: Jean-Christophe Fillion-Robin & Julien Finet Kitware Inc. June 20 th 2011.

How do you install an extension ? (2/2)

• Command line option: --add-module-paths

--remove-module-paths

Manually edit Slicer.ini

Copy/paste extension into:– Slicer/plugins– Slicer/qt-scripted-modules– Slicer/qt-loadable-modules

Page 12: Jean-Christophe Fillion-Robin & Julien Finet Kitware Inc. June 20 th 2011.

Coming soon …

Bundle extensions with Slicer package

CDash → Package repository


Recommended