aboutsummaryrefslogtreecommitdiff
path: root/testdata/loadReport
AgeCommit message (Collapse)Author
2026-01-14all: get the copyright year from git historyShulhan
If the line that match with pattern on match-copyright does not contains year, or there is no match, try to get the year from the first commit of the file using "git log --follow ..." command. If no commit history or its not using git, use default copyright year from configuration.
2026-01-11all: ignore symlink, COPYING, LICENSE, and LICENSESShulhan
For symlink, we ignore for now. COPYING, LICENSE, and LICENSES are common files part of SPDX/reuse specifications. While at it, fix checking if path is ignored by git by passing the relative path instead of base name.
2026-01-10report: store the index line number and comments in reportShulhan
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.
2026-01-10report: add method loadReportShulhan
The loadReport method load the ReportFile from the current directory, as written by [report.write] method.