Skip to content

Commit bcf9c92

Browse files
committed
ENH: Add ITKTestingData gh-pages URL as primary CID source
The examples/CMake/ITKBenchmarksExternalData.cmake script defines its own ExternalData_URL_TEMPLATES list (overriding the inherited ITK list) and previously listed only the legacy MIDAS endpoint (midas3.kitware.com), itk.org, and the slicer.kitware.com mirror. Add the ITKTestingData gh-pages mirror at the head of the list so benchmark example data resolves through the same primary CID source as the rest of ITK.
1 parent 63fec30 commit bcf9c92

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

examples/CMake/ITKBenchmarksExternalData.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ set(ExternalData_URL_TEMPLATES "" CACHE STRING
2525
file:///var/bigharddrive/%(algo)/%(hash)")
2626
mark_as_advanced(ExternalData_URL_TEMPLATES)
2727
list(APPEND ExternalData_URL_TEMPLATES
28+
# Primary CID source: ITKTestingData gh-pages mirror.
29+
# %(algo) substitutes the uppercase algorithm name (CID, MD5, SHA512),
30+
# matching the case-sensitive directory layout on the gh-pages branch.
31+
"https://insightsoftwareconsortium.github.io/ITKTestingData/%(algo)/%(hash)"
32+
2833
# Data published on MIDAS
2934
"https://midas3.kitware.com/midas/api/rest?method=midas.bitstream.download&checksum=%(hash)&algorithm=%(algo)"
3035

0 commit comments

Comments
 (0)