1LICENSE-FEDORA2SPDX(1)         License Validate         LICENSE-FEDORA2SPDX(1)
2
3
4

NAME

6       license-fedora2spdx - Converts old Fedora license string to SPDX
7       identifier.
8

SYNOPSIS

10       license-fedora2spdx [-h] [--file FILE] [--verbose] license
11
12       positional arguments: license license string. E.g., 'GPL or MIT'.
13

OPTIONS

15       -h, --help
16           Show help message and exit.
17
18       --file FILE
19           Read the grammar from this file. Default is
20           /usr/share/license-validate/grammar-shortnames.lark. And if this
21           default does not exists then script reads
22           ./full-grammar-shortnames.lark.
23
24       --verbose, -v
25           Print more human friendly messages. Otherwise just exits with error
26           code zero if license is valid otherwise with error code 1 if
27           license is invalid.
28

DESCRIPTION

30       Takes license string in old short format (as stated on Licensing wiki)
31       and converts it to formula of SPDX identifiers.
32
33       It warns you when the short name can be converted to multiple SPDX
34       identifiers. You must then research which license is correct.
35
36       This script does not check source files and does not check whether the
37       license is actually correct. For this purpose you may use licensecheck.
38

AUTHORS

40       Miroslav Suchý <msuchy@redhat.com>
41
42
43
44license-validate                  08/04/2023            LICENSE-FEDORA2SPDX(1)
Impressum