Skip to content

Commit faf5c15

Browse files
committed
Allow use of code under later versions of GPL
The license type of Arduino Lint is hereby changed from "GPL-3.0-only" to "GPL-3.0-or-later", for the reason explained here: https://www.gnu.org/licenses/gpl-faq.html#VersionThreeOrLater Arduino Lint's GPL 3.0 license itself provides for either type, but the "or later" exception is only available if it is explicitly stated: > If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" > applies to it, you have the option of following the terms and conditions either of that numbered version or of any > later version published by the Free Software Foundation. This was not previously done in the Arduino Lint code base, meaning that it could not be used by code licensed under some later version of GPL. The previous use of the "GPL-3.0-only" license type was not a conscious decision, but simply the result of copy/pasting the license header from another project which happened to be "GPL-3.0-only". I simply copy/pasted the license from Arduino CLI, which is also "GPL-3.0-only". Since Arduino has complete ownership of all code subject to this change, no external permission must be obtained to make this change.
1 parent 69462b8 commit faf5c15

File tree

92 files changed

+265
-162
lines changed

Some content is hidden

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

92 files changed

+265
-162
lines changed

Diff for: etc/schemas/arduino-boards-txt-definitions-schema.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema#",
33
"$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-boards-txt-definitions-schema.json",
44
"title": "Shared definitions for the Arduino boards.txt schemas",
5+
"$comment": "This 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.",
56
"definitions": {
67
"propertiesObjects": {
78
"menu": {

Diff for: etc/schemas/arduino-boards-txt-permissive-schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-boards-txt-permissive-schema.json",
44
"title": "Arduino boards.txt JSON permissive schema",
55
"description": "boards.txt contains the boards definitions of Arduino platforms. See: https://arduino.github.io/arduino-cli/latest/platform-specification/#boardstxt",
6-
"$comment": "For information on the boards.txt format, see https://godoc.org/github.com/arduino/go-properties-orderedmap",
6+
"$comment": "For information on the boards.txt format, see https://godoc.org/github.com/arduino/go-properties-orderedmap. This 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.",
77
"type": "object",
88
"properties": {
99
"menu": {

Diff for: etc/schemas/arduino-boards-txt-schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-boards-txt-schema.json",
44
"title": "Arduino boards.txt JSON schema",
55
"description": "boards.txt contains the boards definitions of Arduino platforms. See: https://arduino.github.io/arduino-cli/latest/platform-specification/#boardstxt",
6-
"$comment": "For information on the boards.txt format, see https://godoc.org/github.com/arduino/go-properties-orderedmap",
6+
"$comment": "For information on the boards.txt format, see https://godoc.org/github.com/arduino/go-properties-orderedmap. This 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.",
77
"type": "object",
88
"properties": {
99
"menu": {

Diff for: etc/schemas/arduino-boards-txt-strict-schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-boards-txt-strict-schema.json",
44
"title": "Arduino boards.txt JSON strict schema",
55
"description": "boards.txt contains the boards definitions of Arduino platforms. See: https://arduino.github.io/arduino-cli/latest/platform-specification/#boardstxt",
6-
"$comment": "For information on the boards.txt format, see https://godoc.org/github.com/arduino/go-properties-orderedmap",
6+
"$comment": "For information on the boards.txt format, see https://godoc.org/github.com/arduino/go-properties-orderedmap. This 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.",
77
"type": "object",
88
"properties": {
99
"menu": {

Diff for: etc/schemas/arduino-library-properties-definitions-schema.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema#",
33
"$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-library-properties-definitions-schema.json",
44
"title": "Shared definitions for the Arduino library.properties schemas",
5+
"$comment": "This 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.",
56
"type": "object",
67
"definitions": {
78
"general": {

Diff for: etc/schemas/arduino-library-properties-permissive-schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-library-properties-permissive-schema.json",
44
"title": "Arduino library.properties JSON permissive schema",
55
"description": "library.properties is the metadata file for Arduino libraries. This schema defines the minimum requirements for this file. See: https://arduino.github.io/arduino-cli/latest/library-specification/#library-metadata",
6-
"$comment": "For information on the Arduino library.properties format, see https://godoc.org/github.com/arduino/go-properties-orderedmap",
6+
"$comment": "For information on the Arduino library.properties format, see https://godoc.org/github.com/arduino/go-properties-orderedmap. This 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.",
77
"type": "object",
88
"properties": {
99
"name": {

Diff for: etc/schemas/arduino-library-properties-schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-library-properties-schema.json",
44
"title": "Arduino library.properties JSON schema",
55
"description": "library.properties is the metadata file for Arduino libraries. See: https://arduino.github.io/arduino-cli/latest/library-specification/#library-metadata",
6-
"$comment": "For information on the Arduino library.properties format, see https://godoc.org/github.com/arduino/go-properties-orderedmap",
6+
"$comment": "For information on the Arduino library.properties format, see https://godoc.org/github.com/arduino/go-properties-orderedmap. This 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.",
77
"type": "object",
88
"properties": {
99
"name": {

Diff for: etc/schemas/arduino-library-properties-strict-schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-library-properties-strict-schema.json",
44
"title": "Arduino library.properties strict JSON schema",
55
"description": "library.properties is the metadata file for Arduino libraries. This schema defines the recommended format. See: https://arduino.github.io/arduino-cli/latest/library-specification/#library-metadata",
6-
"$comment": "For information on the Arduino library.properties format, see https://godoc.org/github.com/arduino/go-properties-orderedmap",
6+
"$comment": "For information on the Arduino library.properties format, see https://godoc.org/github.com/arduino/go-properties-orderedmap. This 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.",
77
"type": "object",
88
"properties": {
99
"name": {

Diff for: etc/schemas/arduino-package-index-definitions-schema.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema#",
33
"$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-package-index-definitions-schema.json",
44
"title": "Shared definitions for the Arduino Package Index schemas",
5+
"$comment": "This 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.",
56
"definitions": {
67
"root": {
78
"base": {

Diff for: etc/schemas/arduino-package-index-permissive-schema.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-package-index-permissive-schema.json",
44
"title": "Arduino Package Index JSON permissive schema",
55
"description": "Package indexes define Arduino hardware packages. See: https://arduino.github.io/arduino-cli/latest/package_index_json-specification/. This schema defines the minimum accepted data format.",
6+
"$comment": "This 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.",
67
"allOf": [
78
{
89
"$ref": "arduino-package-index-definitions-schema.json#/definitions/root/permissive/object"

Diff for: etc/schemas/arduino-package-index-schema.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-package-index-schema.json",
44
"title": "Arduino Package Index JSON schema",
55
"description": "Package indexes define Arduino hardware packages. See: https://arduino.github.io/arduino-cli/latest/package_index_json-specification/. This schema defines the data format per the specification.",
6+
"$comment": "This 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.",
67
"allOf": [
78
{
89
"$ref": "arduino-package-index-definitions-schema.json#/definitions/root/specification/object"

Diff for: etc/schemas/arduino-package-index-strict-schema.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-package-index-strict-schema.json",
44
"title": "Arduino Package Index JSON strict schema",
55
"description": "Package indexes define Arduino hardware packages. See: https://arduino.github.io/arduino-cli/latest/package_index_json-specification/. This schema defines the best practices for the data format, above and beyond the specification.",
6+
"$comment": "This 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.",
67
"allOf": [
78
{
89
"$ref": "arduino-package-index-definitions-schema.json#/definitions/root/strict/object"

Diff for: etc/schemas/arduino-platform-txt-definitions-schema.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema#",
33
"$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-platform-txt-definitions-schema.json",
44
"title": "Shared definitions for the Arduino platform.txt schemas",
5+
"$comment": "This 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.",
56
"definitions": {
67
"propertiesObjects": {
78
"name": {

Diff for: etc/schemas/arduino-platform-txt-permissive-schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-platform-txt-permissive-schema.json",
44
"title": "Arduino platform.txt JSON permissive schema",
55
"description": "platform.txt contains the platform definitions of Arduino platforms. See: https://arduino.github.io/arduino-cli/latest/platform-specification/#platformtxt",
6-
"$comment": "For information on the platform.txt format, see https://godoc.org/github.com/arduino/go-properties-orderedmap",
6+
"$comment": "For information on the platform.txt format, see https://godoc.org/github.com/arduino/go-properties-orderedmap. This 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.",
77
"type": "object",
88
"properties": {
99
"name": {

Diff for: etc/schemas/arduino-platform-txt-schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-platform-txt-schema.json",
44
"title": "Arduino platform.txt JSON schema",
55
"description": "platform.txt contains the platform definitions of Arduino platforms. See: https://arduino.github.io/arduino-cli/latest/platform-specification/#platformtxt",
6-
"$comment": "For information on the platform.txt format, see https://godoc.org/github.com/arduino/go-properties-orderedmap",
6+
"$comment": "For information on the platform.txt format, see https://godoc.org/github.com/arduino/go-properties-orderedmap. This 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.",
77
"type": "object",
88
"properties": {
99
"name": {

Diff for: etc/schemas/arduino-platform-txt-strict-schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-platform-txt-strict-schema.json",
44
"title": "Arduino platform.txt JSON strict schema",
55
"description": "platform.txt contains the platform definitions of Arduino platforms. See: https://arduino.github.io/arduino-cli/latest/platform-specification/#platformtxt",
6-
"$comment": "For information on the platform.txt format, see https://godoc.org/github.com/arduino/go-properties-orderedmap",
6+
"$comment": "For information on the platform.txt format, see https://godoc.org/github.com/arduino/go-properties-orderedmap. This 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.",
77
"type": "object",
88
"properties": {
99
"name": {

Diff for: etc/schemas/arduino-programmers-txt-definitions-schema.json

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema#",
33
"$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-programmers-txt-definitions-schema.json",
44
"title": "Shared definitions for the Arduino programmers.txt schemas",
5+
"$comment": "This 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.",
56
"definitions": {
67
"propertiesObjects": {
78
"programmerID": {

Diff for: etc/schemas/arduino-programmers-txt-permissive-schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-programmers-txt-permissive-schema.json",
44
"title": "Arduino programmers.txt JSON permissive schema",
55
"description": "programmers.txt contains the definitions of Arduino hardware programmers. See: https://arduino.github.io/arduino-cli/latest/platform-specification/#programmerstxt",
6-
"$comment": "For information on the programmers.txt format, see https://godoc.org/github.com/arduino/go-properties-orderedmap",
6+
"$comment": "For information on the programmers.txt format, see https://godoc.org/github.com/arduino/go-properties-orderedmap. This 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.",
77
"type": "object",
88
"patternProperties": {
99
".+": {

Diff for: etc/schemas/arduino-programmers-txt-schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-programmers-txt-schema.json",
44
"title": "Arduino programmers.txt JSON schema",
55
"description": "programmers.txt contains the definitions of Arduino hardware programmers. See: https://arduino.github.io/arduino-cli/latest/platform-specification/#programmerstxt",
6-
"$comment": "For information on the programmers.txt format, see https://godoc.org/github.com/arduino/go-properties-orderedmap",
6+
"$comment": "For information on the programmers.txt format, see https://godoc.org/github.com/arduino/go-properties-orderedmap. This 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.",
77
"type": "object",
88
"patternProperties": {
99
".+": {

Diff for: etc/schemas/arduino-programmers-txt-strict-schema.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-programmers-txt-strict-schema.json",
44
"title": "Arduino programmers.txt JSON strict schema",
55
"description": "programmers.txt contains the definitions of Arduino hardware programmers. See: https://arduino.github.io/arduino-cli/latest/platform-specification/#programmerstxt",
6-
"$comment": "For information on the programmers.txt format, see https://godoc.org/github.com/arduino/go-properties-orderedmap",
6+
"$comment": "For information on the programmers.txt format, see https://godoc.org/github.com/arduino/go-properties-orderedmap. This 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.",
77
"type": "object",
88
"patternProperties": {
99
".+": {

Diff for: etc/schemas/general-definitions-schema.json

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/general-definitions-schema.json",
44
"title": "Shared definitions",
55
"description": "Definitions for use in schemas.",
6+
"$comment": "This 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.",
67
"type": "object",
78
"definitions": {
89
"patternObjects": {

Diff for: internal/cli/cli.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
//
33
// Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
44
//
5-
// This software is released under the GNU General Public License version 3,
6-
// which covers the main part of Arduino Lint.
5+
// This software is released under the GNU General Public License, either
6+
// version 3 of the License, or (at your option) any later version.
7+
// This license covers the main part of Arduino Lint.
78
// The terms of this license can be found at:
89
// https://www.gnu.org/licenses/gpl-3.0.en.html
910
//

Diff for: internal/command/command.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
//
33
// Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
44
//
5-
// This software is released under the GNU General Public License version 3,
6-
// which covers the main part of Arduino Lint.
5+
// This software is released under the GNU General Public License, either
6+
// version 3 of the License, or (at your option) any later version.
7+
// This license covers the main part of Arduino Lint.
78
// The terms of this license can be found at:
89
// https://www.gnu.org/licenses/gpl-3.0.en.html
910
//

Diff for: internal/configuration/configuration.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
//
33
// Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
44
//
5-
// This software is released under the GNU General Public License version 3,
6-
// which covers the main part of Arduino Lint.
5+
// This software is released under the GNU General Public License, either
6+
// version 3 of the License, or (at your option) any later version.
7+
// This license covers the main part of Arduino Lint.
78
// The terms of this license can be found at:
89
// https://www.gnu.org/licenses/gpl-3.0.en.html
910
//

Diff for: internal/configuration/configuration_test.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
//
33
// Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
44
//
5-
// This software is released under the GNU General Public License version 3,
6-
// which covers the main part of Arduino Lint.
5+
// This software is released under the GNU General Public License, either
6+
// version 3 of the License, or (at your option) any later version.
7+
// This license covers the main part of Arduino Lint.
78
// The terms of this license can be found at:
89
// https://www.gnu.org/licenses/gpl-3.0.en.html
910
//

Diff for: internal/configuration/defaults.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
//
33
// Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
44
//
5-
// This software is released under the GNU General Public License version 3,
6-
// which covers the main part of Arduino Lint.
5+
// This software is released under the GNU General Public License, either
6+
// version 3 of the License, or (at your option) any later version.
7+
// This license covers the main part of Arduino Lint.
78
// The terms of this license can be found at:
89
// https://www.gnu.org/licenses/gpl-3.0.en.html
910
//

Diff for: internal/configuration/rulemode/rulemode.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22
//
33
// Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
44
//
5-
// This software is released under the GNU General Public License version 3,
6-
// which covers the main part of Arduino Lint.
5+
// This software is released under the GNU General Public License, either
6+
// version 3 of the License, or (at your option) any later version.
7+
// This license covers the main part of Arduino Lint.
78
// The terms of this license can be found at:
89
// https://www.gnu.org/licenses/gpl-3.0.en.html
910
//

0 commit comments

Comments
 (0)