View Issue Details

IDProjectCategoryView StatusLast Update
0002143Slicer4Core: Extensionspublic2017-06-07 23:27
Reporterjcfr Assigned Tojcfr  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.2.2-1Fixed in VersionSlicer 4.2.2-1 
Summary0002143: Extend Additional Launcher Settings to support user specific settings
Description

The "additional launcher settings" mechanism could probably be extended so that additional settings located in the settings folder of the user currently running the launcher are considered.

In other word, the launcher could look for a setting file located in <USERSETTINGS>/<LAUNCHERNAME>AdditionalLauncherSettings.ini.

Within this additional launcher settings file specific to the user, only settings located in the given group settings could be considered based on a settings "profile". This would allow us to differentiate extension settings associated with different version of Slicer.

TagsNo tags attached.

Relationships

parent of 0002140 closedjcfr settings error when using extension manager 
related to 0002720 closedjcfr can't install extensions on windows 
related to 0002439 closedjcfr Nightly Slicer crashes trying to load modules compiled against local Slicer build 
child of 0001958 closedjcfr extension from one version shows up in other version 

Activities

jcfr

jcfr

2012-11-19 09:08

administrator   ~0007321

Will attempt to fix this for 4.2.2

jcfr

jcfr

2012-12-06 14:32

administrator   ~0007435

Fixed in:
trunk: http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&amp;revision=21482
4.2 branch: http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&amp;revision=21489

jcfr

jcfr

2014-03-06 04:53

administrator   ~0010762

Closing resolved issues that have not been updated in more than 3 months

jcfr

jcfr

2017-06-07 23:27

administrator   ~0014674

Fix committed to 2145-support-for-installing-extension-from-file branch.

Related Changesets

Slicer: 2145-support-for-installing-extension-from-file e6fb116c

2012-12-06 19:23:59

jcfr

Details Diff
ENH: Support per user per revision extensions settings

There is now a clear distinction between:
- userSettings -> i.e. ~/.config/NA-MIC/Slicer.ini
- revisionUserSettings -> i.e. ~/.config/NA-MIC/Slicer-<revision>.ini

The following slicer settings are now revision specific:
- Extensions/ManagerEnabled
- Extensions/ServerUrl
- Extensions/InstallPath
- Modules/AdditonalPath
- Modules/IgnoreModules

Additionally, the launcher version has also been updated to be able to
consider settings associated with a user, application and revision. This is
captured by the new parameter APPLICATION_REVISION, ORGANIZATION_DOMAIN,
ORGANIZATION_NAME and USER_ADDITIONAL_SETTINGS_FILEBASENAME passed to the CMake
function "ctkAppLauncherConfigure".

qSlicerCoreApplication API has also been extended and now includes methods
like:
- QSettings* userSettings() [settings() method is deprecated and kept for backward compatibility]
- QSettings* revisionUserSettings()
- QString launcherRevisionUserSettingsFilePath()
- QString slicerUserSettingsFilePath()
- QString slicerRevisionUserSettingsFilePath()

In addition to the settings, the extensions install path is also revision
specific, it means that it's now possible to have multiple version of slicer
running with different set of extensions.

Fixes 0002791, 0002143, 0002720, 0002533


Since the version of the launcher is updated, launcher will return EXIT_FAILURE
also when no application is been set in the launcher settings.

