From d20af4f150971dbe36d07061693c4df6cc21c80c Mon Sep 17 00:00:00 2001 From: per1234 Date: Thu, 5 Nov 2020 23:26:59 -0800 Subject: [PATCH] Add copyright header to source code files --- check/check.go | 15 +++++++++++++++ check/checkconfigurations/checkconfigurations.go | 15 +++++++++++++++ check/checkdata/checkdata.go | 15 +++++++++++++++ check/checkdata/library.go | 15 +++++++++++++++ check/checkdata/schema/schema.go | 15 +++++++++++++++ check/checkfunctions/checkfunctions.go | 15 +++++++++++++++ check/checkfunctions/library.go | 15 +++++++++++++++ check/checkfunctions/sketch.go | 15 +++++++++++++++ check/checklevel/checklevel.go | 15 +++++++++++++++ check/checkresult/checkresult.go | 15 +++++++++++++++ configuration/checkmode/checkmode.go | 15 +++++++++++++++ configuration/configuration.go | 15 +++++++++++++++ configuration/defaults.go | 15 +++++++++++++++ main.go | 15 +++++++++++++++ project/library/library.go | 15 +++++++++++++++ .../libraryproperties/libraryproperties.go | 15 +++++++++++++++ project/packageindex/packageindex.go | 15 +++++++++++++++ project/platform/platform.go | 15 +++++++++++++++ project/project.go | 15 +++++++++++++++ project/projecttype/projecttype.go | 15 +++++++++++++++ project/sketch/sketch.go | 15 +++++++++++++++ result/feedback/feedback.go | 15 +++++++++++++++ result/outputformat/outputformat.go | 15 +++++++++++++++ result/result.go | 15 +++++++++++++++ 24 files changed, 360 insertions(+) diff --git a/check/check.go b/check/check.go index 5bf55781..182b4783 100644 --- a/check/check.go +++ b/check/check.go @@ -1,3 +1,18 @@ +// This file is part of arduino-check. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + // Package check runs checks on a project. package check diff --git a/check/checkconfigurations/checkconfigurations.go b/check/checkconfigurations/checkconfigurations.go index cded58f7..c44a74f9 100644 --- a/check/checkconfigurations/checkconfigurations.go +++ b/check/checkconfigurations/checkconfigurations.go @@ -1,3 +1,18 @@ +// This file is part of arduino-check. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + /* Package checkconfigurations defines the configuration of each check: - metadata diff --git a/check/checkdata/checkdata.go b/check/checkdata/checkdata.go index aaee70a9..0183d03b 100644 --- a/check/checkdata/checkdata.go +++ b/check/checkdata/checkdata.go @@ -1,3 +1,18 @@ +// This file is part of arduino-check. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + /* Package checkdata handles the collection of data specific to a project before running the checks on it. This is for data required by multiple checks. diff --git a/check/checkdata/library.go b/check/checkdata/library.go index 361b847e..5dc4682c 100644 --- a/check/checkdata/library.go +++ b/check/checkdata/library.go @@ -1,3 +1,18 @@ +// This file is part of arduino-check. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + package checkdata import ( diff --git a/check/checkdata/schema/schema.go b/check/checkdata/schema/schema.go index eb3d9c2d..42cd82ca 100644 --- a/check/checkdata/schema/schema.go +++ b/check/checkdata/schema/schema.go @@ -1,3 +1,18 @@ +// This file is part of arduino-check. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + // Package schema contains code for working with JSON schema. package schema diff --git a/check/checkfunctions/checkfunctions.go b/check/checkfunctions/checkfunctions.go index 42f4e2cd..a12665fe 100644 --- a/check/checkfunctions/checkfunctions.go +++ b/check/checkfunctions/checkfunctions.go @@ -1,3 +1,18 @@ +// This file is part of arduino-check. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + // Package checkfunctions contains the functions that implement each check. package checkfunctions diff --git a/check/checkfunctions/library.go b/check/checkfunctions/library.go index da59fa2c..7a3236a5 100644 --- a/check/checkfunctions/library.go +++ b/check/checkfunctions/library.go @@ -1,3 +1,18 @@ +// This file is part of arduino-check. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + package checkfunctions // The check functions for libraries. diff --git a/check/checkfunctions/sketch.go b/check/checkfunctions/sketch.go index 741becc4..73a3133d 100644 --- a/check/checkfunctions/sketch.go +++ b/check/checkfunctions/sketch.go @@ -1,3 +1,18 @@ +// This file is part of arduino-check. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + package checkfunctions // The check functions for sketches. diff --git a/check/checklevel/checklevel.go b/check/checklevel/checklevel.go index 8510d13f..5f79d59c 100644 --- a/check/checklevel/checklevel.go +++ b/check/checklevel/checklevel.go @@ -1,3 +1,18 @@ +// This file is part of arduino-check. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + // Package checklevel defines the level assigned to a check failure. package checklevel diff --git a/check/checkresult/checkresult.go b/check/checkresult/checkresult.go index e63f8075..43701474 100644 --- a/check/checkresult/checkresult.go +++ b/check/checkresult/checkresult.go @@ -1,3 +1,18 @@ +// This file is part of arduino-check. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + // Package checkresult defines the possible result values returned by a check. package checkresult diff --git a/configuration/checkmode/checkmode.go b/configuration/checkmode/checkmode.go index 120384b2..194ca5bd 100644 --- a/configuration/checkmode/checkmode.go +++ b/configuration/checkmode/checkmode.go @@ -1,3 +1,18 @@ +// This file is part of arduino-check. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + // Package checkmode defines the tool configuration options that affect checks. package checkmode diff --git a/configuration/configuration.go b/configuration/configuration.go index b61bbe93..90e8c6c0 100644 --- a/configuration/configuration.go +++ b/configuration/configuration.go @@ -1,3 +1,18 @@ +// This file is part of arduino-check. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + // Package configuration handles the configuration of the arduino-check tool. package configuration diff --git a/configuration/defaults.go b/configuration/defaults.go index b17dc3f3..61897901 100644 --- a/configuration/defaults.go +++ b/configuration/defaults.go @@ -1,3 +1,18 @@ +// This file is part of arduino-check. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + package configuration // The default configuration settings. diff --git a/main.go b/main.go index 53101788..2034ce47 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,18 @@ +// This file is part of arduino-check. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + package main import ( diff --git a/project/library/library.go b/project/library/library.go index e6d4bf75..6cb4efe9 100644 --- a/project/library/library.go +++ b/project/library/library.go @@ -1,3 +1,18 @@ +// This file is part of arduino-check. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + // Package library provides functions specific to checking Arduino libraries. package library diff --git a/project/library/libraryproperties/libraryproperties.go b/project/library/libraryproperties/libraryproperties.go index 024b6f6d..d89c5e7f 100644 --- a/project/library/libraryproperties/libraryproperties.go +++ b/project/library/libraryproperties/libraryproperties.go @@ -1,3 +1,18 @@ +// This file is part of arduino-check. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + // Package libraryproperties provides functions for working with the library.properties Arduino library metadata file. package libraryproperties diff --git a/project/packageindex/packageindex.go b/project/packageindex/packageindex.go index d2005b90..4cc5da8b 100644 --- a/project/packageindex/packageindex.go +++ b/project/packageindex/packageindex.go @@ -1,3 +1,18 @@ +// This file is part of arduino-check. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + /* Package packageindex provides functions specific to checking the package index files of the Arduino Boards Manager. See: https://arduino.github.io/arduino-cli/latest/package_index_json-specification diff --git a/project/platform/platform.go b/project/platform/platform.go index a6534ad9..462c6226 100644 --- a/project/platform/platform.go +++ b/project/platform/platform.go @@ -1,3 +1,18 @@ +// This file is part of arduino-check. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + /* Package packageindex provides functions specific to checking Arduino boards platforms. See: https://arduino.github.io/arduino-cli/latest/platform-specification/ diff --git a/project/project.go b/project/project.go index 5c4a7a11..4a70343d 100644 --- a/project/project.go +++ b/project/project.go @@ -1,3 +1,18 @@ +// This file is part of arduino-check. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + // Package project finds and classifies Arduino projects. package project diff --git a/project/projecttype/projecttype.go b/project/projecttype/projecttype.go index 96f30035..f4548abc 100644 --- a/project/projecttype/projecttype.go +++ b/project/projecttype/projecttype.go @@ -1,3 +1,18 @@ +// This file is part of arduino-check. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + // Package projecttype defines the Arduino project types. package projecttype diff --git a/project/sketch/sketch.go b/project/sketch/sketch.go index af05a809..b833d6e2 100644 --- a/project/sketch/sketch.go +++ b/project/sketch/sketch.go @@ -1,3 +1,18 @@ +// This file is part of arduino-check. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + /* Package sketch provides functions specific to checking Arduino sketches. See: https://arduino.github.io/arduino-cli/latest/sketch-specification/ diff --git a/result/feedback/feedback.go b/result/feedback/feedback.go index 655fc541..e43258a1 100644 --- a/result/feedback/feedback.go +++ b/result/feedback/feedback.go @@ -1,3 +1,18 @@ +// This file is part of arduino-check. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + // Package feedback provides feedback to the user. package feedback diff --git a/result/outputformat/outputformat.go b/result/outputformat/outputformat.go index ca8cbe9f..9b7c3924 100644 --- a/result/outputformat/outputformat.go +++ b/result/outputformat/outputformat.go @@ -1,3 +1,18 @@ +// This file is part of arduino-check. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + // Package projecttype defines the output formats package outputformat diff --git a/result/result.go b/result/result.go index 54d5a0ea..ec4e377e 100644 --- a/result/result.go +++ b/result/result.go @@ -1,3 +1,18 @@ +// This file is part of arduino-check. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + // Package result records check results and provides reports and summary text on those results. package result