-
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
Black Duck: Support origin-id queries using the "conan" namespace #9826
Conversation
@@ -1,4 +1,46 @@ | |||
{ | |||
"componentsViewsForExternalId": { |
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.
Commit message: "lacks an entry" (as you refer to plural "forges")
@@ -58,3 +58,8 @@ internal data class BlackDuckOriginId( | |||
} | |||
} | |||
} | |||
|
|||
// A replacement for `Forge.getKnownForges()`, because the latter does not contain entries for all forges. | |||
private val KNOWN_FORGES = Forge.getKnownForges() + listOf( |
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.
Alternatively:
private val KNOWN_FORGES = Forge.getKnownForges() + Forge(":", "conan").let { it.name to it }
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.
I'll need to add another forge to that list (in a following PR). So, I'd prefer to keep this a list for easy extension.
210e6c4
to
a9500e5
Compare
This is a fix-up for ae2ae6e. Signed-off-by: Frank Viernau <[email protected]>
This is fix-up for ae2ae6e. Signed-off-by: Frank Viernau <[email protected]>
a9500e5
to
8f1cf23
Compare
The known forges, `Forge.getKnowForges()`, defined in `bdio-integration` lack an entry for the "conan" forge. Fix this with a work around, see also [1]. [1]: blackducksoftware/integration-bdio#40 Signed-off-by: Frank Viernau <[email protected]>
8f1cf23
to
3cfb144
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9826 +/- ##
=========================================
Coverage 68.08% 68.08%
Complexity 1286 1286
=========================================
Files 249 249
Lines 8829 8829
Branches 918 918
=========================================
Hits 6011 6011
Misses 2432 2432
Partials 386 386
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
See individual commits.
Part of #8739.