-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New license manager #1010
base: master
Are you sure you want to change the base?
New license manager #1010
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1010 +/- ##
==========================================
+ Coverage 69.35% 70.48% +1.12%
==========================================
Files 275 166 -109
Lines 7149 4692 -2457
==========================================
- Hits 4958 3307 -1651
+ Misses 2191 1385 -806 ☔ View full report in Codecov by Sentry. |
8a2ece1
to
1dfbb20
Compare
23a82f6
to
2bd95bd
Compare
.github/workflows/reuse.yaml
Outdated
steps: | ||
- uses: actions/checkout@v4 | ||
- name: REUSE Compliance Check | ||
uses: fsfe/reuse-action@v4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: there's a newline more
CONTRIBUTING.md
Outdated
|
||
SPDX-License-Identifier: CC0-1.0 | ||
SPDX-License-Identifier: Apache-2.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not change license here:
SPDX-License-Identifier: Apache-2.0 | |
SPDX-License-Identifier: CC0-1.0 |
LICENSE
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's also keep the LICENSE
file
# Copyright 2017-2020 SECO Mind Srl | ||
# | ||
# This file is part of Astarte. | ||
# | ||
# Copyright 2020 Ispirata Srl | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not remove old license headers, just update them
2c253bb
to
b956d3c
Compare
reuse annotate all astarte files with a copyright years extracted from first and last commit per file Signed-off-by: Eddy Babetto <[email protected]>
Updated the header comments in the files to conform to the reuse policy guidelines. Signed-off-by: Alem Puskarevic <[email protected]> Signed-off-by: Eddy Babetto <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The *.json.license
files in this directory break the CI (see this run) because astartectl tries to install all files in the directory as interfaces.
Either edit the workflow or (my personal preference) add a REUSE.toml
file in the priv
parent directory with the licensing information. You can check in the Reuse FAQ and specification for the specific syntax
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, in order to be consistent with standard-interfaces
, I'd suggest to use the CC-1.0
license for interfaces here too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In order to be consistent with standard-interfaces
, I'd suggest using CC-1.0 here too
0591dfb
to
8795869
Compare
- uses: actions/checkout@v4 | ||
- name: REUSE Compliance Check | ||
uses: fsfe/reuse-action@v4 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: files should end with just a newline
- uses: actions/checkout@v4 | ||
- name: REUSE Compliance Check | ||
uses: fsfe/reuse-action@v4 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's still a newline error here, please fix it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, this workflow is not related to the Tidy up old copyright info
commit it's in
84de061
to
8635f06
Compare
Remove old copyright info Check copyright year based on git file info, not on old copy-paste values Signed-off-by: Eddy Babetto <[email protected]>
Create a Reuse worflow for check files copyright compliance Signed-off-by: Eddy Babetto <[email protected]>
clea_bw.png added as apache 2.0 |
This PR adopts Reuse for managing files license
Files copyright years have been changed based on git commit metadata