-
Notifications
You must be signed in to change notification settings - Fork 317
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
feat(scanner): Add branch name to FossID scan code #8641
feat(scanner): Add branch name to FossID scan code #8641
Conversation
efc3d6c
to
088c960
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8641 +/- ##
=========================================
Coverage 67.84% 67.84%
Complexity 1164 1164
=========================================
Files 244 244
Lines 7735 7735
Branches 864 864
=========================================
Hits 5248 5248
Misses 2128 2128
Partials 359 359
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
651c2b3
to
bbf6e42
Compare
Commit messages should be written in "imperative mood" and titles should not end in a dot, so use "feat(scanner): Add a branch name to the FossID scan code" |
plugins/scanners/fossid/src/main/kotlin/FossIdNamingProvider.kt
Outdated
Show resolved
Hide resolved
plugins/scanners/fossid/src/test/kotlin/FossIdNamingProviderTest.kt
Outdated
Show resolved
Hide resolved
Please also document the new builtin: https://github.com/oss-review-toolkit/ort/blob/main/plugins/scanners/fossid/src/main/kotlin/FossIdNamingProvider.kt#L28-L39 |
plugins/scanners/fossid/src/test/kotlin/FossIdNamingProviderTest.kt
Outdated
Show resolved
Hide resolved
82595dc
to
4f493bc
Compare
35c3ced
to
c2f0f80
Compare
plugins/scanners/fossid/src/main/kotlin/FossIdNamingProvider.kt
Outdated
Show resolved
Hide resolved
plugins/scanners/fossid/src/main/kotlin/FossIdNamingProvider.kt
Outdated
Show resolved
Hide resolved
plugins/scanners/fossid/src/main/kotlin/FossIdNamingProvider.kt
Outdated
Show resolved
Hide resolved
plugins/scanners/fossid/src/test/kotlin/FossIdNamingProviderTest.kt
Outdated
Show resolved
Hide resolved
plugins/scanners/fossid/src/test/kotlin/FossIdNamingProviderTest.kt
Outdated
Show resolved
Hide resolved
c2f0f80
to
f1628a0
Compare
plugins/scanners/fossid/src/main/kotlin/FossIdNamingProvider.kt
Outdated
Show resolved
Hide resolved
plugins/scanners/fossid/src/main/kotlin/FossIdNamingProvider.kt
Outdated
Show resolved
Hide resolved
plugins/scanners/fossid/src/main/kotlin/FossIdNamingProvider.kt
Outdated
Show resolved
Hide resolved
plugins/scanners/fossid/src/main/kotlin/FossIdNamingProvider.kt
Outdated
Show resolved
Hide resolved
plugins/scanners/fossid/src/test/kotlin/FossIdNamingProviderTest.kt
Outdated
Show resolved
Hide resolved
f1628a0
to
217c683
Compare
e4b35c8
to
1556a46
Compare
My comments have been addressed as well. @nnobelis, anything open on your side? Otherwise, I think this can be merged once the detekt issues have been resolved. |
1556a46
to
aefe288
Compare
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.
Comments addressed.
Add branch name (revision) to FossID scan code for easier identification of scanned source code. As FossID accepts maximum of 255 characters in scan code, branch name is trimmed to size, that is compliant with this constraint. Signed-off-by: Kamil Bielecki <[email protected]>
aefe288
to
30f2c3d
Compare
Adds branch name (revision) to FossID scan code for easier identification of scanned source code.
As FossID accepts maximum of 255 characters in scan code, branch name is trimmed to size, that is compliant with this constraint.