Specify license type as GNU Affero General Public License v3.0 #17
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
License file
LICENSE.txt contains the exact license text provided at:
https://choosealicense.com/licenses/agpl-3.0/#
This file provides automated license type detection and should not be modified in any way.
License headers
I added license headers to all
.go
files, based on the instructions provided by the AGPLv3 license and the headers used by Arduino CLI:https://github.com/arduino/arduino-cli/blob/master/main.go#L1
License check CI workflow
Whenever one of the recognized license file names are modified in the repository, the workflow runs licensee to check whether the license can be recognized and whether it is of the expected type.
This ensures correct results from GitHub's repository license type detection system:
https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/licensing-a-repository#detecting-a-license