Skip to content

Commit 66d5918

Browse files
authored
Merge pull request #274 from per1234/gpl-3.0-or-later
Allow use of code under later versions of GPL
2 parents 2d3ee50 + faf5c15 commit 66d5918

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

etc/schemas/arduino-boards-txt-definitions-schema.json

Lines changed: 1 addition & 0 deletions
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": {

etc/schemas/arduino-boards-txt-permissive-schema.json

Lines changed: 1 addition & 1 deletion
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": {

etc/schemas/arduino-boards-txt-schema.json

Lines changed: 1 addition & 1 deletion
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": {

etc/schemas/arduino-boards-txt-strict-schema.json

Lines changed: 1 addition & 1 deletion
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": {

etc/schemas/arduino-library-properties-definitions-schema.json

Lines changed: 1 addition & 0 deletions
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": {

etc/schemas/arduino-library-properties-permissive-schema.json

Lines changed: 1 addition & 1 deletion
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": {

etc/schemas/arduino-library-properties-schema.json

Lines changed: 1 addition & 1 deletion
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": {

etc/schemas/arduino-library-properties-strict-schema.json

Lines changed: 1 addition & 1 deletion
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": {

etc/schemas/arduino-package-index-definitions-schema.json

Lines changed: 1 addition & 0 deletions
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": {

etc/schemas/arduino-package-index-permissive-schema.json

Lines changed: 1 addition & 0 deletions
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"

etc/schemas/arduino-package-index-schema.json

Lines changed: 1 addition & 0 deletions
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"

etc/schemas/arduino-package-index-strict-schema.json

Lines changed: 1 addition & 0 deletions
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"

etc/schemas/arduino-platform-txt-definitions-schema.json

Lines changed: 1 addition & 0 deletions
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": {

etc/schemas/arduino-platform-txt-permissive-schema.json

Lines changed: 1 addition & 1 deletion
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": {

etc/schemas/arduino-platform-txt-schema.json

Lines changed: 1 addition & 1 deletion
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": {

etc/schemas/arduino-platform-txt-strict-schema.json

Lines changed: 1 addition & 1 deletion
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": {

etc/schemas/arduino-programmers-txt-definitions-schema.json

Lines changed: 1 addition & 0 deletions
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": {

etc/schemas/arduino-programmers-txt-permissive-schema.json

Lines changed: 1 addition & 1 deletion
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
".+": {

etc/schemas/arduino-programmers-txt-schema.json

Lines changed: 1 addition & 1 deletion
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
".+": {

etc/schemas/arduino-programmers-txt-strict-schema.json

Lines changed: 1 addition & 1 deletion
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
".+": {

etc/schemas/general-definitions-schema.json

Lines changed: 1 addition & 0 deletions
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": {

internal/cli/cli.go

Lines changed: 3 additions & 2 deletions
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
//

internal/command/command.go

Lines changed: 3 additions & 2 deletions
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
//

internal/configuration/configuration.go

Lines changed: 3 additions & 2 deletions
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
//

internal/configuration/configuration_test.go

Lines changed: 3 additions & 2 deletions
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
//

internal/configuration/defaults.go

Lines changed: 3 additions & 2 deletions
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
//

internal/configuration/rulemode/rulemode.go

Lines changed: 3 additions & 2 deletions
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)