Fixes 0002767

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21482 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Applications/SlicerApp/CMakeLists.txt Diff File
mod - Applications/SlicerApp/Main.cxx Diff File
mod - Applications/SlicerApp/qSlicerAppMainWindow.cxx Diff File
mod - Base/Logic/Testing/vtkSlicerApplicationLogicTest1.cxx Diff File
mod - Base/Logic/vtkSlicerApplicationLogic.cxx Diff File
mod - Base/Logic/vtkSlicerApplicationLogic.h Diff File
mod - Base/QTApp/qSlicerApplicationHelper.cxx Diff File
mod - Base/QTCLI/qSlicerCLIModuleFactoryHelper.cxx Diff File
mod - Base/QTCore/Testing/Cxx/qSlicerCoreApplicationTest1.cxx Diff File
mod - Base/QTCore/Testing/Cxx/qSlicerExtensionsManagerModelTest.cxx Diff File
mod - Base/QTCore/Testing/Data/Input/19615-macosx-amd64-CLIExtensionTemplate-svn19615-2012-03-18.tar.gz Diff File
mod - Base/QTCore/Testing/Data/Input/19615-macosx-amd64-LoadableExtensionTemplate-svn19615-2012-03-18.tar.gz Diff File
mod - Base/QTCore/Testing/Data/Input/19615-macosx-amd64-ScriptedLoadableExtensionTemplate-svn19615-2012-03-18.tar.gz Diff File
mod - Base/QTCore/Testing/Data/Input/19615-macosx-amd64-SuperBuildLoadableExtensionTemplate-svn19615-2012-03-18.tar.gz Diff File
mod - Base/QTCore/qSlicerCoreApplication.cxx Diff File
mod - Base/QTCore/qSlicerCoreApplication.h Diff File
mod - Base/QTCore/qSlicerCoreApplication_p.h Diff File
mod - Base/QTCore/qSlicerCoreCommandOptions.cxx Diff File
mod - Base/QTCore/qSlicerCoreCommandOptions.h Diff File
mod - Base/QTCore/qSlicerExtensionsManagerModel.cxx Diff File
mod - Base/QTCore/qSlicerExtensionsManagerModel.h Diff File
mod - Base/QTCore/qSlicerLoadableModuleFactory.cxx Diff File
mod - Base/QTGUI/qSlicerExtensionsManagerDialog.cxx Diff File
mod - Base/QTGUI/qSlicerScriptedLoadableModuleFactory.cxx Diff File
mod - Base/QTGUI/qSlicerSettingsExtensionsPanel.cxx Diff File
mod - Base/QTGUI/qSlicerSettingsGeneralPanel.cxx Diff File
mod - Base/QTGUI/qSlicerSettingsModulesPanel.cxx Diff File
mod - CMake/SlicerConfig.cmake.in Diff File
mod - CMake/UseSlicer.cmake.in Diff File
mod - CMake/vtkSlicerConfigure.h.in Diff File
mod - CMakeLists.txt Diff File
mod - Modules/Loadable/Colors/qSlicerColorsModule.cxx Diff File
mod - Modules/Scripted/Scripts/DICOM.py Diff File
mod - SuperBuild.cmake Diff File
mod - SuperBuild/External_CTK.cmake Diff File
mod - SuperBuild/External_CTKAPPLAUNCHER.cmake Diff File

Issue History

Date Modified Username Field Change
2012-05-31 12:49 jcfr New Issue
2012-05-31 12:49 jcfr Status new => assigned
2012-05-31 12:49 jcfr Assigned To => jcfr
2012-05-31 12:50 jcfr Relationship added child of 0002140
2012-05-31 12:50 jcfr Target Version => Slicer 4.2.0 - Sept 1st 2012
2012-05-31 12:50 jcfr Relationship deleted child of 0002140
2012-05-31 12:50 jcfr Relationship added parent of 0002140
2012-05-31 12:54 jcfr Relationship added child of 0002116
2012-05-31 12:55 jcfr Relationship deleted child of 0002116
2012-05-31 12:56 jcfr Relationship added child of 0001958
2012-08-20 12:24 jcfr Target Version Slicer 4.2.0 - Feature freeze Sept 1st 2012 => Slicer 4.2.5
2012-08-21 09:40 jcfr Target Version Slicer 4.2.5 => Slicer 4.3.0
2012-11-13 06:44 jcfr Relationship added related to 0002720
2012-11-15 04:46 jcfr Relationship added related to 0002439
2012-11-19 09:08 jcfr Target Version Slicer 4.3.0 => Slicer 4.2.2
2012-11-19 09:08 jcfr Note Added: 0007321
2012-12-06 14:32 jcfr Note Added: 0007435
2012-12-06 14:32 jcfr Status assigned => resolved
2012-12-06 14:32 jcfr Fixed in Version => Slicer 4.2.2
2012-12-06 14:32 jcfr Resolution open => fixed
2014-03-06 04:53 jcfr Note Added: 0010762
2014-03-06 04:55 jcfr Status resolved => closed
2017-06-07 23:27 jcfr Changeset attached => Slicer 2145-support-for-installing-extension-from-file e6fb116c
2017-06-07 23:27 jcfr Note Added: 0014674