Lines Matching +full:disk +full:- +full:version
3 # SPDX-License-Identifier: Apache-2.0
14 r'^cpe:2\.3:[aho\*\-](:(((\?*|\*?)([a-zA-Z0-9\-\._]|(\\[\\\*\?!"#$$%&\'\(\)\+,\/:;<=>@\[\]\^'
15 … r"`\{\|}~]))+(\?*|\*?))|[\*\-])){5}(:(([a-zA-Z]{2,3}(-([a-zA-Z]{2}|[0-9]{3}))?)|[\*\-]))(:(((\?*"
16 …r'|\*?)([a-zA-Z0-9\-\._]|(\\[\\\*\?!"#$$%&\'\(\)\+,\/:;<=>@\[\]\^`\{\|}~]))+(\?*|\*?))|[\*\-])){4}…
21 # Replace "_" by "-" since it's not allowed in spdx ID
22 return name.replace("_", "-")
24 # Output tag-value SPDX 2.3 content for the given Relationship object.
31 # Output tag-value SPDX 2.3 content for the given File object.
68 # Output tag-value SPDX 2.3 content for the given Package object.
95 if len(pkg.cfg.version) > 0:
96 f.write(f"PackageVersion: {pkg.cfg.version}\n")
132 # Output tag-value SPDX 2.3 content for a custom license.
140 LicenseComment: Corresponds to the license ID `{lic}` detected in an SPDX-License-Identifier: tag.
143 # Output tag-value SPDX 2.3 content for the given Document object.
150 f.write(f"""SPDXVersion: SPDX-2.3
151 DataLicense: CC0-1.0
152 SPDXID: SPDXRef-DOCUMENT
156 Created: {datetime.utcnow().strftime("%Y-%m-%dT%H:%M:%SZ")}
189 # create and write document to disk