Skip to content

Conversation

@kamil-bielecki-bosch
Copy link

@kamil-bielecki-bosch kamil-bielecki-bosch commented Nov 21, 2025

This commits are proposal for new ORT BOM file format described under #10182

@sschuberth sschuberth mentioned this pull request Nov 21, 2025
@codecov
Copy link

codecov bot commented Nov 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 57.44%. Comparing base (db2bb19) to head (085d380).

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           
Flag Coverage Δ
funTest-external-tools 13.66% <0.00%> (-0.01%) ⬇️
funTest-no-external-tools 30.98% <0.00%> (-0.01%) ⬇️
test-ubuntu-24.04 42.47% <100.00%> (+<0.01%) ⬆️
test-windows-2025 42.45% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@kamil-bielecki-bosch kamil-bielecki-bosch force-pushed the new-ort-bom-file-format branch 3 times, most recently from e84f486 to 407cff7 Compare November 27, 2025 15:50
@kamil-bielecki-bosch kamil-bielecki-bosch force-pushed the new-ort-bom-file-format branch 4 times, most recently from 05cff73 to a0b097e Compare December 4, 2025 14:36
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>
import org.ossreviewtoolkit.model.VcsType
import org.ossreviewtoolkit.utils.test.getAssetFile

class OrtProjectFileFunTest : WordSpec({

Check warning

Code scanning / QDJVMC

Unused symbol Warning

Class "OrtProjectFileFunTest" is never used
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

Class "OrtProjectFile" is never used
)
}

private fun Collection<DependencyDto>.toScopes(): Set<Scope> {

Check warning

Code scanning / QDJVMC

Unused receiver parameter Warning

Receiver parameter is never used
@kamil-bielecki-bosch kamil-bielecki-bosch force-pushed the new-ort-bom-file-format branch 2 times, most recently from 77e7deb to d98b03d Compare December 4, 2025 15:41
This commit creates new plugin to analyze ORT-specific BOM
file format.

Signed-off-by: Kamil Bielecki <kamil.bielecki@pl.bosch.com>
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

Unused import
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

Unused import directive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant