-
Notifications
You must be signed in to change notification settings - Fork 363
New ort bom file format #11122
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
base: main
Are you sure you want to change the base?
New ort bom file format #11122
Conversation
plugins/package-managers/ortproject/src/funTest/kotlin/OrtProjectFileFunTest.kt
Fixed
Show fixed
Hide fixed
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #11122 +/- ##
=========================================
Coverage 57.44% 57.44%
Complexity 1701 1701
=========================================
Files 346 346
Lines 12846 12847 +1
Branches 1223 1223
=========================================
+ Hits 7379 7380 +1
Misses 4994 4994
Partials 473 473
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
e84f486 to
407cff7
Compare
05cff73 to
a0b097e
Compare
This commit adds method to Identifier object that allows creation of new Identifier object from PURL. Signed-off-by: Kamil Bielecki <kamil.bielecki@pl.bosch.com>
a0b097e to
1b1a943
Compare
| import org.ossreviewtoolkit.model.VcsType | ||
| import org.ossreviewtoolkit.utils.test.getAssetFile | ||
|
|
||
| class OrtProjectFileFunTest : WordSpec({ |
Check warning
Code scanning / QDJVMC
Unused symbol Warning
| description = "The package manager that uses ORT-specific BOM file as package list source.", | ||
| factory = PackageManagerFactory::class | ||
| ) | ||
| class OrtProjectFile(override val descriptor: PluginDescriptor = OrtProjectFileFactory.descriptor) : |
Check warning
Code scanning / QDJVMC
Unused symbol Warning
| ) | ||
| } | ||
|
|
||
| private fun Collection<DependencyDto>.toScopes(): Set<Scope> { |
Check warning
Code scanning / QDJVMC
Unused receiver parameter Warning
77e7deb to
d98b03d
Compare
This commit creates new plugin to analyze ORT-specific BOM file format. Signed-off-by: Kamil Bielecki <kamil.bielecki@pl.bosch.com>
d98b03d to
085d380
Compare
| import io.kotest.matchers.collections.shouldContainAll | ||
| import io.kotest.matchers.collections.shouldContainExactly | ||
| import io.kotest.matchers.comparables.shouldBeGreaterThan | ||
| import io.kotest.matchers.nulls.shouldNotBeNull |
Check warning
Code scanning / detekt
Detects unused imports Warning
| import io.kotest.matchers.collections.shouldContainAll | ||
| import io.kotest.matchers.collections.shouldContainExactly | ||
| import io.kotest.matchers.comparables.shouldBeGreaterThan | ||
| import io.kotest.matchers.nulls.shouldNotBeNull |
Check warning
Code scanning / QDJVMC
Unused import directive Warning
This commits are proposal for new ORT BOM file format described under #10182