Allow use of code under later versions of GPL · arduino/arduino-lint@faf5c15 (original) (raw)

92 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
2 2 "$schema": "http://json-schema.org/draft-07/schema#",
3 3 "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-boards-txt-definitions-schema.json",
4 4 "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.",
5 6 "definitions": {
6 7 "propertiesObjects": {
7 8 "menu": {
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
3 3 "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-boards-txt-permissive-schema.json",
4 4 "title": "Arduino boards.txt JSON permissive schema",
5 5 "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.",
7 7 "type": "object",
8 8 "properties": {
9 9 "menu": {
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
3 3 "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-boards-txt-schema.json",
4 4 "title": "Arduino boards.txt JSON schema",
5 5 "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.",
7 7 "type": "object",
8 8 "properties": {
9 9 "menu": {
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
3 3 "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-boards-txt-strict-schema.json",
4 4 "title": "Arduino boards.txt JSON strict schema",
5 5 "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.",
7 7 "type": "object",
8 8 "properties": {
9 9 "menu": {
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
2 2 "$schema": "http://json-schema.org/draft-07/schema#",
3 3 "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-library-properties-definitions-schema.json",
4 4 "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.",
5 6 "type": "object",
6 7 "definitions": {
7 8 "general": {
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
3 3 "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-library-properties-permissive-schema.json",
4 4 "title": "Arduino library.properties JSON permissive schema",
5 5 "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.",
7 7 "type": "object",
8 8 "properties": {
9 9 "name": {
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
3 3 "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-library-properties-schema.json",
4 4 "title": "Arduino library.properties JSON schema",
5 5 "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.",
7 7 "type": "object",
8 8 "properties": {
9 9 "name": {
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
3 3 "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-library-properties-strict-schema.json",
4 4 "title": "Arduino library.properties strict JSON schema",
5 5 "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.",
7 7 "type": "object",
8 8 "properties": {
9 9 "name": {
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
2 2 "$schema": "http://json-schema.org/draft-07/schema#",
3 3 "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-package-index-definitions-schema.json",
4 4 "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.",
5 6 "definitions": {
6 7 "root": {
7 8 "base": {
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
3 3 "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-package-index-permissive-schema.json",
4 4 "title": "Arduino Package Index JSON permissive schema",
5 5 "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.",
6 7 "allOf": [
7 8 {
8 9 "$ref": "arduino-package-index-definitions-schema.json#/definitions/root/permissive/object"
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
3 3 "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-package-index-schema.json",
4 4 "title": "Arduino Package Index JSON schema",
5 5 "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.",
6 7 "allOf": [
7 8 {
8 9 "$ref": "arduino-package-index-definitions-schema.json#/definitions/root/specification/object"
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
3 3 "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-package-index-strict-schema.json",
4 4 "title": "Arduino Package Index JSON strict schema",
5 5 "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.",
6 7 "allOf": [
7 8 {
8 9 "$ref": "arduino-package-index-definitions-schema.json#/definitions/root/strict/object"
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
2 2 "$schema": "http://json-schema.org/draft-07/schema#",
3 3 "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-platform-txt-definitions-schema.json",
4 4 "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.",
5 6 "definitions": {
6 7 "propertiesObjects": {
7 8 "name": {
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
3 3 "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-platform-txt-permissive-schema.json",
4 4 "title": "Arduino platform.txt JSON permissive schema",
5 5 "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.",
7 7 "type": "object",
8 8 "properties": {
9 9 "name": {
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
3 3 "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-platform-txt-schema.json",
4 4 "title": "Arduino platform.txt JSON schema",
5 5 "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.",
7 7 "type": "object",
8 8 "properties": {
9 9 "name": {
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
3 3 "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-platform-txt-strict-schema.json",
4 4 "title": "Arduino platform.txt JSON strict schema",
5 5 "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.",
7 7 "type": "object",
8 8 "properties": {
9 9 "name": {
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
2 2 "$schema": "http://json-schema.org/draft-07/schema#",
3 3 "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-programmers-txt-definitions-schema.json",
4 4 "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.",
5 6 "definitions": {
6 7 "propertiesObjects": {
7 8 "programmerID": {
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
3 3 "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-programmers-txt-permissive-schema.json",
4 4 "title": "Arduino programmers.txt JSON permissive schema",
5 5 "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.",
7 7 "type": "object",
8 8 "patternProperties": {
9 9 ".+": {
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
3 3 "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-programmers-txt-schema.json",
4 4 "title": "Arduino programmers.txt JSON schema",
5 5 "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.",
7 7 "type": "object",
8 8 "patternProperties": {
9 9 ".+": {
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
3 3 "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/arduino-programmers-txt-strict-schema.json",
4 4 "title": "Arduino programmers.txt JSON strict schema",
5 5 "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.",
7 7 "type": "object",
8 8 "patternProperties": {
9 9 ".+": {
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
3 3 "$id": "https://raw.githubusercontent.com/arduino/arduino-lint/main/etc/schemas/general-definitions-schema.json",
4 4 "title": "Shared definitions",
5 5 "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.",
6 7 "type": "object",
7 8 "definitions": {
8 9 "patternObjects": {
Original file line number Diff line number Diff line change
@@ -2,8 +2,9 @@
2 2 //
3 3 // Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
4 4 //
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.
7 8 // The terms of this license can be found at:
8 9 // https://www.gnu.org/licenses/gpl-3.0.en.html
9 10 //
Original file line number Diff line number Diff line change
@@ -2,8 +2,9 @@
2 2 //
3 3 // Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
4 4 //
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.
7 8 // The terms of this license can be found at:
8 9 // https://www.gnu.org/licenses/gpl-3.0.en.html
9 10 //
Original file line number Diff line number Diff line change
@@ -2,8 +2,9 @@
2 2 //
3 3 // Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
4 4 //
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.
7 8 // The terms of this license can be found at:
8 9 // https://www.gnu.org/licenses/gpl-3.0.en.html
9 10 //
Original file line number Diff line number Diff line change
@@ -2,8 +2,9 @@
2 2 //
3 3 // Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
4 4 //
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.
7 8 // The terms of this license can be found at:
8 9 // https://www.gnu.org/licenses/gpl-3.0.en.html
9 10 //
Original file line number Diff line number Diff line change
@@ -2,8 +2,9 @@
2 2 //
3 3 // Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
4 4 //
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.
7 8 // The terms of this license can be found at:
8 9 // https://www.gnu.org/licenses/gpl-3.0.en.html
9 10 //
Original file line number Diff line number Diff line change
@@ -2,8 +2,9 @@
2 2 //
3 3 // Copyright 2020 ARDUINO SA (http://www.arduino.cc/)
4 4 //
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.
7 8 // The terms of this license can be found at:
8 9 // https://www.gnu.org/licenses/gpl-3.0.en.html
9 10 //