|
1 | 1 | [
|
2 | 2 | {
|
3 |
| - "comment" : ["file_pattern_ending: strings matched against the end of a file name.", |
| 3 | + "comment": ["file_pattern_ending: strings matched against the end of a file name.", |
4 | 4 | "location keys: regular expression matched against the beginning of",
|
5 | 5 | "the file path (relative to the git submodule root).",
|
6 | 6 | "spdx: list of SPDX-License-Expression's allowed in the matching files.",
|
|
9 | 9 | "unless they are examples",
|
10 | 10 | "Files with other endings can also be build system files"
|
11 | 11 | ],
|
12 |
| - "file_pattern_ending" : ["CMakeLists.txt", ".cmake", ".pro", ".pri", ".prf", |
| 12 | + "file_pattern_ending": ["CMakeLists.txt", ".cmake", ".pro", ".pri", ".prf", |
13 | 13 | "configure", "configure.bat", "cmake.in", "plist.in", "CMakeLists.txt.in",
|
14 |
| - ".cmake.conf", ".gitattributes", ".gitignore", ".tag", "ci_config_linux.json", |
| 14 | + ".cmake.conf", ".tag", "ci_config_linux.json", |
15 | 15 | ".yaml", ".qrc", "BLACKLIST"],
|
16 |
| - "location" : { |
17 |
| - "" : { |
18 |
| - "comment" : "Default", |
19 |
| - "file type" : "build system", |
20 |
| - "spdx" : ["BSD-3-Clause"] |
| 16 | + "location": { |
| 17 | + "": { |
| 18 | + "comment": "Default", |
| 19 | + "file type": "build system", |
| 20 | + "spdx": ["BSD-3-Clause"] |
21 | 21 | },
|
22 |
| - "(.*)(examples/|snippets/)" : { |
23 |
| - "comment" : "Example takes precedent", |
24 |
| - "file type" : "examples and snippets", |
25 |
| - "spdx" : ["LicenseRef-Qt-Commercial OR BSD-3-Clause"] |
| 22 | + "(.*)(examples/|snippets/)": { |
| 23 | + "comment": "Example takes precedent", |
| 24 | + "file type": "examples and snippets", |
| 25 | + "spdx": ["LicenseRef-Qt-Commercial OR BSD-3-Clause"] |
26 | 26 | }
|
27 | 27 | }
|
28 | 28 | },
|
29 | 29 | {
|
30 |
| - "comments" : ["Files with the following endings are Tool licensed,", |
| 30 | + "comments": ["Files with the following endings are infrastructure licensed"], |
| 31 | + "file_pattern_ending": [".gitattributes", ".gitignore", ".gitmodules", ".gitreview", |
| 32 | + "_clang-format", "licenseRule.json", "REUSE.toml"], |
| 33 | + "location":{ |
| 34 | + "": { |
| 35 | + "comment": "Default", |
| 36 | + "file type": "infrastructure", |
| 37 | + "spdx": ["LicenseRef-Qt-Commercial OR BSD-3-Clause"] |
| 38 | + } |
| 39 | + } |
| 40 | + }, |
| 41 | + { |
| 42 | + "comments": ["Files with the following endings are Tool licensed,", |
31 | 43 | "unless they are examples.",
|
32 | 44 | "Files with other endings can also be tool files."],
|
33 |
| - "file_pattern_ending" : [".sh", ".py", ".pl", ".bat", ".ps1"], |
34 |
| - "location" :{ |
35 |
| - "" : { |
36 |
| - "comment" : "Default", |
37 |
| - "file type" : "tools and utils", |
38 |
| - "spdx" : ["LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0"] |
| 45 | + "file_pattern_ending": [".sh", ".py", ".pl", ".bat", ".ps1"], |
| 46 | + "location":{ |
| 47 | + "": { |
| 48 | + "comment": "Default", |
| 49 | + "file type": "tools and utils", |
| 50 | + "spdx": ["LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0"] |
39 | 51 | },
|
40 |
| - "(.*)(examples/|snippets/)" : { |
41 |
| - "comment" : "Example takes precedent", |
42 |
| - "file type" : "examples and snippets", |
43 |
| - "spdx" : ["LicenseRef-Qt-Commercial OR BSD-3-Clause"] |
| 52 | + "(.*)(examples/|snippets/)": { |
| 53 | + "comment": "Example takes precedent", |
| 54 | + "file type": "examples and snippets", |
| 55 | + "spdx": ["LicenseRef-Qt-Commercial OR BSD-3-Clause"] |
44 | 56 | }
|
45 | 57 | }
|
46 | 58 | },
|
47 | 59 | {
|
48 |
| - "comment" : "Files with the following endings are Documentation licensed.", |
49 |
| - "file_pattern_ending" : [".qdoc", ".qdocinc" , ".qdocconf", "README", "qt_attribution.json", |
50 |
| - "REUSE.toml", "licenseRule.json", ".css", ".metainfo"], |
51 |
| - "location" :{ |
52 |
| - "" : { |
53 |
| - "comment" : "", |
54 |
| - "file type" : "documentation", |
55 |
| - "spdx" : ["LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only"] |
| 60 | + "comment": "Files with the following endings are Documentation licensed.", |
| 61 | + "file_pattern_ending": [".qdoc", ".qdocinc" , ".qdocconf", "README", "qt_attribution.json", |
| 62 | + ".css", ".metainfo"], |
| 63 | + "location":{ |
| 64 | + "": { |
| 65 | + "comment": "", |
| 66 | + "file type": "documentation", |
| 67 | + "spdx": ["LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only"] |
56 | 68 | }
|
57 | 69 | }
|
58 | 70 | },
|
59 | 71 | {
|
60 |
| - "comment" : ["All other files", |
| 72 | + "comment": ["All other files", |
61 | 73 | "The licensing is defined only by the file location in the Qt module repository.",
|
62 | 74 | "NO <file_pattern_ending> key for this case!",
|
63 | 75 | "This needs to be the last entry of the file."],
|
64 |
| - "location" : { |
65 |
| - "" : { |
66 |
| - "comment" : "Default", |
67 |
| - "file type" : "module and plugin", |
68 |
| - "spdx" : ["LicenseRef-Qt-Commercial OR GPL-3.0-only"] |
| 76 | + "location": { |
| 77 | + "": { |
| 78 | + "comment": "Default", |
| 79 | + "file type": "module and plugin", |
| 80 | + "spdx": ["LicenseRef-Qt-Commercial OR GPL-3.0-only"] |
69 | 81 | },
|
70 |
| - "dist/" : { |
71 |
| - "comment" : "Default", |
72 |
| - "file type" : "documentation", |
73 |
| - "spdx" : ["LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only"] |
| 82 | + "dist/": { |
| 83 | + "comment": "Default", |
| 84 | + "file type": "documentation", |
| 85 | + "spdx": ["LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only"] |
74 | 86 | },
|
75 |
| - "src/" : { |
76 |
| - "comment" : "Default", |
77 |
| - "file type" : "module and plugin", |
78 |
| - "spdx" : ["LicenseRef-Qt-Commercial OR GPL-3.0-only"] |
| 87 | + "src/": { |
| 88 | + "comment": "Default", |
| 89 | + "file type": "module and plugin", |
| 90 | + "spdx": ["LicenseRef-Qt-Commercial OR GPL-3.0-only"] |
79 | 91 | },
|
80 |
| - "plugins/" : { |
81 |
| - "comment" : "Default", |
82 |
| - "file type" : "module and plugin", |
83 |
| - "spdx" : ["LicenseRef-Qt-Commercial OR GPL-3.0-only"] |
| 92 | + "plugins/": { |
| 93 | + "comment": "Default", |
| 94 | + "file type": "module and plugin", |
| 95 | + "spdx": ["LicenseRef-Qt-Commercial OR GPL-3.0-only"] |
84 | 96 | },
|
85 |
| - "tests/" : { |
86 |
| - "comment" : "Default", |
87 |
| - "file type" : "test", |
88 |
| - "spdx" : ["LicenseRef-Qt-Commercial OR GPL-3.0-only"] |
| 97 | + "tests/": { |
| 98 | + "comment": "Default", |
| 99 | + "file type": "test", |
| 100 | + "spdx": ["LicenseRef-Qt-Commercial OR GPL-3.0-only"] |
89 | 101 | },
|
90 |
| - "(.*)(examples/|snippets/)" : { |
91 |
| - "comment" : "Default", |
92 |
| - "file type" : "examples and snippets", |
93 |
| - "spdx" : ["LicenseRef-Qt-Commercial OR BSD-3-Clause"] |
| 102 | + "(.*)(examples/|snippets/)": { |
| 103 | + "comment": "Default", |
| 104 | + "file type": "examples and snippets", |
| 105 | + "spdx": ["LicenseRef-Qt-Commercial OR BSD-3-Clause"] |
94 | 106 | },
|
95 |
| - "(examples|.*).*doc/images/" : { |
96 |
| - "comment" : "Default", |
97 |
| - "file type" : "documentation", |
98 |
| - "spdx" : ["LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only"] |
| 107 | + "(examples|.*).*doc/images/": { |
| 108 | + "comment": "Default", |
| 109 | + "file type": "documentation", |
| 110 | + "spdx": ["LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only"] |
99 | 111 | }
|
100 | 112 | }
|
101 | 113 | }
|
|
0 commit comments