[vtk-developers] vtk test data for remote module?

Aron Helser aron.helser at kitware.com
Thu Oct 18 18:04:13 EDT 2018


Jc,
The remote module is built as part of VTK, so it is already using
vtkExternalData. Looking at those lines you referenced:

> # Data published by Girder
> "https://data.kitware.com/api/v1/file/hashsum/%(algo)/%(hash)/download"
> # Data published by developers using git-gitlab-push.
> "https://www.vtk.org/files/ExternalData/%(algo)/%(hash)"

That means I can provide the files at that URL at data.kitware.com?  How do
I do that?

On Thu, Oct 18, 2018 at 5:01 PM Jean-Christophe Fillion-Robin <
jcfr at kitware.com> wrote:

> Hi Aaron,
>
> > the git parts, like the pre-commit hook and the gitlab-push command are
> no longer available in the remote module
> > The data is about 2.7 Mb, so one possibility is to just commit the data
> directly in the remote repository, I suppose, but I'm not sure how ctest
> will then interact with it
>
> The hook and other bash function are just a convenience, you could upload
> the file named to Girder and add a template to ensure it can be downloaded.
> For example, see here
> <https://github.com/Kitware/VTK/blob/3d195c2d9390ce510f3b390541999a599360bf1e/CMake/vtkExternalData.cmake#L59-L60>
> That said, if the module vtkExternalData is already included by the remote
> build buildsysten, uploading the data manually to girder will be sufficient.
>
> Hth
> Jc
>
>
> On Thu, Oct 18, 2018 at 4:33 PM Aron Helser <aron.helser at kitware.com>
> wrote:
>
>> I have a collaborator working with a VTK remote module
>> (MomentInvariants). It so happens that this code was previously part of VTK
>> proper, and was moved to a remote module. It includes some tests, with
>> external test data. We now need to update the test data, and so are trying
>> to change from md5 to sha512, as instructed here:
>> https://gitlab.kitware.com/vtk/vtk/blob/master/Documentation/dev/git/data.md
>>
>> The cmake and build parts work just as they used to, but unfortunately
>> the git parts, like the pre-commit hook and the gitlab-push command are no
>> longer available in the remote module, since it lives in it's own
>> repository.
>>
>> Has anyone dealt with this before? What should we do?
>>
>> The data is about 2.7 Mb, so one possibility is to just commit the data
>> directly in the remote repository, I suppose, but I'm not sure how ctest
>> will then interact with it.
>>
>> Thanks!
>> Aron
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>>
>> Follow this link to subscribe/unsubscribe:
>> https://public.kitware.com/mailman/listinfo/vtk-developers
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtk-developers/attachments/20181018/9f5a40c8/attachment.html>


More information about the vtk-developers mailing list