kopia lustrzana https://github.com/espressif/esp-idf
22637ff824
Currently sbom manifest is checked only in .gitmodules and this check is done in pre-commit and also in CI. Meaning it's running three times(pre-commit before push if user has it enabled, in CI as there is the pre-commit run again and again with test in CI). Since esp-idf-sbom contains a full manifest validation support and pre-commit plugin for it, let's use it. This removes all the current sbom testing and replaces it with a signle pre-commit plugin which validates all manifests files(sbom.yml, idf_component.yml, .gitmodules and also referenced manifests) in repository. Note that this checks all manifests, not only ones which were modified. The check is reasonably fast though, so it should not cause any problem. The reason for validating all manifest files is that we want to make sure that the sbom information in .gitmodules is updated too and that the hash recorded in .gitmodules is up-to-date. Meaning submodule update would not trigger this plugin, because no manifest was changed. Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com> |
||
---|---|---|
.. | ||
ble | ||
catch | ||
ci | ||
cmake | ||
docker | ||
esp_app_trace | ||
esp_prov | ||
find_build_apps | ||
idf_monitor_base | ||
idf_py_actions | ||
idf_size_yaml | ||
kconfig | ||
kconfig_new | ||
ldgen | ||
mass_mfg | ||
mocks | ||
templates/sample_component | ||
test_apps | ||
test_idf_monitor | ||
test_idf_py | ||
test_idf_size | ||
test_idf_tools | ||
test_mkdfu | ||
test_mkuf2 | ||
unit-test-app | ||
windows | ||
build_apps.py | ||
check_python_dependencies.py | ||
check_term.py | ||
detect_python.fish | ||
detect_python.sh | ||
eclipse-code-style.xml | ||
find_apps.py | ||
format-minimal.sh | ||
format.sh | ||
gdb_panic_server.py | ||
gen_esp_err_to_name.py | ||
idf.py | ||
idf_monitor.py | ||
idf_size.py | ||
idf_tools.py | ||
mkdfu.py | ||
mkuf2.py | ||
python_version_checker.py | ||
set-submodules-to-github.sh | ||
toolchain_versions.mk | ||
tools.json | ||
tools_schema.json |