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.lark. And if this default does
21           not exists then script reads ./full-grammar.lark.
22
23       --verbose, -v
24           Print more human friendly messages. Otherwise just exits with error
25           code zero if license is valid otherwise with error code 1 if
26           license is invalid.
27

DESCRIPTION

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

AUTHORS

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