Fix REUSE compliance#8416
Closed
hilmarf wants to merge 7 commits into
Closed
Conversation
Signed-off-by: Hilmar Falkenberg <hilmar.falkenberg@sap.com>
Signed-off-by: Hilmar Falkenberg <hilmar.falkenberg@sap.com>
Signed-off-by: Hilmar Falkenberg <hilmar.falkenberg@sap.com>
…pressions - Add LICENSES/Apache-2.0.txt (copy of LICENSE) as required by REUSE spec - Add .reuse/dep5 to provide copyright/license info for files without inline headers - Fix invalid SPDX expressions in OtelImplJavadocTest and OtelInternalJavadocTest by wrapping embedded SPDX-License-Identifier strings in REUSE-IgnoreStart/End comments to prevent the REUSE linter from treating test fixture content as actual license declarations
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8416 +/- ##
============================================
+ Coverage 90.85% 91.15% +0.29%
+ Complexity 7954 7762 -192
============================================
Files 896 881 -15
Lines 24010 23408 -602
Branches 2390 2330 -60
============================================
- Hits 21815 21337 -478
+ Misses 1457 1377 -80
+ Partials 738 694 -44 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Author
|
sorry - wrong destination |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Fixes all issues reported by the REUSE API to make the repository REUSE-compliant.
Changes
LICENSES/Apache-2.0.txt: Added the Apache-2.0 license file in the location required by REUSE spec (copy of the existingLICENSEfile)..reuse/dep5: Added a machine-readable copyright file (Debian format) that covers all files which cannot or should not have inline SPDX headers (config files, build scripts, docs, generated API diffs, resources, etc.).OtelImplJavadocTest.java/OtelInternalJavadocTest.java: Fixed invalid SPDX expressions. These test files embed Java source code as string literals for use withCompilationTestHelper. Each test fixture starts with/* ... SPDX-License-Identifier: Apache-2.0 ... */— the REUSE linter was picking upApache-2.0",(the Java string with trailing comma) as an invalid SPDX expression. Added// REUSE-IgnoreStart/// REUSE-IgnoreEndcomments around the embedded license headers to suppress REUSE linter processing of those test fixture strings.Test plan