-
Notifications
You must be signed in to change notification settings - Fork 314
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
LicenseClassifications: Exclude properties from serialization #5882
Conversation
Signed-off-by: Frank Viernau <frank_viernau@epam.com>
Signed-off-by: Frank Viernau <frank_viernau@epam.com>
A `license-classifications.yml` is supposed to contain only the two properties defined in the constructor of the class. So, exclude all other properties from serialization. Note that just `@JsonIgnore` cannot be used instead of `@get:JsonIgnore`, as that causes a compile error, see [1]. [1] FasterXML/jackson-module-kotlin#25 Signed-off-by: Frank Viernau <frank_viernau@epam.com>
Codecov ReportBase: 67.87% // Head: 57.92% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #5882 +/- ##
============================================
- Coverage 67.87% 57.92% -9.95%
- Complexity 2172 2265 +93
============================================
Files 272 329 +57
Lines 15984 19119 +3135
Branches 2870 3753 +883
============================================
+ Hits 10849 11075 +226
- Misses 3994 6896 +2902
- Partials 1141 1148 +7
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
This revision has the fix for serializing license classifications, see oss-review-toolkit/ort#5882. Signed-off-by: Frank Viernau <frank_viernau@epam.com>
This revision has the fix for serializing license classifications, see oss-review-toolkit/ort#5882. Signed-off-by: Frank Viernau <frank_viernau@epam.com>
This revision has the fix for serializing license classifications, see oss-review-toolkit/ort#5882. Signed-off-by: Frank Viernau <frank_viernau@epam.com>
See individual commits.
This enables using the serialization in oss-review-toolkit/ort-config#59.