Skip to content

Properly compute files hashes during models publication

Yoann Schneider requested to merge fix-publication-paths into master

This reverts commit ceb2adbc.

The first solution to this problem was to simplify the models archive creation. The hash computation was failing because folders were added to the file_list. We removed these from the list and it seemed good enough. However, we lost the relative path computation that is absolutely necessary when the workers will download the files. In the Arkindex CLI, it's enough because the path we give are already relative ones.

I went back and kept the relative paths computation and only added some filtering.

Edited by Yoann Schneider

Merge request reports

Loading