diff options
| author | Shulhan <ms@kilabit.info> | 2026-01-15 23:23:48 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-01-15 23:25:43 +0700 |
| commit | 89af20afc873e44a744af7be8e83730c2f24606d (patch) | |
| tree | 3c59e7eb24b221fba84d6858acf7eea44944ad22 /spdxconv.go | |
| parent | 65045c80372bd2781d8e950f7e64951c662a6f39 (diff) | |
| download | spdxconv-1.0.0.tar.xz | |
spdxconv is a program to insert or convert existing licenses and copyrights
into SPDX formats.
This program works in tandem with [REUSE software](https://reuse.software).
Features:
- *REUSE Integration:* Detects annotations from `REUSE.toml`.
- *Customizable Defaults:* Set default license identifiers and copyright
holders.
- *Smart Comments:* Customizable patterns to set comment syntax based on
file names.
- *Regex Extraction:* Capture existing licenses, years, authors, and
contact info using regex.
- *Git Integration:* Automatically derives the copyright year from the
first commit in git history.
Diffstat (limited to 'spdxconv.go')
| -rw-r--r-- | spdxconv.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spdxconv.go b/spdxconv.go index 8ffe29b..f019d1d 100644 --- a/spdxconv.go +++ b/spdxconv.go @@ -20,6 +20,9 @@ import ( // ConfigFile the file name for configuration file. const ConfigFile = `spdxconv.cfg` +// Version of this software. +const Version = `1.0.0` + // File end with ".license" is SPDX specific file that contains only // identifiers. var suffixLicense = `.license` |
