diff options
| author | Shulhan <ms@kilabit.info> | 2026-01-13 21:08:26 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-01-14 04:10:44 +0700 |
| commit | a2bfa5ec9539f9063e33519e245ae00193783750 (patch) | |
| tree | dd15bf22d9b7df7b2079103fbd248c0eb717b59e /testdata/loadReport/ok | |
| parent | 3bc8f7ea570c726d88f4e0d31910b9eec999ce46 (diff) | |
| download | spdxconv-a2bfa5ec9539f9063e33519e245ae00193783750.tar.xz | |
all: get the copyright year from git history
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.
Diffstat (limited to 'testdata/loadReport/ok')
| -rw-r--r-- | testdata/loadReport/ok/spdxconv.report | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testdata/loadReport/ok/spdxconv.report b/testdata/loadReport/ok/spdxconv.report index ef027b8..cfb222d 100644 --- a/testdata/loadReport/ok/spdxconv.report +++ b/testdata/loadReport/ok/spdxconv.report @@ -3,14 +3,14 @@ // comment //spdxconv:regular -fileR1,default,0,unknown,default,0,# , +fileR1,default,0,,default,0,# , file R2,exist,1,2024,exist,-1,// , fileR3,match,-2,2000-2026,match,-3,<!-- ," -->" //spdxconv:binary -fileB1,default,0,unknown,default,0,, +fileB1,default,0,,default,0,, // comment //spdxconv:unknown // comment -fileU1,default,0,unknown,default,0,, +fileU1,default,0,,default,0,, |
