From ca6f2fbdbe8a7ebbf3b3cbc2d03aa73bad34527d Mon Sep 17 00:00:00 2001 From: EunSeo Heo Date: Wed, 7 May 2025 14:32:45 +0900 Subject: [PATCH 01/10] Add LabelNameGenerator extension metadata --- LabelNameGenerator.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 LabelNameGenerator.json diff --git a/LabelNameGenerator.json b/LabelNameGenerator.json new file mode 100644 index 00000000..c8ac5533 --- /dev/null +++ b/LabelNameGenerator.json @@ -0,0 +1,13 @@ +{ + "extension_id": "LabelNameGenerator", + "name": "Label Name Generator", + "description": "A simple extension to create, save, and apply label groups for segmentation in 3D Slicer.", + "author": "Heo Eunseo (esheo-skia)", + "homepage": "https://github.com/esheo-skia/Slicer-LabelNameGenerator", + "category": "Segmentation", + "icon_url": "https://raw.githubusercontent.com/esheo-skia/Slicer-LabelNameGenerator/main/Resources/Icons/LabelNameGenerator.png", + "repository_type": "git", + "repository_url": "https://github.com/esheo-skia/Slicer-LabelNameGenerator.git", + "repository_branch": "main", + "license": "MIT" +} From b36b7c120234584fe769a1df71fcec1c9362320b Mon Sep 17 00:00:00 2001 From: EunSeo Heo Date: Wed, 7 May 2025 14:46:40 +0900 Subject: [PATCH 02/10] Fix metadata keys to match Slicer extension spec --- LabelNameGenerator.json | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/LabelNameGenerator.json b/LabelNameGenerator.json index c8ac5533..788cf5a3 100644 --- a/LabelNameGenerator.json +++ b/LabelNameGenerator.json @@ -1,13 +1,16 @@ { "extension_id": "LabelNameGenerator", - "name": "Label Name Generator", + "extension_name": "Label Name Generator", "description": "A simple extension to create, save, and apply label groups for segmentation in 3D Slicer.", "author": "Heo Eunseo (esheo-skia)", "homepage": "https://github.com/esheo-skia/Slicer-LabelNameGenerator", "category": "Segmentation", "icon_url": "https://raw.githubusercontent.com/esheo-skia/Slicer-LabelNameGenerator/main/Resources/Icons/LabelNameGenerator.png", - "repository_type": "git", - "repository_url": "https://github.com/esheo-skia/Slicer-LabelNameGenerator.git", - "repository_branch": "main", - "license": "MIT" + "scm": "git", + "scm_url": "https://github.com/esheo-skia/Slicer-LabelNameGenerator.git", + "scm_revision": "main", + "license": "MIT", + "enabled": true, + "status": "stable" } + From 7c56950155cea51f50804ee11f625dd05567a294 Mon Sep 17 00:00:00 2001 From: EunSeo Heo Date: Tue, 13 May 2025 17:19:02 +0900 Subject: [PATCH 03/10] Update LabelNameGenerator extension - removed labels.json --- Extensions/LabelNameGenerator | 1 + 1 file changed, 1 insertion(+) create mode 160000 Extensions/LabelNameGenerator diff --git a/Extensions/LabelNameGenerator b/Extensions/LabelNameGenerator new file mode 160000 index 00000000..a94eeab0 --- /dev/null +++ b/Extensions/LabelNameGenerator @@ -0,0 +1 @@ +Subproject commit a94eeab040d089c8bab43739aef2efefae20500f From 7882d86d769fb2f82bd2cd1c19a2cb1263d048b1 Mon Sep 17 00:00:00 2001 From: EUNSEO Date: Sun, 18 May 2025 01:00:11 +0900 Subject: [PATCH 04/10] Remove submodule and cleanup files for CI compliance --- .gitignore | 3 +++ Extensions/LabelNameGenerator | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .gitignore delete mode 160000 Extensions/LabelNameGenerator diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..7778f32f --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +__pycache__/ +*.pyc +Extensions/LabelNameGenerator/ diff --git a/Extensions/LabelNameGenerator b/Extensions/LabelNameGenerator deleted file mode 160000 index a94eeab0..00000000 --- a/Extensions/LabelNameGenerator +++ /dev/null @@ -1 +0,0 @@ -Subproject commit a94eeab040d089c8bab43739aef2efefae20500f From e63372b43437074f458ee81d61356e54df5b90c2 Mon Sep 17 00:00:00 2001 From: EUNSEO Date: Sun, 18 May 2025 01:23:12 +0900 Subject: [PATCH 05/10] Remove .gitignore to comply with CI --- .gitignore | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 .gitignore diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 7778f32f..00000000 --- a/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -__pycache__/ -*.pyc -Extensions/LabelNameGenerator/ From 15099310eb92e483fef757438aabee1e13535bc3 Mon Sep 17 00:00:00 2001 From: Eunseo Heo <141703463+esheo-skia@users.noreply.github.com> Date: Sun, 18 May 2025 01:55:48 +0900 Subject: [PATCH 06/10] Update metadata: Add screenshot URLs to LabelNameGenerator.json --- LabelNameGenerator.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/LabelNameGenerator.json b/LabelNameGenerator.json index 788cf5a3..d64fde48 100644 --- a/LabelNameGenerator.json +++ b/LabelNameGenerator.json @@ -11,6 +11,12 @@ "scm_revision": "main", "license": "MIT", "enabled": true, - "status": "stable" + "status": "stable", + "screenshoturls": [ + "https://raw.githubusercontent.com/esheo-skia/Slicer-LabelNameGenerator/main/Resources/Screenshots/step1_save_label_group.png", + "https://raw.githubusercontent.com/esheo-skia/Slicer-LabelNameGenerator/main/Resources/Screenshots/step2_confirm_apply.png", + "https://raw.githubusercontent.com/esheo-skia/Slicer-LabelNameGenerator/main/Resources/Screenshots/step3_segment_editor_result.png" + ] } + From 59ec2343c3baf0d3c0848691be9a870a5c69dd3b Mon Sep 17 00:00:00 2001 From: Eunseo Heo <141703463+esheo-skia@users.noreply.github.com> Date: Mon, 19 May 2025 11:05:39 +0900 Subject: [PATCH 07/10] Update metadata: Align LabelNameGenerator.json with Slicer schema v1.0.1 - Removed non-schema fields (extension_id, author, description, etc.) - Added $schema and tier - Ensured metadata matches required structure for Tier 1 extension --- LabelNameGenerator.json | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/LabelNameGenerator.json b/LabelNameGenerator.json index d64fde48..1836c9ea 100644 --- a/LabelNameGenerator.json +++ b/LabelNameGenerator.json @@ -1,17 +1,13 @@ { - "extension_id": "LabelNameGenerator", - "extension_name": "Label Name Generator", - "description": "A simple extension to create, save, and apply label groups for segmentation in 3D Slicer.", - "author": "Heo Eunseo (esheo-skia)", - "homepage": "https://github.com/esheo-skia/Slicer-LabelNameGenerator", + "$schema": "https://raw.githubusercontent.com/Slicer/Slicer/main/Schemas/slicer-extension-catalog-entry-schema-v1.0.1.json#", "category": "Segmentation", - "icon_url": "https://raw.githubusercontent.com/esheo-skia/Slicer-LabelNameGenerator/main/Resources/Icons/LabelNameGenerator.png", "scm": "git", "scm_url": "https://github.com/esheo-skia/Slicer-LabelNameGenerator.git", "scm_revision": "main", - "license": "MIT", - "enabled": true, - "status": "stable", + "build_subdirectory": ".", + "build_dependencies": [], + "tier": 1, + "icon_url": "https://raw.githubusercontent.com/esheo-skia/Slicer-LabelNameGenerator/main/Resources/Icons/LabelNameGenerator.png", "screenshoturls": [ "https://raw.githubusercontent.com/esheo-skia/Slicer-LabelNameGenerator/main/Resources/Screenshots/step1_save_label_group.png", "https://raw.githubusercontent.com/esheo-skia/Slicer-LabelNameGenerator/main/Resources/Screenshots/step2_confirm_apply.png", @@ -20,3 +16,5 @@ } + + From 7c27b310195ca357fc42e0abcbeda10f738ae7b1 Mon Sep 17 00:00:00 2001 From: Eunseo Heo <141703463+esheo-skia@users.noreply.github.com> Date: Mon, 19 May 2025 11:41:27 +0900 Subject: [PATCH 08/10] Update metadata: Remove non-schema fields for JSON schema compliance --- LabelNameGenerator.json | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/LabelNameGenerator.json b/LabelNameGenerator.json index 1836c9ea..dbbc21bb 100644 --- a/LabelNameGenerator.json +++ b/LabelNameGenerator.json @@ -1,18 +1,11 @@ { "$schema": "https://raw.githubusercontent.com/Slicer/Slicer/main/Schemas/slicer-extension-catalog-entry-schema-v1.0.1.json#", + "build_dependencies": [], + "build_subdirectory": ".", "category": "Segmentation", - "scm": "git", - "scm_url": "https://github.com/esheo-skia/Slicer-LabelNameGenerator.git", "scm_revision": "main", - "build_subdirectory": ".", - "build_dependencies": [], - "tier": 1, - "icon_url": "https://raw.githubusercontent.com/esheo-skia/Slicer-LabelNameGenerator/main/Resources/Icons/LabelNameGenerator.png", - "screenshoturls": [ - "https://raw.githubusercontent.com/esheo-skia/Slicer-LabelNameGenerator/main/Resources/Screenshots/step1_save_label_group.png", - "https://raw.githubusercontent.com/esheo-skia/Slicer-LabelNameGenerator/main/Resources/Screenshots/step2_confirm_apply.png", - "https://raw.githubusercontent.com/esheo-skia/Slicer-LabelNameGenerator/main/Resources/Screenshots/step3_segment_editor_result.png" - ] + "scm_url": "https://github.com/esheo-skia/Slicer-LabelNameGenerator.git", + "tier": 1 } From 6cacd6b3437fca7cadec73c55d67db52b9ba8307 Mon Sep 17 00:00:00 2001 From: Eunseo Heo <141703463+esheo-skia@users.noreply.github.com> Date: Mon, 19 May 2025 11:51:58 +0900 Subject: [PATCH 09/10] Fix: Final schema-compliant version of LabelNameGenerator.json (no trailing newline) --- LabelNameGenerator.json | 4 ---- 1 file changed, 4 deletions(-) diff --git a/LabelNameGenerator.json b/LabelNameGenerator.json index dbbc21bb..30f1e40f 100644 --- a/LabelNameGenerator.json +++ b/LabelNameGenerator.json @@ -7,7 +7,3 @@ "scm_url": "https://github.com/esheo-skia/Slicer-LabelNameGenerator.git", "tier": 1 } - - - - From de0a7c9d9fc758266ab30228d6f7a5ad6ab28be3 Mon Sep 17 00:00:00 2001 From: Eunseo Heo <141703463+esheo-skia@users.noreply.github.com> Date: Mon, 9 Jun 2025 12:22:39 +0900 Subject: [PATCH 10/10] Rename LabelNameGenerator to SegTemplateEditor This PR adds the metadata for a new 3D Slicer extension: **SegTemplateEditor** - Replaces previous `LabelNameGenerator` name - New repository: https://github.com/esheo-skia/Slicer-SegTemplateEditor - Category: Segmentation --- LabelNameGenerator.json => SegTemplateEditor.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename LabelNameGenerator.json => SegTemplateEditor.json (77%) diff --git a/LabelNameGenerator.json b/SegTemplateEditor.json similarity index 77% rename from LabelNameGenerator.json rename to SegTemplateEditor.json index 30f1e40f..bb24b819 100644 --- a/LabelNameGenerator.json +++ b/SegTemplateEditor.json @@ -4,6 +4,6 @@ "build_subdirectory": ".", "category": "Segmentation", "scm_revision": "main", - "scm_url": "https://github.com/esheo-skia/Slicer-LabelNameGenerator.git", + "scm_url": "https://github.com/esheo-skia/Slicer-SegTemplateEditor.git", "tier": 1 }