Skip to content
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

Check license headers with reuse #704

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

fholger
Copy link
Collaborator

@fholger fholger commented Jun 23, 2023

This is a follow-up to #703. Closes #689.

This PR adds missing license and copyright information for all files (either by adding a license header or bulk-marking the files in .reuse/dep5 where license headers are not possible/undesired) and attempts to achieve full compliance with the reuse-tool. Reuse is now also called in the GitHub actions pipeline to ensure compliance going forward.

I am marking this PR as a draft because I am not entirely sure about the correct license for some of these files, but I hope that this PR can serve as a discussion on what the correct choices should be.

@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2023 spdx contributors
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file looks like it may have been copied from dependabot (due to the comments below), so I am not sure if this license and copyright is correct.

Copyright: 2023 spdx contributors
License: Apache-2.0

Files: assets/*
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The assets folder currently contains a single png image, which is an example output of the graph generation. What license should this have?

Copyright: 2023 spdx contributors
License: Apache-2.0

Files: *.md
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should documentation have a separate license, or is sticking to Apache ok?

Copyright: 2023 spdx contributors
License: Apache-2.0

Files:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These files are generated/derived from spdx-3-model, which is covered by the Community Specification License.

@fholger fholger force-pushed the check_license_headers_with_reuse branch from afd0aef to 38fabb7 Compare June 23, 2023 12:37
…not feasible

(e.g. test data, generated files, documentation and images)

Signed-off-by: Holger Frydrych <[email protected]>
…expects it for full reuse compliance

Signed-off-by: Holger Frydrych <[email protected]>
@fholger fholger force-pushed the check_license_headers_with_reuse branch from 38fabb7 to a18830d Compare November 17, 2023 09:38
Copy link
Member

@maxhbr maxhbr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatic checks for missing license headers
2 participants