diff options
author | svidyuk <svidyuk@yandex-team.com> | 2024-03-11 05:16:42 +0300 |
---|---|---|
committer | svidyuk <svidyuk@yandex-team.com> | 2024-03-11 05:28:22 +0300 |
commit | 27deb40acd9c3798fe9ab7c88e50d532bccf924a (patch) | |
tree | a2ea0b310e4add7820eadfc0445f2baf997fb97c /build/scripts | |
parent | 1ba5eab3ab1bbaa8e19a239d8a577f12746d77f2 (diff) | |
download | ydb-27deb40acd9c3798fe9ab7c88e50d532bccf924a.tar.gz |
Comply to SBOM scheme for global props
1e0249ff477caac2635b5972a66ff9ebeda76314
Diffstat (limited to 'build/scripts')
-rw-r--r-- | build/scripts/link_sbom.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build/scripts/link_sbom.py b/build/scripts/link_sbom.py index 8210415ab9..5084762d8a 100644 --- a/build/scripts/link_sbom.py +++ b/build/scripts/link_sbom.py @@ -54,7 +54,8 @@ def main(): res["version"] = 1 res["components"] = [parse_componenet(lib) for lib in args.libinfo] res["properties"] = [ - {'name': 'commit_hash', 'value': vcs['ARCADIA_SOURCE_HG_HASH'], 'arcadia_module_subdir': args.mod_path} + {'name': 'commit_hash', 'value': vcs['ARCADIA_SOURCE_HG_HASH']}, + {'name': 'arcadia_module_subdir', 'value': args.mod_path} ] if vcs.get('DIRTY', '') == 'dirty': res["properties"].append({'name': 'has_uncommited_changes', 'value': True}) |