Skip to content

Commit 74f4ac0

Browse files
authored
Dual License (#82)
Change the license of the project to dual license Apache-2.0 OR GPL-2.0.
1 parent ba32e51 commit 74f4ac0

86 files changed

Lines changed: 2072 additions & 44 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.clang-format

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Copyright 2024 Aurora Operations, Inc.
22
#
3+
# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0
4+
#
5+
# This work is dual licensed.
6+
# You may use it under Apache-2.0 or GPL-2.0 at your option.
7+
#
38
# Licensed under the Apache License, Version 2.0 (the "License");
49
# you may not use this file except in compliance with the License.
510
# You may obtain a copy of the License at
@@ -11,6 +16,23 @@
1116
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1217
# See the License for the specific language governing permissions and
1318
# limitations under the License.
19+
#
20+
# OR
21+
#
22+
# This program is free software; you can redistribute it and/or
23+
# modify it under the terms of the GNU General Public License
24+
# as published by the Free Software Foundation; either version 2
25+
# of the License, or (at your option) any later version.
26+
#
27+
# This program is distributed in the hope that it will be useful,
28+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
29+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30+
# GNU General Public License for more details.
31+
#
32+
# You should have received a copy of the GNU General Public License
33+
# along with this program; if not, see
34+
# <https://www.gnu.org/licenses/>.
35+
1436

1537
---
1638
Language: Cpp

.github/license-check/header-apache2-hashtag.txt

Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Copyright %year% Aurora Operations, Inc.
2+
#
3+
# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0
4+
#
5+
# This work is dual licensed.
6+
# You may use it under Apache-2.0 or GPL-2.0 at your option.
7+
#
8+
# Licensed under the Apache License, Version 2.0 (the "License");
9+
# you may not use this file except in compliance with the License.
10+
# You may obtain a copy of the License at
11+
#
12+
# http://www.apache.org/licenses/LICENSE-2.0
13+
#
14+
# Unless required by applicable law or agreed to in writing, software
15+
# distributed under the License is distributed on an "AS IS" BASIS,
16+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
# See the License for the specific language governing permissions and
18+
# limitations under the License.
19+
#
20+
# OR
21+
#
22+
# This program is free software; you can redistribute it and/or
23+
# modify it under the terms of the GNU General Public License
24+
# as published by the Free Software Foundation; either version 2
25+
# of the License, or (at your option) any later version.
26+
#
27+
# This program is distributed in the hope that it will be useful,
28+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
29+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30+
# GNU General Public License for more details.
31+
#
32+
# You should have received a copy of the GNU General Public License
33+
# along with this program; if not, see
34+
# <https://www.gnu.org/licenses/>.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
; Copyright %year% Aurora Operations, Inc.
2+
;
3+
; SPDX-License-Identifier: Apache-2.0 OR GPL-2.0
4+
;
5+
; This work is dual licensed.
6+
; You may use it under Apache-2.0 or GPL-2.0 at your option.
7+
;
8+
; Licensed under the Apache License, Version 2.0 (the "License");
9+
; you may not use this file except in compliance with the License.
10+
; You may obtain a copy of the License at
11+
;
12+
; http://www.apache.org/licenses/LICENSE-2.0
13+
;
14+
; Unless required by applicable law or agreed to in writing, software
15+
; distributed under the License is distributed on an "AS IS" BASIS,
16+
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17+
; See the License for the specific language governing permissions and
18+
; limitations under the License.
19+
;
20+
; OR
21+
;
22+
; This program is free software; you can redistribute it and/or
23+
; modify it under the terms of the GNU General Public License
24+
; as published by the Free Software Foundation; either version 2
25+
; of the License, or (at your option) any later version.
26+
;
27+
; This program is distributed in the hope that it will be useful,
28+
; but WITHOUT ANY WARRANTY; without even the implied warranty of
29+
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30+
; GNU General Public License for more details.
31+
;
32+
; You should have received a copy of the GNU General Public License
33+
; along with this program; if not, see
34+
; <https://www.gnu.org/licenses/>.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/*
2+
* Copyright %year% Aurora Operations, Inc.
3+
*
4+
* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0
5+
*
6+
* This work is dual licensed.
7+
* You may use it under Apache-2.0 or GPL-2.0 at your option.
8+
*
9+
* Licensed under the Apache License, Version 2.0 (the "License");
10+
* you may not use this file except in compliance with the License.
11+
* You may obtain a copy of the License at
12+
*
13+
* http://www.apache.org/licenses/LICENSE-2.0
14+
*
15+
* Unless required by applicable law or agreed to in writing, software
16+
* distributed under the License is distributed on an "AS IS" BASIS,
17+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18+
* See the License for the specific language governing permissions and
19+
* limitations under the License.
20+
*
21+
* OR
22+
*
23+
* This program is free software; you can redistribute it and/or
24+
* modify it under the terms of the GNU General Public License
25+
* as published by the Free Software Foundation; either version 2
26+
* of the License, or (at your option) any later version.
27+
*
28+
* This program is distributed in the hope that it will be useful,
29+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
30+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31+
* GNU General Public License for more details.
32+
*
33+
* You should have received a copy of the GNU General Public License
34+
* along with this program; if not, see
35+
* <https://www.gnu.org/licenses/>.
36+
*/

.github/license-check/header-apache2-semicolon.txt

Lines changed: 0 additions & 13 deletions
This file was deleted.

.github/license-check/header-apache2-slash-star.txt

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/license-check/license-config.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@
77
".clang-format",
88
".gitignore"
99
],
10-
"license": "./.github/license-check/header-apache2-hashtag.txt"
10+
"license": "./.github/license-check/header-apache2-or-gpl2-hashtag.txt"
1111
},
1212
{
1313
"include": [
1414
"**/*.c",
1515
"**/*.h",
1616
"**/*.cpp"
1717
],
18-
"license": "./.github/license-check/header-apache2-slash-star.txt"
18+
"license": "./.github/license-check/header-apache2-or-gpl2-slash-star.txt"
1919
},
2020
{
2121
"include": [
2222
"**/*.cddl"
2323
],
24-
"license": "./.github/license-check/header-apache2-semicolon.txt"
24+
"license": "./.github/license-check/header-apache2-or-gpl2-semicolon.txt"
2525
},
2626
{
2727
"include": [

.github/workflows/build-and-deploy-docs.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Copyright 2024 Aurora Operations, Inc.
22
#
3+
# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0
4+
#
5+
# This work is dual licensed.
6+
# You may use it under Apache-2.0 or GPL-2.0 at your option.
7+
#
38
# Licensed under the Apache License, Version 2.0 (the "License");
49
# you may not use this file except in compliance with the License.
510
# You may obtain a copy of the License at
@@ -11,6 +16,23 @@
1116
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1217
# See the License for the specific language governing permissions and
1318
# limitations under the License.
19+
#
20+
# OR
21+
#
22+
# This program is free software; you can redistribute it and/or
23+
# modify it under the terms of the GNU General Public License
24+
# as published by the Free Software Foundation; either version 2
25+
# of the License, or (at your option) any later version.
26+
#
27+
# This program is distributed in the hope that it will be useful,
28+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
29+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30+
# GNU General Public License for more details.
31+
#
32+
# You should have received a copy of the GNU General Public License
33+
# along with this program; if not, see
34+
# <https://www.gnu.org/licenses/>.
35+
1436

1537
name: build-and-deploy-docs
1638

.github/workflows/check-license-headers.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Copyright 2024 Aurora Operations, Inc.
22
#
3+
# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0
4+
#
5+
# This work is dual licensed.
6+
# You may use it under Apache-2.0 or GPL-2.0 at your option.
7+
#
38
# Licensed under the Apache License, Version 2.0 (the "License");
49
# you may not use this file except in compliance with the License.
510
# You may obtain a copy of the License at
@@ -11,6 +16,23 @@
1116
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1217
# See the License for the specific language governing permissions and
1318
# limitations under the License.
19+
#
20+
# OR
21+
#
22+
# This program is free software; you can redistribute it and/or
23+
# modify it under the terms of the GNU General Public License
24+
# as published by the Free Software Foundation; either version 2
25+
# of the License, or (at your option) any later version.
26+
#
27+
# This program is distributed in the hope that it will be useful,
28+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
29+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30+
# GNU General Public License for more details.
31+
#
32+
# You should have received a copy of the GNU General Public License
33+
# along with this program; if not, see
34+
# <https://www.gnu.org/licenses/>.
35+
1436

1537
name: check-license-headers
1638

0 commit comments

Comments
 (0)