diff options
author | Matt McCormick <matt.mccormick@kitware.com> | 2016-10-12 18:57:32 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-10-18 15:16:45 (GMT) |
commit | 33a9aaa89b437da29a70f27d25b267242b6f982c (patch) | |
tree | 6e381dc1c48d3f8c2fe6498497b20e45c7beb3dd /Help | |
parent | 96f6fe6b5737494fc560e126b7c797d232d9307e (diff) | |
download | CMake-33a9aaa89b437da29a70f27d25b267242b6f982c.zip CMake-33a9aaa89b437da29a70f27d25b267242b6f982c.tar.gz CMake-33a9aaa89b437da29a70f27d25b267242b6f982c.tar.bz2 |
ExternalData: Add support for multiple hash algorithms
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.
Diffstat (limited to 'Help')
-rw-r--r-- | Help/release/dev/ExternalData-multiple-hashes.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/release/dev/ExternalData-multiple-hashes.rst b/Help/release/dev/ExternalData-multiple-hashes.rst new file mode 100644 index 0000000..608a277 --- /dev/null +++ b/Help/release/dev/ExternalData-multiple-hashes.rst @@ -0,0 +1,7 @@ +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. |