esp-idf/tools/test_idf_tools/add_version
Alexey Lapshin e49d4a83d9 tools: Add tool's versions update with checksum file
'idf_tools.py add-version' has new options:
--override            Override tool versions with new data
--checksum-file       URL or path to local file with checksum/size for artifacts

Usage e.g.:
CHECKSUM_URL=https://github.com/espressif/crosstool-NG/releases/download/esp-2021r2/crosstool-NG-esp-2021r2-checksum.sha256
idf_tools.py add-version --tool xtensa-esp32-elf --version esp-2021r2 --override --checksum-file $CHECKSUM_URL

Positional argument 'files' moved to optional argument '--artifact-file'

Add tests for add-version logic
2022-05-13 06:51:59 +00:00
..
artifact_expected_addition.json tools: Add tool's versions update with checksum file 2022-05-13 06:51:59 +00:00
artifact_input.json tools: Add tool's versions update with checksum file 2022-05-13 06:51:59 +00:00
checksum_expected_addition.json tools: Add tool's versions update with checksum file 2022-05-13 06:51:59 +00:00
checksum_expected_override.json tools: Add tool's versions update with checksum file 2022-05-13 06:51:59 +00:00
checksum.sha256 tools: Add tool's versions update with checksum file 2022-05-13 06:51:59 +00:00