diff options
| author | Shulhan <ms@kilabit.info> | 2026-01-08 04:29:18 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-01-08 04:29:18 +0700 |
| commit | 2f6ebacaea7851be5c17a970514769dd3e9735e9 (patch) | |
| tree | d34bcd794ae3946d1a5446e7554ec3cfeaa7c40b /testdata/scan/spdxconv.cfg | |
| parent | 161049a3996c574d521d6d3df55998028eb111c0 (diff) | |
| download | spdxconv-2f6ebacaea7851be5c17a970514769dd3e9735e9.tar.xz | |
all: implement conversion for SPDX-License-Identifier
If the file contains "SPDX-License-Identifier", it will not modify it.
The program will move the identifier to the top of file after shebang.
If the spdxconv.cfg contains match-license, and the pattern match with
one of the line in the file, it will use the license_identifier instead
of default one and insert it at the top, after shebang.
If the files does not contains the identifier, it will insert new one
based on default value in spdxconv.cfg file.
Diffstat (limited to 'testdata/scan/spdxconv.cfg')
| -rw-r--r-- | testdata/scan/spdxconv.cfg | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testdata/scan/spdxconv.cfg b/testdata/scan/spdxconv.cfg new file mode 100644 index 0000000..b4e39c6 --- /dev/null +++ b/testdata/scan/spdxconv.cfg @@ -0,0 +1,4 @@ +// SPDX-License-Identifier: GPL-3.0-only +// SPDX-FileCopyrightText: 2025 M. Shulhan <ms@kilabit.info> + +[default] |
