aboutsummaryrefslogtreecommitdiff
path: root/testdata/loadReport/ok
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2026-01-10 18:20:52 +0700
committerShulhan <ms@kilabit.info>2026-01-10 18:20:52 +0700
commit187cf1cb9cc684f3860426be86e9c682aa6c849f (patch)
tree95bb19caf30f9685916c453dcff4e4c0297a3fbf /testdata/loadReport/ok
parent6b1ee0dbb0e0801afbf98199e0ca0dd5b2dbe3cb (diff)
downloadspdxconv-187cf1cb9cc684f3860426be86e9c682aa6c849f.tar.xz
report: store the index line number and comments in report
For the index line number, instead of tied to license_id and copyright_id value (separated by ":"), store it in separate column as idx_license_id and idx_copyright_id. For comments, store the prefix and suffix at column 6 and 7 in CSV line.
Diffstat (limited to 'testdata/loadReport/ok')
-rw-r--r--testdata/loadReport/ok/spdxconv.report9
1 files changed, 5 insertions, 4 deletions
diff --git a/testdata/loadReport/ok/spdxconv.report b/testdata/loadReport/ok/spdxconv.report
index ab58899..a83ade4 100644
--- a/testdata/loadReport/ok/spdxconv.report
+++ b/testdata/loadReport/ok/spdxconv.report
@@ -1,13 +1,14 @@
// comment
//spdxconv:regular
-fileR1,default,unknown,default
-file R2,exist:1,2024,exist:-1
+fileR1,default,0,unknown,default,0,# ,
+file R2,exist,1,2024,exist,-1,// ,
+fileR3,match,-2,2000-2026,match,-3,<!-- ," -->"
//spdxconv:binary
-fileB1,BSD-3-Clause,2000-2026,Author <contact@email.local>
+fileB1,default,0,unknown,default,0,,
// comment
//spdxconv:unknown
// comment
-fileU1,exist:-1,2000,exist:2
+fileU1,default,0,unknown,default,0,,