aboutsummaryrefslogtreecommitdiff
path: root/testdata/loadConfig/config_exists/spdxconv.cfg
AgeCommit message (Collapse)Author
2026-01-15all: allow multiple pattern in match-file-commentShulhan
This makes the configuration more concise where pattern can be split into multi lines. While at it, add more pattern to match-file-comment.
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-13all: split the delete_line_pattern into before and afterShulhan
While at it, also add configuration for delete line before and after for match-copyright section.
2026-01-12config_match_license: remove unused field DeleteMatchShulhan
The line that match with pattern will be replaced with new SPDX license identifier, so no need to guard it with this flag.
2026-01-09all: implement the scan commandShulhan
The scan command scan the files that need to be converted or inserted with SPDX identifiers in the current directory. The result of scan is stored inside a report file named "spdxconv.report". There are no other files modified after scan completed. User then can inspect and modify the report to exclude certain files or changes the behaviour of apply command. Deleting a line in the report means excluding the file from being processed by "apply" command.
2026-01-08cmd/spdxconv: implement "init" commandShulhan
The init command create the spdxconv configuration file in the current directory.
2026-01-08all: add missing license and copyrightShulhan
Ah, the irony.
2026-01-07all: exclude file that have ".license" fileShulhan
If the file X has another file named "X.license" in the same directory, exclude it for being processed. The ".license" is SPDX specific file that contains only SPDX identifiers.
2026-01-06spdxconv: tool to convert license and copyright to SPDX formatShulhan
This is the initial implementation, work in progress, with the following functions, * loading the spdxconv.cfg file * scanning list of files to be converted * detect .git repository and exclude files ignored by .gitignore No conversion logic is implemented yet.