It also appear that if you just run the local CMake configure and build, you only get the MD5 file. But then the recommendation is to upload to data.kitware.com, which uses the sha512 file, which is not created.
The first method is broken as the data is not uploaded automatically. The second newer method does not work well with CMake because it automatically move my data and replaces it with the md5 file. While the documentation is verbose it is not clear on the process for ITK testing data.
The old system, which requires the developer to 1) generate the blob and content hash with CMake, and 2) upload the contents with git gerrit-push, has a few issues. First, if step 1) and 2) are not performed with the repository, the binary data does not get uploaded. This may be why it was not uploaded in your case. Second, people have a hard time understanding how the data is uploaded in step 2). In the new system, uploading to data.kitware.com, the process is explicit, which helps to address these issues.
They work. They have some issues, but these issues are being addressed.
Ahh, it work following the instructions precisely. I see the following during the commit:
Modules/Filtering/ImageGrid/test/Baseline/foo.png.md5: Added content to Git at refs/data/MD5/d41d8cd98f00b204e9800998ecf8427e
Modules/Filtering/ImageGrid/test/Baseline/foo.png.md5: Added content to local store at .ExternalData/MD5/d41d8cd98f00b204e9800998ecf8427e
However, my usual process involves using append. When I try to append a commit with data, as oppose to literally “commit”, the appropriate script is NOT called. I did not see the above message when using “amend”.
@blowekamp I grant that the documentation may be misleading or may seem to be duplicated at some points. As it has been said, this may partially be due to the transition period we are going through, but I’d be happy to edit any section, remove redundancies, and overall, make more robust any section of the documentation.
Also, at the time the md files were created, the information was dumped from several sources, and they may need refinement and edition.
If there is any tribal knowledge, this should make it into the documentation. And if overly complicated, we should also work with fresh members to simplify it so that it does not confuse anybody.