Erlang & Elixir Package Manager Plugins#11319
Erlang & Elixir Package Manager Plugins#11319maennchen wants to merge 9 commits intooss-review-toolkit:mainfrom
Conversation
|
|
||
| #------------------------------------------------------------------------ | ||
| # Elixir (Mix SBoM) | ||
| FROM base AS mix_sbom_build |
Check warning
Code scanning / Scorecard
Pinned-Dependencies Medium
|
|
||
| #------------------------------------------------------------------------ | ||
| # Erlang (Rebar3 SBoM wrapped in Bombom) | ||
| FROM base AS rebar3_sbom_build |
Check warning
Code scanning / Scorecard
Pinned-Dependencies Medium
| * It converts a [PurlType] enum value to the corresponding ORT | ||
| * type string format. | ||
| */ | ||
| fun PurlType.toOrtType(): String = |
Check warning
Code scanning / QDJVM
Unused symbol Warning
| * Get the type as a [PurlType] enum, or null if the type is unknown. | ||
| */ | ||
| @Suppress("SwallowedException") | ||
| fun getPurlType(): PurlType? = |
Check warning
Code scanning / QDJVM
Unused symbol Warning
bf91d9a to
0bb4a3d
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #11319 +/- ##
============================================
+ Coverage 57.77% 57.85% +0.07%
Complexity 1714 1714
============================================
Files 346 346
Lines 12901 12987 +86
Branches 1235 1253 +18
============================================
+ Hits 7454 7513 +59
- Misses 5001 5026 +25
- Partials 446 448 +2
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:
|
84e8b2c to
e1a06b7
Compare
|
As I was just reading this article about workspace support in package managers, something to double-check during the review is whether "Mix (Elixir) [...] umbrella projects" are handled properly. |
|
@sschuberth The way Mix does this is called “Umbrella” applications. I have added a test specifically for that. |
|
Rebased on latest main (detekt update fixes) |
6a17bd0 to
df42b18
Compare
Install mix_sbom binary with sigstore signature verification using cosign. Signed-off-by: Jonatan Männchen <jonatan@maennchen.ch>
Install rebar3_sbom binary using the bombom wrapper with sigstore signature verification using cosign, Co-authored-by: Jonatan Männchen<jonatan@maennchen.ch> Signed-off-by: GwendalLaurent <gwendal.laurent@stritzinger.com>
Add a new utils/cyclonedx module that provides reusable functionality for analyzing CycloneDX SBOMs. This enables multiple package managers to analyze CycloneDX SBOMs by extending the shared CycloneDxPackageManager class. The new module includes: - CycloneDxPackageManager abstract base class for SBOM analysis - CycloneDxSbom for parsing CycloneDX JSON files - CycloneDxDependencyHandler for dependency translation - CycloneDxDependency for dependency representation - Comprehensive test coverage for CycloneDX utilities Co-authored-by: Barbara Chassoul <barbara.chassoul@stritzinger.com> Co-authored-by: Jonatan Männchen<jonatan@maennchen.ch> Signed-off-by: IciaC <iciacarrobarallobre@gmail.com>
Signed-off-by: Barbara Chassoul <barbara.chassoul@stritzinger.com>
Signed-off-by: Barbara Chassoul <barbara.chassoul@stritzinger.com>
Add support for analyzing Elixir projects using mix_sbom for CycloneDX SBOM generation. Supports single projects and umbrella workspaces with proper handling of Hex packages. Signed-off-by: Jonatan Männchen <jonatan@maennchen.ch>
Add support for analyzing Erlang projects using bombom for CycloneDX SBOM generation. Supports single projects with proper handling of Hex packages. Signed-off-by: Jonatan Männchen <jonatan@maennchen.ch>
Add Mix and Rebar3 to the list of known package managers in the analyzer configuration and JSON schema. Signed-off-by: Jonatan Männchen <jonatan@maennchen.ch>
Add Mix & Rebar3 to the analyzer documentation listing supported package managers. Signed-off-by: Jonatan Männchen <jonatan@maennchen.ch>
See individual commits.