Skip to content

Commit 4e7c77a

Browse files
Merge branch 'Slicer:main' into main
2 parents 97e485b + 58f2754 commit 4e7c77a

12 files changed

+64
-22
lines changed

.github/workflows/extension-ai-analysis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ jobs:
1717
timeout-minutes: 30
1818
steps:
1919
- name: Checkout the fork PR code
20-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
20+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2121
with:
2222
repository: ${{ github.event.pull_request.head.repo.full_name }}
2323
ref: ${{ github.event.pull_request.head.ref }}
2424
fetch-depth: 0 # Fetch full history for git diff
2525

2626
- name: Setup Python
27-
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
27+
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
2828
with:
2929
python-version: "3.12"
3030
cache: "pip"
@@ -70,7 +70,9 @@ jobs:
7070
7171
- name: Run AI analysis
7272
env:
73-
NEBULA_API_KEY: ${{ secrets.NEBULA_API_KEY }}
73+
INFERENCE_URL: ${{ vars.INFERENCE_URL }}
74+
INFERENCE_MODEL: ${{ vars.INFERENCE_MODEL }}
75+
INFERENCE_API_KEY: ${{ secrets.INFERENCE_API_KEY }}
7476
id: ai-analysis
7577
run: |
7678
RESULT=$(python scripts/extension_ai_analysis.py \

.github/workflows/extension-validation.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
pull-requests: write
2020
timeout-minutes: 30
2121
steps:
22-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
22+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
2323
with:
2424
fetch-depth: 0 # Fetch full history for git diff
2525

26-
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
26+
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
2727
with:
2828
python-version: "3.12"
2929
cache: "pip"
@@ -103,7 +103,7 @@ jobs:
103103
104104
- name: Upload validation reports
105105
if: always()
106-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
106+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
107107
with:
108108
name: validation-reports
109109
path: |

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
runs-on: ubuntu-latest
1717
timeout-minutes: 5
1818
steps:
19-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
20-
- uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
19+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
20+
- uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
2121
with:
2222
python-version: "3.12"
2323
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1

KonfAI.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/Slicer/Slicer/main/Schemas/slicer-extension-catalog-entry-schema-v1.0.1.json#",
3+
"build_dependencies": [],
4+
"build_subdirectory": ".",
5+
"category": "Pipelines",
6+
"scm_revision": "main",
7+
"scm_url": "https://github.com/vboussot/SlicerKonfAI",
8+
"tier": 3
9+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"build_dependencies": [],
44
"build_subdirectory": ".",
55
"category": "Utilities",
6-
"scm_revision": "v1.5.0",
6+
"scm_revision": "main",
77
"scm_url": "https://github.com/OpenwaterHealth/SlicerOpenLIFU.git",
88
"tier": 1
99
}

QuantitativeReporting.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
],
88
"build_subdirectory": ".",
99
"category": "Informatics",
10-
"scm_revision": "2c0112785c9ba3af9be6a1f86d5ed7bb8b700705",
10+
"scm_revision": "master",
1111
"scm_url": "https://github.com/QIICR/QuantitativeReporting.git",
1212
"tier": 5
1313
}

SegTemplateEditor.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/Slicer/Slicer/main/Schemas/slicer-extension-catalog-entry-schema-v1.0.1.json#",
3+
"build_dependencies": [],
4+
"build_subdirectory": ".",
5+
"category": "Segmentation",
6+
"scm_revision": "main",
7+
"scm_url": "https://github.com/esheo-skia/Slicer-SegTemplateEditor.git",
8+
"tier": 1
9+
}

SlicerMorph.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
],
77
"build_subdirectory": ".",
88
"category": "SlicerMorph",
9-
"scm_revision": "master",
9+
"scm_revision": "geomorphTab",
1010
"scm_url": "https://github.com/SlicerMorph/SlicerMorph.git",
1111
"tier": 5
1212
}

TutorialMaker.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"build_subdirectory": ".",
55
"category": "Developer Tools",
66
"scm_revision": "main",
7-
"scm_url": "https://github.com/SlicerLatinAmerica/SlicerTutorialMaker.git",
7+
"scm_url": "https://github.com/SoniaPujolLab/SlicerTutorialMaker.git",
88
"tier": 1
99
}

scripts/check_description_files.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,10 @@ def check_json_file_format(extension_name, metadata, extension_file_path):
105105
extension_name, check_name,
106106
f"Invalid JSON format: {str(e)}")
107107
# Force using LF-only line endings
108-
with open(extension_file_path, 'r', encoding='utf-8') as f:
108+
# Must open in binary mode to detect line endings
109+
with open(extension_file_path, 'rb') as f:
109110
content = f.read()
110-
if '\r\n' in content or '\r' in content:
111+
if b'\r\n' in content or b'\r' in content:
111112
raise ExtensionCheckError(
112113
extension_name, check_name,
113114
"File contains non-LF line endings (CR or CRLF). Please convert to LF-only line endings.")

0 commit comments

Comments
 (0)