mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-08 06:40:48 -06:00
Add support for projects to have `Data.txt.md5` *and* `Data.txt.sha512` where the content links hold hashes for the same file. Check all `ExternalData_URL_TEMPLATES` entries in order for all available hashes. The data acquisition is considered a failure if none of the available URL resources has any of the given hashes. This makes it possible to have multiple data server resources where all servers do not support all hashing algorithms.
8 lines
317 B
ReStructuredText
8 lines
317 B
ReStructuredText
ExternalData-multiple-hashes
|
|
----------------------------
|
|
|
|
* The :module:`ExternalData` module learned to support multiple
|
|
content links for one data file using different hashes, e.g.
|
|
``img.png.sha256`` and ``img.png.sha1``. This allows objects
|
|
to be fetched from sources indexed by different hash algorithms.
|