-
Notifications
You must be signed in to change notification settings - Fork 308
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
fix(spdx-utils): Support dashed reference category names #9157
Conversation
abcb246
to
d508a0a
Compare
import org.ossreviewtoolkit.utils.spdx.SpdxModelMapper | ||
|
||
class SpdxExternalReferenceTest : WordSpec({ | ||
"Serializing a categories" should { |
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.
Nit: "Serializing categories" or "Serializing a category". Same for deserializing below.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9157 +/- ##
=========================================
Coverage 67.08% 67.08%
Complexity 1188 1188
=========================================
Files 240 240
Lines 7901 7901
Branches 915 915
=========================================
Hits 5300 5300
Misses 2232 2232
Partials 369 369
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
d508a0a
to
6b7c454
Compare
6b7c454
to
8e5fccd
Compare
Sorry @oheger-bosch, I had to fix this up yet again to not require changes in ORT's test assets and run into the same discussion about backward compatibility as for #7839. |
This is a follow-up to the unmerged changes from [1] to support reading dashed reference category names while still writing underscored names for backward compatibility with ORT's code base. [1]: https://github.com/oss-review-toolkit/ort/pull/7839/files#diff-d290822c4f4714ad4b5d29e52d75edfa3c70e3e80e258d69adf0f6a82d8ae9a4 Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
8e5fccd
to
4d6e07c
Compare
Merging despite the unrelated Python test failures. |
This revives the change from 1 for compatibility when reading SPDX files.