View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002561 | Slicer4 | Core: Building (CMake, Superbuild) | public | 2012-09-24 08:14 | 2017-06-07 23:27 |
Reporter | jcfr | Assigned To | jcfr | ||
Priority | low | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | |||||
Target Version | Slicer 4.2.0 | Fixed in Version | Slicer 4.2.0 | ||
Summary | 0002561: Create script allowing to "version" na-mic data tree | ||||
Description | Currently data are associated with 4.2 sub-folder, when we will be releasing, we should probably create the "Nightly" set of folders based on the 4.2 ones. | ||||
Tags | No tags attached. | ||||
The idea would be to create a python module named "release.py" that would leave in slicer tree under "Base/Python/slicer/ "directory. For now, that module would provide the following functions: //------------------ => This function would copy the directory and sub-directories from:
//------------------ => This function would copy the directory and sub-directories from:
//------------------
//------------------
Pydas module could probably be used. See [1] and [2] Usage: For now, consider this script wouldn't have any dependency on slicer python, it could either be used from within slicer or from a regular python interpreter. While developing the module I would recommend to install your own instance of Midas. See [3] Moving forward, I also envision to integrate the versioning of the documentation into this module. See [4] [1] https://github.com/midasplatform/pydas |
|
Pushed topic here: https://github.com/sankhesh/Slicer/tree/2561-version-namic-data-tree |
|
Excellent. That is great. Really liked the demo. Following our hangout, consider the comments added here: https://github.com/sankhesh/Slicer/commit/e86a3edd51682ef3224f363e13cdc1fb4036e55d |
|
Will provide you with more feedback soon. After running the script on the actual instance. |
|
Worked great. Na-mic data tree has been "versioned". |
|
Since the release can be used standalone, there is not need to integrate the topic into Slicer trunk. |
|
Closing resolved issues that have not been updated in more than 3 months |
|
Fix committed to 2145-support-for-installing-extension-from-file branch. |
|
Slicer: 2145-support-for-installing-extension-from-file 55902344 2013-08-19 14:01:05 Details Diff |
ENH: Script to version the na-mic data tree on Midas This script can be used to duplicate the Nightly NA-MIC data tree on Midas to a new folder tagged by the release version. The script used the pydas api as well as some of Midas web-api for the methods not yet ported to pydas. The script does not take any input arguments. All the arguments should be provided as options using the option flags. For a full list of options: "python release.py --help". For now, it is assumed this script does not depend on slicer python. It can be used from the regular python interpreter. Added a function called versionData that takes the same arguments as input as the command line module. This facilitates the use of this script as a python importable module. Improved documentation. Added docstring style documentation for functions. Added a new directory called release that will contain all scripts that can be used when tagging Slicer for a new release. For example, versioning Midas NA-MIC data tree, documentation generation, etc. Added dry run functionality that prints the structure of the source folder that is going to be duplicated. Made changes to test script as well. Added a an "_" before all functions that are not required by the user to hide them. Added an __all__ in the __init__.py for the package to know which module it can import. So, when you do a from release import * only, midasdata should be imported and not the unittest. Fixes 0002561 Fixes 0002704 Co-authored-by: Jean-Christophe Fillion-Robin <JChris.FillionR@kitware.com> From: Sankhesh Jhaveri <sankhesh.jhaveri@kitware.com> git-svn-id: http://svn.slicer.org/Slicer4/trunk@22296 3bd1e089-480b-0410-8dfb-8563597acbee |
||
add - Base/Python/slicer/release/__init__.py | Diff File | ||
add - Base/Python/slicer/release/midasdata.py | Diff File | ||
add - Base/Python/slicer/release/midasdata_test.py | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-09-24 08:14 | jcfr | New Issue | |
2012-09-24 08:14 | jcfr | Status | new => assigned |
2012-09-24 08:14 | jcfr | Assigned To | => jcfr |
2012-09-24 08:14 | jcfr | Assigned To | jcfr => sankhesh |
2012-09-24 08:14 | jcfr | Target Version | => Slicer 4.2.0 - coming release |
2012-09-24 08:14 | jcfr | Relationship added | child of 0002060 |
2012-09-25 10:48 | jcfr | Priority | normal => low |
2012-10-17 06:27 | jcfr | Note Added: 0006589 | |
2012-10-25 12:36 | sankhesh | Note Added: 0006765 | |
2012-10-25 13:18 | jcfr | Note Added: 0006774 | |
2012-10-26 13:27 | jcfr | Status | assigned => feedback |
2012-10-26 13:27 | jcfr | Note Added: 0006824 | |
2012-10-26 13:28 | jcfr | Note Edited: 0006824 | |
2012-10-29 15:51 | jcfr | Relationship added | related to 0002704 |
2012-10-29 15:53 | jcfr | Note Added: 0006890 | |
2012-10-29 15:53 | jcfr | Status | feedback => resolved |
2012-10-29 15:53 | jcfr | Fixed in Version | => Slicer 4.2.0 - coming release |
2012-10-29 15:53 | jcfr | Resolution | open => fixed |
2012-10-29 16:04 | jcfr | Note Added: 0006891 | |
2013-09-04 13:04 | jcfr | Relationship added | related to 0002722 |
2014-03-06 05:08 | jcfr | Note Added: 0010995 | |
2014-03-06 05:09 | jcfr | Status | resolved => closed |
2017-06-07 23:27 | jcfr | Changeset attached | => Slicer 2145-support-for-installing-extension-from-file 55902344 |
2017-06-07 23:27 | jcfr | Note Added: 0014615 | |
2017-06-07 23:27 | jcfr | Assigned To | sankhesh => jcfr |