Lines Matching +full:split +full:- +full:security

1 # Copyright (c) 2020-2021 The Linux Foundation
3 # SPDX-License-Identifier: Apache-2.0
43 # configuration - WalkerConfig
81 …|http(s)?:\/\/)(?P<base_url>[\w\.@]+)(\/|:))(?P<namespace>[\w,\-,\_]+)\/(?P<package>[\w,\-,\_]+)(.…
151 # determine path from build dir to CMake file-based API index file, then
183 cfgApp.name = "app-sources"
185 cfgApp.docRefID = "DocumentRef-app"
190 cfgPackageApp.name = "app-sources"
191 cfgPackageApp.spdxID = "SPDXRef-app-sources"
205 cfgBuild.docRefID = "DocumentRef-build"
225 cfgZephyr.name = "zephyr-sources"
227 cfgZephyr.docRefID = "DocumentRef-zephyr"
239 cfgPackageZephyr.name = "zephyr-sources"
240 cfgPackageZephyr.spdxID = "SPDXRef-zephyr-sources"
266 cpe = f'cpe:2.3:o:zephyrproject:zephyr:{cfgPackageZephyr.version}:-:*:*:*:*:*:*'
286 cfgPackageZephyrModule.name = module_name + "-sources"
287 cfgPackageZephyrModule.spdxID = "SPDXRef-" + module_name + "-sources"
309 cfgSDK.docRefID = "DocumentRef-sdk"
315 cfgPackageSDK.spdxID = "SPDXRef-sdk"
335 cfgModuleExtRef.name = "modules-deps"
336 cfgModuleExtRef.namespace = self.cfg.namespacePrefix + "/modules-deps"
337 cfgModuleExtRef.docRefID = "DocumentRef-modules-deps"
342 module_security = module.get("security", None)
350 module_ext_ref = module_security.get("external-references")
354 cfgPackageModuleExtRef.name = module_name + "-deps"
355 cfgPackageModuleExtRef.spdxID = "SPDXRef-" + module_name + "-deps"
413 log.dbg(f" - target {cfgTarget.name} has no build artifacts")
420 log.dbg(f" - initializing Package for target: {cfgTarget.name}")
425 cfg.spdxID = "SPDXRef-" + zspdx.spdxids.convertToSPDXIDSafe(cfgTarget.name)
443 log.dbg(f" - adding File {artifactPath}")
444 log.dbg(f" - relativeBaseDir: {pkg.cfg.relativeBaseDir}")
445 log.dbg(f" - artifacts[0]: {cfgTarget.target.artifacts[0]}")
449 …log.dbg(f" - target {cfgTarget.name} lists build artifact {artifactPath} but file not found after…
479 log.dbg(f" - collecting source files and adding to pending queue")
485 log.dbg(f" - add pending source file and relationship for {src.path}")
493 …log.dbg(f" - {srcAbspath} does not exist but is referenced in sources for target {pkg.cfg.name}; …
546 …log.dbg(f" - {cfgTarget.target.name} has compileGroupIndex {src.compileGroupIndex} but only {le…
552 …log.dbg(f" - {cfgTarget.target.name} has compile group language {cg.language} but currently onl…
566 log.dbg(f" - collecting target dependencies for {pkg.cfg.name}")
571 depFragments = dep.id.split(":")
573 log.dbg(f" - adding pending relationship for {depName}")
586 # if this is a target with any build artifacts (e.g. non-UTILITY),
635 log.dbg(f" - {srcAbspath}: already seen, assigned to {srcDoc.cfg.name}")
643 … log.dbg(f" - {srcAbspath}: assigning to build document, package {pkgBuild.cfg.name}")
647 log.dbg(f" - {srcAbspath}: assigning to sdk document")
651 log.dbg(f" - {srcAbspath}: assigning to app document")
655 log.dbg(f" - {srcAbspath}: assigning to zephyr document")
659 log.dbg(f" - {srcAbspath}: can't determine which document should own; skipping")
666 filenameOnly = os.path.split(srcAbspath)[1]
683 # most deeply-nested target directory, so that's the one which
721 … log.dbg(f" - adding relationship to {docA.cfg.name}: {rln.refA} {rln.rlnType} {rln.refB}")
730 …log.dbg(f" - searching for relationship, can't find document with file {rlnData.ownerFileAbspath}…
734 …log.dbg(f" - searching for relationship for file {rlnData.ownerFileAbspath} points to document {o…
738 …log.dbg(f" - searching for relationship for file {rlnData.ownerFileAbspath} found file, but empty…
749 …log.dbg(f" - searching for relationship for target {rlnData.ownerTargetName} found package, but e…
752 …log.dbg(f" - searching for relationship for target {rlnData.ownerTargetName}, target not found in…
755 # will always be SPDXRef-DOCUMENT
756 return rlnData.ownerDocument, "SPDXRef-DOCUMENT", rlnData.ownerDocument.relationships
758 log.dbg(f" - unknown relationship type {rlnData.ownerType}; skipping")
767 …log.dbg(f" - searching for relationship, can't find document with file {rlnData.otherFileAbspath}…
771 …log.dbg(f" - searching for relationship for file {rlnData.otherFileAbspath} points to document {o…
775 …log.dbg(f" - searching for relationship for file {rlnData.otherFileAbspath} found file, but empty…
791 …log.dbg(f" - searching for relationship for target {rlnData.otherTargetName} found package, but e…
798 …log.dbg(f" - searching for relationship for target {rlnData.otherTargetName}, target not found in…
804 log.dbg(f" - unknown relationship type {rlnData.otherType}; skipping")