diff options
| author | Shulhan <ms@kilabit.info> | 2026-01-11 21:34:16 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-01-11 21:43:05 +0700 |
| commit | 1dbd1e4c64a65c2f601cae42e63e6c5150c3acca (patch) | |
| tree | 36cbbcc2dd98de0d5e5c1af800d8c9b288f2c626 /report.go | |
| parent | 069380e6b34d36ca2ace9c0d7e2ec4efdc4a2736 (diff) | |
| download | spdxconv-1dbd1e4c64a65c2f601cae42e63e6c5150c3acca.tar.xz | |
report: add SPDX identifiers to generated report
This is to make all files generated by this program to be SPDX compliant.
Diffstat (limited to 'report.go')
| -rw-r--r-- | report.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -138,6 +138,12 @@ func (rep *report) scan(conv *SPDXConv, listFile []string) (err error) { func (rep *report) write() (err error) { var buf bytes.Buffer + + // REUSE-IgnoreStart + buf.WriteString("// SPDX-License-Identifier: CC0-1.0\n") + buf.WriteString("// SPDX-FileCopyrightText: 2026 M. Shulhan <ms@kilabit.info>\n\n") + // REUSE-IgnoreEnd + buf.WriteString(reportMetaPrefix + "version:v1\n") buf.WriteString(reportMetaPrefix + "header:path,license_id,idx_license_id,year,copyright_id,idx_copyright_id\n") |
