-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update MHubRunner Extension (Version2) #2137
Conversation
MHubRunner2
Outdated
"build_subdirectory": ".", | ||
"category": "Examples", | ||
"scm_revision": "main", | ||
"scm_url": "https://github.com/MHubAI/SlicerMRunner", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This extension is already available in the Slicer extensions index(linked below). @LennyN95 if you are going to be pushing updates to this existing GitHub repository there won’t be a need to add it to the extensions index again. It is already specified to use the latest commit on your main
branch.
ExtensionsIndex/MHubRunner.json
Lines 1 to 9 in ee69ef2
{ | |
"$schema": "https://raw.githubusercontent.com/Slicer/Slicer/main/Schemas/slicer-extension-catalog-entry-schema-v1.0.1.json#", | |
"build_dependencies": [], | |
"build_subdirectory": ".", | |
"category": "Examples", | |
"scm_revision": "main", | |
"scm_url": "https://github.com/MHubAI/SlicerMRunner", | |
"tier": 3 | |
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @jamesobutler. We are working on a new version which works fundamentally different than the old version but will replace it. I update the link to the new repo. Shall this still be submitted as an update to the old extension or shall we proceed creating this as a new extension and removing the old one from the index?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it is a successor to the original version where this update will have the same extension name and you want users to be able to upgrade from the old one to this new one (Slicer’s update extension functionality), I would suggest updating the existing JSON here in Slicer extensions index pointing to the new repository rather than submitting a new extension.
I’ll leave it up to you in terms of if you want this second generation code to be in the same repository as the original. You may want the history of github issues and PRs of the first generation for continuation with the new work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree it is better to replace the current extension. I think it would be too confusing otherwise. If the initial version has some functionality that is not available in the update, based on the feedback from the users, it could be considered for migrating into the new extension. But I would not keep both.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree that there is no need for a new extension. You can just add a new module in the same extension if you want to keep both the old and new modules.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fedorov @lassoan @jamesobutler Thank you all for your input. |
Update Repository name (remove the "2" postfix)
Thank you @lassoan! How can I best merge this with 5.7 and 5.8? Do I need to make separate PRs into those branches or is there an automatism? |
This was integrated for the |
@LennyN95 Your extension appears to have a build error. See |
@jamesobutler thank you for pointing this out, although I don't quite understand the error:
Which json is this referring to? |
@jamesobutler I consulted with @jcfr and updated the project name to match the extension json file. The error should therefore resolve with the next build attempt. Can we merge #2140 too, to include MHubRunner in the next build of 5.8? Thank you all! |
New extension
Tier 1
Any extension that is listed in the Extensions Catalog must fulfill these requirements.
3d-slicer-extension
GitHub topic so that it is listed here. To edit topics, click the settings icon in the right side of "About" section header and enter3d-slicer-extension
in "Topics" and click "Save changes". To learn more about topics, read https://help.github.com/en/articles/about-topicsSettings
and in repository settings uncheckWiki
,Projects
, andDiscussions
(if they are currently not used).About
in the top-right corner of the repository main page and uncheckReleases
andPackages
(if they are currently not used)Tier 3
Community-supported extensions.
Tier 5
Critically important extensions, supported by Slicer core developers. New Slicer Stable Release is released only if all Tier 5 extension packages are successfully created on all supported platforms.