1
0
Fork 0

Add qmk license-check developer-level CLI command. (#22075)

This commit is contained in:
Nick Brassel 2023-11-11 20:50:33 +11:00 committed by GitHub
parent 6876fbe51d
commit 211fbbd16d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 240 additions and 0 deletions

View file

@ -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.
"""]),
]