Skip to content

ENH: Convert ExternalData .md5 tags to .cid (IPFS content IDs)#31

Merged
hjmjohnson merged 1 commit intoInsightSoftwareConsortium:mainfrom
hjmjohnson:update-cid-tags
Apr 23, 2026
Merged

ENH: Convert ExternalData .md5 tags to .cid (IPFS content IDs)#31
hjmjohnson merged 1 commit intoInsightSoftwareConsortium:mainfrom
hjmjohnson:update-cid-tags

Conversation

@hjmjohnson
Copy link
Copy Markdown
Member

Migrate ExternalData content-link stubs from legacy md5/sha512 hashes to IPFS .cid tags, aligning this remote module with the ITK-wide CID migration.

Verification
  • Based on current origin/main.
  • 15 .cid files introduced; sibling .md5/.sha512 stubs removed.
  • Change is data-link metadata only — no source or CMake changes.

Copy link
Copy Markdown
Member

@dzenanz dzenanz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good on a glance.

@dzenanz
Copy link
Copy Markdown
Member

dzenanz commented Apr 23, 2026

I restarted the CI. The error was:

-- Fetching "https://insightsoftwareconsortium.github.io/ITKTestingData/CID/bafkreigitizm3h42et6pk6yvdqmcpsu27ec3pgaetkrvxcmx36raabrvjq"
-- Fetching "https://data.kitware.com:443/api/v1/file/hashsum/CID/bafkreigitizm3h42et6pk6yvdqmcpsu27ec3pgaetkrvxcmx36raabrvjq/download"
-- Fetching "https://itk.org/files/ExternalData/CID/bafkreigitizm3h42et6pk6yvdqmcpsu27ec3pgaetkrvxcmx36raabrvjq"
-- Fetching "http://127.0.0.1:8080/ipfs/bafkreigitizm3h42et6pk6yvdqmcpsu27ec3pgaetkrvxcmx36raabrvjq"
-- Fetching "https://ipfs.io/ipfs/bafkreigitizm3h42et6pk6yvdqmcpsu27ec3pgaetkrvxcmx36raabrvjq"
-- Fetching "https://gateway.pinata.cloud/ipfs/bafkreigitizm3h42et6pk6yvdqmcpsu27ec3pgaetkrvxcmx36raabrvjq"
-- Fetching "https://cloudflare-ipfs.com/ipfs/bafkreigitizm3h42et6pk6yvdqmcpsu27ec3pgaetkrvxcmx36raabrvjq"
-- Fetching "https://dweb.link/ipfs/bafkreigitizm3h42et6pk6yvdqmcpsu27ec3pgaetkrvxcmx36raabrvjq"
CMake Error at /.../ITK/CMake/ExternalData.cmake:1169 (message):


  Object CID=bafkreigitizm3h42et6pk6yvdqmcpsu27ec3pgaetkrvxcmx36raabrvjq not
  found at:

    https://insightsoftwareconsortium.github.io/ITKTestingData/CID/bafkreigitizm3h42et6pk6yvdqmcpsu27ec3pgaetkrvxcmx36raabrvjq ("HTTP response code said error")
    https://data.kitware.com:443/api/v1/file/hashsum/CID/bafkreigitizm3h42et6pk6yvdqmcpsu27ec3pgaetkrvxcmx36raabrvjq/download ("HTTP response code said error")
    https://itk.org/files/ExternalData/CID/bafkreigitizm3h42et6pk6yvdqmcpsu27ec3pgaetkrvxcmx36raabrvjq ("HTTP response code said error")
    http://127.0.0.1:8080/ipfs/bafkreigitizm3h42et6pk6yvdqmcpsu27ec3pgaetkrvxcmx36raabrvjq ("Could not connect to server")
    https://ipfs.io/ipfs/bafkreigitizm3h42et6pk6yvdqmcpsu27ec3pgaetkrvxcmx36raabrvjq ("HTTP response code said error")

@hjmjohnson
Copy link
Copy Markdown
Member Author

Network Hiccup?

./ITK_REMOTE_MODULES_STABLE/Utilities/Maintenance/RemoteModuleIngest/verify-cid-access.sh GrowCut                                                                   
==> Checking 15 .cid content-link(s) under GrowCut (jobs=16)...
OK   bafkreicld5iuqeezy47xihiy5i2paqnwt2qnishckamikkw3wueajjivyi  (cached)
OK   bafkreicgctc76j4jrhaf3hsxhsmuq6vxlz36uc23ocdyd3pkb7ccuf54tu  (cached)
OK   bafkreifjggyfldj2jsw3k5l3mfsr6mqfh2yyoinqjjqlplbfffmtmemutq  (cached)
OK   bafkreiahdirdqbk2olk4rskxt4t6agizq33hygxfjfilws2n6hanlb54y4  (cached)
OK   bafkreiarik4mbgc7sqcsloocpojee2ohlqxlx2gigwinhlocaj5l3bbroe  (cached)
OK   bafkreidsograzswdjam34vemy3cj22hnkd3sa6qq3syupflvg3xrplufgm  (cached)
OK   bafkreigs5sukusnln2cogn527zu5bj5pmme2g2yasq3t63xqiarj5vas3e  (cached)
OK   bafkreifbfmols4ggdif45pusn6mpx6jzrnvj2hhzfqylsefrhow52l6orq  (cached)
OK   bafkreieceovqkvvogpvhnxb7dpha7cdajgxp5rml7ht3wpj67kosvvxply  (cached)
OK   bafkreib5ekp2j4ehdcqzpgajakxgrbftwcnkmpjw7vwmwctsk2orlc2wdi  (cached)
OK   bafkreihbqzvxjkamm3xydp4tlxq5nfjzfro3z3y33grqz347y4dh4ui4oa  (cached)
OK   bafkreicwnhwnk3ogvn4ac5kipwcsgdlbvhevgbksawg4xfg5cc43nzyjv4  (cached)
OK   bafkreialv3a7ndrsgwchezzgjq2ev5vlqi3fv6lmyya5djjdpnxwxrwep4  (cached)
OK   bafkreif4y5ck4njwjg2jp77zy3pny4hmcgg4wh4km2phj77knqghcg6i3u  (cached)
OK   bafkreigitizm3h42et6pk6yvdqmcpsu27ec3pgaetkrvxcmx36raabrvjq  (cached)
==> All 15 .cid content-link(s) resolved from at least one gateway.

@hjmjohnson hjmjohnson marked this pull request as ready for review April 23, 2026 11:38
@hjmjohnson hjmjohnson merged commit 56e4eae into InsightSoftwareConsortium:main Apr 23, 2026
22 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants