From 187cf1cb9cc684f3860426be86e9c682aa6c849f Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sat, 10 Jan 2026 18:20:52 +0700 Subject: 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. --- testdata/loadReport/ok/spdxconv.report | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'testdata/loadReport') 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 +fileB1,default,0,unknown,default,0,, // comment //spdxconv:unknown // comment -fileU1,exist:-1,2000,exist:2 +fileU1,default,0,unknown,default,0,, -- cgit v1.3-6-g1900