From f8b2da83035f3e3f8b22880006ed783e41b817c1 Mon Sep 17 00:00:00 2001 From: Holger Frydrych Date: Fri, 23 Jun 2023 14:10:21 +0200 Subject: [PATCH 1/5] Add missing license headers to auxiliary files Signed-off-by: Holger Frydrych --- .circleci/config.yml | 0 .editorconfig | 4 ++++ .flake8 | 4 ++++ .github/dependabot.yml | 4 ++++ .gitignore | 4 ++++ MANIFEST.in | 4 ++++ appveyor.yml | 4 ++++ pyproject.toml | 4 ++++ setup.py | 3 +++ stdeb.cfg | 4 ++++ 10 files changed, 35 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 000000000..e69de29bb diff --git a/.editorconfig b/.editorconfig index 38558bf37..8ca81ee92 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 spdx contributors +# +# SPDX-License-Identifier: Apache-2.0 + root = true [*] diff --git a/.flake8 b/.flake8 index e2c6e5910..6fbe44652 100644 --- a/.flake8 +++ b/.flake8 @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 spdx contributors +# +# SPDX-License-Identifier: Apache-2.0 + [flake8] max-line-length = 119 exclude = src/spdx_tools/spdx/parser/tagvalue/parsetab.py, __init__.py diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 91abb11fd..db7d8470f 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 spdx contributors +# +# SPDX-License-Identifier: Apache-2.0 + # To get started with Dependabot version updates, you'll need to specify which # package ecosystems to update and where the package manifests are located. # Please see the documentation for all configuration options: diff --git a/.gitignore b/.gitignore index d82f5bc0d..c449cd7bb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 spdx contributors +# +# SPDX-License-Identifier: Apache-2.0 + __pycache__/ *.py[cod] *.out diff --git a/MANIFEST.in b/MANIFEST.in index 9c05507fd..f4d603763 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 spdx contributors +# +# SPDX-License-Identifier: Apache-2.0 + graft data graft examples graft spdx diff --git a/appveyor.yml b/appveyor.yml index 6a4df0854..ef8631471 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 spdx contributors +# +# SPDX-License-Identifier: Apache-2.0 + version: "{build}" image: - Visual Studio 2019 diff --git a/pyproject.toml b/pyproject.toml index aff57e36b..ad75409b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 spdx contributors +# +# SPDX-License-Identifier: Apache-2.0 + [build-system] requires = ["setuptools>=61.2", "setuptools_scm[toml]>=3.4.3"] build-backend = "setuptools.build_meta" diff --git a/setup.py b/setup.py index c3ba8ba72..5f0823dab 100755 --- a/setup.py +++ b/setup.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# SPDX-FileCopyrightText: 2023 spdx contributors +# +# SPDX-License-Identifier: Apache-2.0 from setuptools import setup diff --git a/stdeb.cfg b/stdeb.cfg index a5e3bacc7..7d119cff3 100644 --- a/stdeb.cfg +++ b/stdeb.cfg @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2023 spdx contributors +# +# SPDX-License-Identifier: Apache-2.0 + [DEFAULT] Depends = python-rdflib (>= 4.1.2), python-ply (>= 3.4) Copyright-File = LICENSE From bc65f7a283edc71a896fd0397a0147b4109b699d Mon Sep 17 00:00:00 2001 From: Holger Frydrych Date: Fri, 23 Jun 2023 14:11:46 +0200 Subject: [PATCH 2/5] Bulk-declare license information for files where a license header is not feasible (e.g. test data, generated files, documentation and images) Signed-off-by: Holger Frydrych --- .reuse/dep5 | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .reuse/dep5 diff --git a/.reuse/dep5 b/.reuse/dep5 new file mode 100644 index 000000000..b3e8be384 --- /dev/null +++ b/.reuse/dep5 @@ -0,0 +1,30 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: tools-python +Source: https://github.com/spdx/tools-python + +Files: + tests/*.json + tests/*.xml +Copyright: 2023 spdx contributors +License: Apache-2.0 + +Files: assets/* +Copyright: 2023 spdx contributors +License: Apache-2.0 + +Files: *.md +Copyright: 2023 spdx contributors +License: Apache-2.0 + +Files: + tests/*.json + tests/*.xml +Copyright: 2023 spdx contributors +License: Apache-2.0 + +Files: + src/spdx_tools/spdx3/writer/json_ld/model.ttl + src/spdx_tools/spdx3/writer/json_ld/SPDX_OWL.json + src/spdx_tools/spdx3/writer/json_ld/context.json +Copyright: 2023 spdx contributors +License: Community-Spec-1.0 From 4e678f406bbc1c5c5e4e6f51143e8c842a6e41a7 Mon Sep 17 00:00:00 2001 From: Holger Frydrych Date: Fri, 23 Jun 2023 14:12:33 +0200 Subject: [PATCH 3/5] Add license texts for all used licenses in the directory where reuse expects it for full reuse compliance Signed-off-by: Holger Frydrych --- LICENSES/Apache-2.0.txt | 73 ++++++++ LICENSES/Community-Spec-1.0.txt | 293 ++++++++++++++++++++++++++++++++ 2 files changed, 366 insertions(+) create mode 100644 LICENSES/Apache-2.0.txt create mode 100644 LICENSES/Community-Spec-1.0.txt diff --git a/LICENSES/Apache-2.0.txt b/LICENSES/Apache-2.0.txt new file mode 100644 index 000000000..137069b82 --- /dev/null +++ b/LICENSES/Apache-2.0.txt @@ -0,0 +1,73 @@ +Apache License +Version 2.0, January 2004 +http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + +"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. + +"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. + +"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. + +"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. + +"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. + +"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. + +"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). + +"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. + +"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." + +"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: + + (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. + + You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + +To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. + +Copyright [yyyy] [name of copyright owner] + +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. diff --git a/LICENSES/Community-Spec-1.0.txt b/LICENSES/Community-Spec-1.0.txt new file mode 100644 index 000000000..cdf7c64c0 --- /dev/null +++ b/LICENSES/Community-Spec-1.0.txt @@ -0,0 +1,293 @@ +Community Specification License 1.0 + +The Purpose of this License. This License sets forth the terms under which +1) Contributor will participate in and contribute to the development +of specifications, standards, best practices, guidelines, and other +similar materials under this Working Group, and 2) how the materials +developed under this License may be used. It is not intended for source +code. Capitalized terms are defined in the License’s last section. + +1. Copyright. + +1.1. Copyright License. Contributor grants everyone a non-sublicensable, +perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable +(except as expressly stated in this License) copyright license, without +any obligation for accounting, to reproduce, prepare derivative works +of, publicly display, publicly perform, and distribute any materials +it submits to the full extent of its copyright interest in those +materials. Contributor also acknowledges that the Working Group may +exercise copyright rights in the Specification, including the rights to +submit the Specification to another standards organization. + +1.2. Copyright Attribution. As a condition, anyone exercising this +copyright license must include attribution to the Working Group in any +derivative work based on materials developed by the Working Group. +That attribution must include, at minimum, the material’s name, +version number, and source from where the materials were retrieved. +Attribution is not required for implementations of the Specification. + +2. Patents. + +2.1. Patent License. + +2.1.1. As a Result of Contributions. + +2.1.1.1. As a Result of Contributions to Draft Specifications. +Contributor grants Licensee a non-sublicensable, perpetual, worldwide, +non-exclusive, no-charge, royalty-free, irrevocable (except as +expressly stated in this License) license to its Necessary Claims in 1) +Contributor’s Contributions and 2) to the Draft Specification that +is within Scope as of the date of that Contribution, in both cases for +Licensee’s Implementation of the Draft Specification, except for those +patent claims excluded by Contributor under Section 3. + +2.1.1.2. For Approved Specifications. Contributor grants Licensee a +non-sublicensable, perpetual, worldwide, non-exclusive, no-charge, +royalty-free, irrevocable (except as expressly stated in this License) +license to its Necessary Claims included the Approved Specification +that are within Scope for Licensee’s Implementation of the Approved +Specification, except for those patent claims excluded by Contributor +under Section 3. + +2.1.2. Patent Grant from Licensee. Licensee grants each other Licensee +a non-sublicensable, perpetual, worldwide, non-exclusive, no-charge, +royalty-free, irrevocable (except as expressly stated in this License) +license to its Necessary Claims for its Implementation, except for those +patent claims excluded under Section 3. + +2.1.3. Licensee Acceptance. The patent grants set forth in Section 2.1 +extend only to Licensees that have indicated their agreement to this +License as follows: + +2.1.3.1. Source Code Distributions. For distribution in source code, +by including this License in the root directory of the source code with +the Implementation; + +2.1.3.2. Non-Source Code Distributions. For distribution in any form +other than source code, by including this License in the documentation, +legal notices, via notice in the software, and/or other written materials +provided with the Implementation; or + +2.1.3.3. Via Notices.md. By issuing pull request or commit to the +Specification’s repository’s Notices.md file by the Implementer’s +authorized representative, including the Implementer’s name, authorized +individual and system identifier, and Specification version. + +2.1.4. Defensive Termination. If any Licensee files or maintains a +claim in a court asserting that a Necessary Claim is infringed by an +Implementation, any licenses granted under this License to the Licensee +are immediately terminated unless 1) that claim is directly in response +to a claim against Licensee regarding an Implementation, or 2) that claim +was brought to enforce the terms of this License, including intervention +in a third-party action by a Licensee. + +2.1.5. Additional Conditions. This License is not an assurance (i) +that any of Contributor’s copyrights or issued patent claims cover +an Implementation of the Specification or are enforceable or (ii) that +an Implementation of the Specification would not infringe intellectual +property rights of any third party. + +2.2. Patent Licensing Commitment. In addition to the rights granted +in Section 2.1, Contributor agrees to grant everyone a no charge, +royalty-free license on reasonable and non-discriminatory terms +to Contributor’s Necessary Claims that are within Scope for: +1) Implementations of a Draft Specification, where such license +applies only to those Necessary Claims infringed by implementing +Contributor's Contribution(s) included in that Draft Specification, +and 2) Implementations of the Approved Specification. + +This patent licensing commitment does not apply to those claims subject +to Contributor’s Exclusion Notice under Section 3. + +2.3. Effect of Withdrawal. Contributor may withdraw from the Working Group +by issuing a pull request or commit providing notice of withdrawal to +the Working Group repository’s Notices.md file. All of Contributor’s +existing commitments and obligations with respect to the Working Group +up to the date of that withdrawal notice will remain in effect, but no +new obligations will be incurred. + +2.4. Binding Encumbrance. This License is binding on any future owner, +assignee, or party who has been given the right to enforce any Necessary +Claims against third parties. + +3. Patent Exclusion. + +3.1. As a Result of Contributions. Contributor may exclude Necessary +Claims from its licensing commitments incurred under Section 2.1.1 +by issuing an Exclusion Notice within 45 days of the date of that +Contribution. Contributor may not issue an Exclusion Notice for any +material that has been included in a Draft Deliverable for more than 45 +days prior to the date of that Contribution. + +3.2. As a Result of a Draft Specification Becoming an Approved +Specification. Prior to the adoption of a Draft Specification as an +Approved Specification, Contributor may exclude Necessary Claims from +its licensing commitments under this Agreement by issuing an Exclusion +Notice. Contributor may not issue an Exclusion Notice for patents that +were eligible to have been excluded pursuant to Section 3.1. + +4. Source Code License. Any source code developed by the Working Group is +solely subject the source code license included in the Working Group’s +repository for that code. If no source code license is included, the +source code will be subject to the MIT License. + +5. No Other Rights. Except as specifically set forth in this License, no +other express or implied patent, trademark, copyright, or other rights are +granted under this License, including by implication, waiver, or estoppel. + +6. Antitrust Compliance. Contributor acknowledge that it may compete +with other participants in various lines of business and that it is +therefore imperative that they and their respective representatives +act in a manner that does not violate any applicable antitrust laws and +regulations. This License does not restrict any Contributor from engaging +in similar specification development projects. Each Contributor may +design, develop, manufacture, acquire or market competitive deliverables, +products, and services, and conduct its business, in whatever way it +chooses. No Contributor is obligated to announce or market any products +or services. Without limiting the generality of the foregoing, the +Contributors agree not to have any discussion relating to any product +pricing, methods or channels of product distribution, division of markets, +allocation of customers or any other topic that should not be discussed +among competitors under the auspices of the Working Group. + +7. Non-Circumvention. Contributor agrees that it will not intentionally +take or willfully assist any third party to take any action for the +purpose of circumventing any obligations under this License. + +8. Representations, Warranties and Disclaimers. + +8.1. Representations, Warranties and Disclaimers. Contributor and Licensee +represents and warrants that 1) it is legally entitled to grant the +rights set forth in this License and 2) it will not intentionally include +any third party materials in any Contribution unless those materials are +available under terms that do not conflict with this License. IN ALL OTHER +RESPECTS ITS CONTRIBUTIONS ARE PROVIDED "AS IS." The entire risk as to +implementing or otherwise using the Contribution or the Specification +is assumed by the implementer and user. Except as stated herein, +CONTRIBUTOR AND LICENSEE EXPRESSLY DISCLAIM ANY WARRANTIES (EXPRESS, +IMPLIED, OR OTHERWISE), INCLUDING IMPLIED WARRANTIES OF MERCHANTABILITY, +NON-INFRINGEMENT, FITNESS FOR A PARTICULAR PURPOSE, CONDITIONS OF QUALITY, +OR TITLE, RELATED TO THE CONTRIBUTION OR THE SPECIFICATION. IN NO EVENT +WILL ANY PARTY BE LIABLE TO ANY OTHER PARTY FOR LOST PROFITS OR ANY +FORM OF INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF +ANY CHARACTER FROM ANY CAUSES OF ACTION OF ANY KIND WITH RESPECT TO +THIS AGREEMENT, WHETHER BASED ON BREACH OF CONTRACT, TORT (INCLUDING +NEGLIGENCE), OR OTHERWISE, AND WHETHER OR NOT THE OTHER PARTY HAS BEEN +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Any obligations regarding +the transfer, successors in interest, or assignment of Necessary Claims +will be satisfied if Contributor or Licensee notifies the transferee +or assignee of any patent that it knows contains Necessary Claims or +necessary claims under this License. Nothing in this License requires +Contributor to undertake a patent search. If Contributor is 1) employed by +or acting on behalf of an employer, 2) is making a Contribution under the +direction or control of a third party, or 3) is making the Contribution +as a consultant, contractor, or under another similar relationship with +a third party, Contributor represents that they have been authorized by +that party to enter into this License on its behalf. + +8.2. Distribution Disclaimer. Any distributions of technical +information to third parties must include a notice materially similar +to the following: “THESE MATERIALS ARE PROVIDED “AS IS.” The +Contributors and Licensees expressly disclaim any warranties (express, +implied, or otherwise), including implied warranties of merchantability, +non-infringement, fitness for a particular purpose, or title, related to +the materials. The entire risk as to implementing or otherwise using the +materials is assumed by the implementer and user. IN NO EVENT WILL THE +CONTRIBUTORS OR LICENSEES BE LIABLE TO ANY OTHER PARTY FOR LOST PROFITS +OR ANY FORM OF INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES +OF ANY CHARACTER FROM ANY CAUSES OF ACTION OF ANY KIND WITH RESPECT TO +THIS DELIVERABLE OR ITS GOVERNING AGREEMENT, WHETHER BASED ON BREACH OF +CONTRACT, TORT (INCLUDING NEGLIGENCE), OR OTHERWISE, AND WHETHER OR NOT +THE OTHER MEMBER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.” + +9. Definitions. + +9.1. Affiliate. “Affiliate” means an entity that directly or +indirectly Controls, is Controlled by, or is under common Control of +that party. + +9.2. Approved Specification. “Approved Specification” means the final +version and contents of any Draft Specification designated as an Approved +Specification as set forth in the accompanying Governance.md file. + +9.3. Contribution. “Contribution” means any original work of +authorship, including any modifications or additions to an existing +work, that Contributor submits for inclusion in a Draft Specification, +which is included in a Draft Specification or Approved Specification. + +9.4. Contributor. “Contributor” means any person or entity that has +indicated its acceptance of the License 1) by making a Contribution to +the Specification, or 2) by entering into the Community Specification +Contributor License Agreement for the Specification. Contributor includes +its Affiliates, assigns, agents, and successors in interest. + +9.5. Control. “Control” means direct or indirect control of more +than 50% of the voting power to elect directors of that corporation, +or for any other entity, the power to direct management of such entity. + +9.6. Draft Specification. “Draft Specification” means all versions +of the material (except an Approved Specification) developed by this +Working Group for the purpose of creating, commenting on, revising, +updating, modifying, or adding to any document that is to be considered +for inclusion in the Approved Specification. + +9.7. Exclusion Notice. “Exclusion Notice” means a written notice +made by making a pull request or commit to the repository’s Notices.md +file that identifies patents that Contributor is excluding from its +patent licensing commitments under this License. The Exclusion Notice +for issued patents and published applications must include the Draft +Specification’s name, patent number(s) or title and application +number(s), as the case may be, for each of the issued patent(s) or +pending patent application(s) that the Contributor is excluding from the +royalty-free licensing commitment set forth in this License. If an issued +patent or pending patent application that may contain Necessary Claims +is not set forth in the Exclusion Notice, those Necessary Claims shall +continue to be subject to the licensing commitments under this License. +The Exclusion Notice for unpublished patent applications must provide +either: (i) the text of the filed application; or (ii) identification +of the specific part(s) of the Draft Specification whose implementation +makes the excluded claim a Necessary Claim. If (ii) is chosen, the +effect of the exclusion will be limited to the identified part(s) of +the Draft Specification. + +9.8. Implementation. “Implementation” means making, using, selling, +offering for sale, importing or distributing any implementation of the +Specification 1) only to the extent it implements the Specification and 2) +so long as all required portions of the Specification are implemented. + +9.9. License. “License” means this Community Specification License. + +9.10. Licensee. “Licensee” means any person or entity that has +indicated its acceptance of the License as set forth in Section 2.1.3. +Licensee includes its Affiliates, assigns, agents, and successors in +interest. + +9.11. Necessary Claims. “Necessary Claims” are those patent claims, if +any, that a party owns or controls, including those claims later acquired, +that are necessary to implement the required portions (including the +required elements of optional portions) of the Specification that are +described in detail and not merely referenced in the Specification. + +9.12. Specification. “Specification” means a Draft Specification +or Approved Specification included in the Working Group’s repository +subject to this License, and the version of the Specification implemented +by the Licensee. + +9.13. Scope. “Scope” has the meaning as set forth in the accompanying +Scope.md file included in this Specification’s repository. Changes +to Scope do not apply retroactively. If no Scope is provided, each +Contributor’s Necessary Claims are limited to that Contributor’s +Contributions. + +9.14. Working Group. “Working Group” means this project to develop +specifications, standards, best practices, guidelines, and other similar +materials under this License. + + + +The text of this Community Specification License is Copyright 2020 +Joint Development Foundation and is licensed under the Creative +Commons Attribution 4.0 International License available at +https://creativecommons.org/licenses/by/4.0/. + +SPDX-License-Identifier: CC-BY-4.0 From eeb9aa5214d92c19d111fd84f79e698cf9496104 Mon Sep 17 00:00:00 2001 From: Holger Frydrych Date: Fri, 23 Jun 2023 14:15:52 +0200 Subject: [PATCH 4/5] Check for license header compliance in pipeline Signed-off-by: Holger Frydrych --- .github/workflows/check_codestyle.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check_codestyle.yml b/.github/workflows/check_codestyle.yml index 15dfd17f9..19ae6d0d4 100644 --- a/.github/workflows/check_codestyle.yml +++ b/.github/workflows/check_codestyle.yml @@ -29,9 +29,13 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Installation - run: pip install ".[code_style]" + run: | + pip install reuse + pip install ".[code_style]" - name: Check code with isort run: | isort src tests --check black src tests --check flake8 src tests + - name: Check license headers with reuse + run: reuse lint From a18830d92bdaff9f013c3847881f7dd9aaf71482 Mon Sep 17 00:00:00 2001 From: Holger Frydrych Date: Fri, 17 Nov 2023 10:29:17 +0100 Subject: [PATCH 5/5] Add missing license information for some new files Signed-off-by: Holger Frydrych --- .github/workflows/integration_test.yml | 3 +++ .reuse/dep5 | 6 ------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/integration_test.yml b/.github/workflows/integration_test.yml index 2a37fa7a6..cfb743b5f 100644 --- a/.github/workflows/integration_test.yml +++ b/.github/workflows/integration_test.yml @@ -1,3 +1,6 @@ +# SPDX-FileCopyrightText: 2023 spdx contributors +# +# SPDX-License-Identifier: Apache-2.0 name: Circle conversion test on: diff --git a/.reuse/dep5 b/.reuse/dep5 index b3e8be384..840690888 100644 --- a/.reuse/dep5 +++ b/.reuse/dep5 @@ -2,12 +2,6 @@ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: tools-python Source: https://github.com/spdx/tools-python -Files: - tests/*.json - tests/*.xml -Copyright: 2023 spdx contributors -License: Apache-2.0 - Files: assets/* Copyright: 2023 spdx contributors License: Apache-2.0