-
Notifications
You must be signed in to change notification settings - Fork 89
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
TRG 7: Updates to legal docs #856
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
ad34121
fix: Ottderdog link
AngelikaWittek dc3eecd
docs: update of the year information in copyright header
AngelikaWittek 5eea2e8
Update of the year information in copyright header
AngelikaWittek 23ab741
docs: Updates for CC_BY_4.0
AngelikaWittek aeba94c
docs: added links to sig-infra as example
AngelikaWittek 0f94bb9
docs: Updates for attributions
AngelikaWittek d930614
docs: updated status sections
AngelikaWittek 1be630e
fix: wording and typos
AngelikaWittek 3f4f181
Merge branch 'main' into TRG_7_oss_gov_update
AngelikaWittek 0d5d1a4
chore: fix linting issues
SebastianBezold File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -2,13 +2,17 @@ | |||||
title: TRG 7.02 - License and Copyright header | ||||||
--- | ||||||
|
||||||
| Status | Created | Post-History | | ||||||
|--------|-------------|----------------------------| | ||||||
| Active | 13-Apr-2023 | Moved from OSS Development | | ||||||
| Status | Created | Post-History | | ||||||
|--------|-------------|----------------------------------------------------| | ||||||
| Active | 25-Apr-2024 | Updates for CC-BY-4.0 license | | ||||||
| Active | 24-Apr-2024 | Update of the year information in copyright header | | ||||||
| Active | 13-Apr-2023 | Moved from OSS Development | | ||||||
|
||||||
## Why | ||||||
|
||||||
Eclipse Tractus-X is an open source project hosted by the Eclipse Foundation licensed under the [Apache License 2.0](https://spdx.org/licenses/Apache-2.0). The legal obligations of the content must be observed in all forms of which the content is available. | ||||||
Eclipse Tractus-X is an open source project hosted by the Eclipse Foundation licensed under the Apache License 2.0 ([Apache-2.0](https://spdx.org/licenses/Apache-2.0)). For non-code the default license is the Creative Commons Attribution 4.0 International ([CC-BY-4.0](https://spdx.org/licenses/CC-BY-4.0.html)). | ||||||
|
||||||
The legal obligations of the content must be observed in all forms of which the content is available. | ||||||
|
||||||
This page contains information about legal documentation requirements in your files. The source of truth is always the [Eclipse Foundation Project Handbook](https://www.eclipse.org/projects/handbook/#ip-copyright-headers). | ||||||
|
||||||
|
@@ -22,22 +26,45 @@ The requirements described here **must** be met for each contribution. | |||||
|
||||||
*Where possible, all source code, property files, and metadata files (including application, test, and generated source code as well as other types of files such as XML, HTML, etc.) should contain appropriate copyright and license notices as well as information on each contribution.* (From the [Handbook#ip-copyright-headers](https://www.eclipse.org/projects/handbook/#ip-copyright-headers)) | ||||||
|
||||||
:::caution | ||||||
## Copyright and License Header | ||||||
|
||||||
Update the year in the copyright header at the start of each new year! | ||||||
### Copyright Header | ||||||
|
||||||
Example: | ||||||
Copyright (c) 202x, **`<new year>`** Contributors to the Eclipse Foundation | ||||||
It is recommended to use the generic copyright header: | ||||||
|
||||||
::: | ||||||
```md | ||||||
Copyright (c) {year} Contributors to the Eclipse Foundation | ||||||
``` | ||||||
|
||||||
**Note:** | ||||||
|
||||||
- The {year} is the year of the initial creation. | ||||||
- The contributors are identified via the GitHub commit logs (see NOTICE file) | ||||||
|
||||||
Additionally copyright lines can be added (one or more times) to list specific copyright owner(s): | ||||||
|
||||||
```md | ||||||
Copyright (c) 202x {owner}[ and others] | ||||||
``` | ||||||
|
||||||
**Examples:** | ||||||
|
||||||
1. Copyright (c) 2021 Jane Doe | ||||||
- Copyright: Jane Doe | ||||||
1. Copyright (c) 2022 Jane Doe and others | ||||||
- others: somebody has made minor changes (e.g. fixed typos) | ||||||
|
||||||
Do **not** remove the general line "Copyright (c) 202x Contributors to the Eclipse Foundation". | ||||||
|
||||||
### Copyright and License Header | ||||||
### License Header | ||||||
|
||||||
Example (Java): | ||||||
Never change the license section, except for the comment characters for the appropriate language. | ||||||
|
||||||
#### Example for Apache-2.0 (Java) | ||||||
|
||||||
```md | ||||||
/******************************************************************************** | ||||||
* Copyright (c) 2021,2023 Contributors to the Eclipse Foundation | ||||||
* Copyright (c) 2023 Contributors to the Eclipse Foundation | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
* | ||||||
* See the NOTICE file(s) distributed with this work for additional | ||||||
* information regarding copyright ownership. | ||||||
|
@@ -56,28 +83,26 @@ Example (Java): | |||||
********************************************************************************/ | ||||||
``` | ||||||
|
||||||
#### Example for CC-BY-4.0 | ||||||
|
||||||
```md | ||||||
####################################################################### | ||||||
# Copyright (c) 2023 Contributors to the Eclipse Foundation | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
# | ||||||
# See the NOTICE file(s) distributed with this work for additional | ||||||
# information regarding copyright ownership. | ||||||
# | ||||||
# This work is made available under the terms of the | ||||||
# Creative Commons Attribution 4.0 International (CC-BY-4.0) license, | ||||||
# which is available at | ||||||
# https://creativecommons.org/licenses/by/4.0/legalcode. | ||||||
# | ||||||
# SPDX-License-Identifier: CC-BY-4.0 | ||||||
####################################################################### | ||||||
``` | ||||||
|
||||||
:::tip | ||||||
|
||||||
Use your IDE's template mechanism to add the text automatically when you create new files. | ||||||
|
||||||
::: | ||||||
|
||||||
#### Copyright Header | ||||||
|
||||||
You can also **add** the following line (one or more times) to identify the specific copyright owner(s): | ||||||
|
||||||
Copyright (c) 202x,20yy {owner}[ and others] | ||||||
|
||||||
Examples: | ||||||
|
||||||
1. Copyright (c) 2021,2023 MyCompany GmbH | ||||||
- 2021, 2023 means from 2021 to 2023 | ||||||
- Copyright: MyCompany GmbH | ||||||
1. Copyright (c) 2021,2023 MyCompany GmbH and others | ||||||
- others: somebody has made minor changes (e.g. fixed typos) | ||||||
|
||||||
Do **not** remove the general line "Copyright (c) 202x,20yy Contributors to the Eclipse Foundation". | ||||||
|
||||||
#### License Header | ||||||
|
||||||
Never change the license section, except for the formatting characters for the appropriate language. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
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.