Add qmk license-check
developer-level CLI command. (#22075)
This commit is contained in:
parent
6876fbe51d
commit
211fbbd16d
3 changed files with 240 additions and 0 deletions
|
@ -189,3 +189,126 @@ GENERATED_HEADER_SH_LIKE = '''\
|
|||
#
|
||||
################################################################################
|
||||
'''
|
||||
|
||||
LICENSE_TEXTS = [
|
||||
(
|
||||
'GPL-2.0-or-later', [
|
||||
"""\
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
""", """\
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or any later version.
|
||||
"""
|
||||
]
|
||||
),
|
||||
('GPL-2.0-only', ["""\
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License as
|
||||
published by the Free Software Foundation; version 2.
|
||||
"""]),
|
||||
(
|
||||
'GPL-3.0-or-later', [
|
||||
"""\
|
||||
This program is free software: you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License as
|
||||
published by the Free Software Foundation, either version 3 of
|
||||
the License, or (at your option) any later version.
|
||||
""", """\
|
||||
This program is free software: you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License as
|
||||
published by the Free Software Foundation, either version 3 of
|
||||
the License, or any later version.
|
||||
"""
|
||||
]
|
||||
),
|
||||
('GPL-3.0-only', ["""\
|
||||
This program is free software: you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License as
|
||||
published by the Free Software Foundation, version 3.
|
||||
"""]),
|
||||
(
|
||||
'LGPL-2.1-or-later', [
|
||||
"""\
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public License
|
||||
as published by the Free Software Foundation; either version 2.1
|
||||
of the License, or (at your option) any later version.
|
||||
""", """\
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public License
|
||||
as published by the Free Software Foundation; either version 2.1
|
||||
of the License, or any later version.
|
||||
""", """\
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public License
|
||||
as published by the Free Software Foundation; either version 2.1
|
||||
of the License, or (at your option) any later version.
|
||||
""", """\
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public License
|
||||
as published by the Free Software Foundation; either version 2.1
|
||||
of the License, or any later version.
|
||||
"""
|
||||
]
|
||||
),
|
||||
(
|
||||
'LGPL-2.1-only', [
|
||||
"""\
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public License as
|
||||
published by the Free Software Foundation; version 2.1.
|
||||
""", """\
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public License as
|
||||
published by the Free Software Foundation; version 2.1.
|
||||
"""
|
||||
]
|
||||
),
|
||||
(
|
||||
'LGPL-3.0-or-later', [
|
||||
"""\
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public License
|
||||
as published by the Free Software Foundation; either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
""", """\
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public License
|
||||
as published by the Free Software Foundation; either version 3
|
||||
of the License, or any later version.
|
||||
""", """\
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public License
|
||||
as published by the Free Software Foundation; either version 3
|
||||
of the License, or (at your option) any later version.
|
||||
""", """\
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public License
|
||||
as published by the Free Software Foundation; either version 3
|
||||
of the License, or any later version.
|
||||
"""
|
||||
]
|
||||
),
|
||||
(
|
||||
'LGPL-3.0-only', [
|
||||
"""\
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public License as
|
||||
published by the Free Software Foundation; version 3.
|
||||
""", """\
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public License as
|
||||
published by the Free Software Foundation; version 3.
|
||||
"""
|
||||
]
|
||||
),
|
||||
('Apache-2.0', ["""\
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
"""]),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue