Skip to content

Conversation

@ruromero
Copy link
Collaborator

@ruromero ruromero commented Oct 30, 2025

Description

Set the use of the MVS algorithm default to true as it is the default behaviour in Go

  • Fix how environment variables are parsed in Windows
  • Fix NPE when processing dependencies
  • The last dependency was being ignored

Related issue (if any):
fixes #174
fixes #192

Checklist

  • I have followed this repository's contributing guidelines.
  • I will adhere to the project's code of conduct.

@ruromero ruromero force-pushed the feat/mvs branch 8 times, most recently from fbdcfa7 to f1df165 Compare October 31, 2025 13:08
@ruromero ruromero requested a review from soul2zimate October 31, 2025 13:32
Signed-off-by: Ruben Romero Montes <rromerom@redhat.com>
Signed-off-by: Ruben Romero Montes <rromerom@redhat.com>
@ruromero ruromero merged commit f25f276 into guacsec:main Oct 31, 2025
41 checks passed
@ruromero ruromero deleted the feat/mvs branch October 31, 2025 14:27
soul2zimate added a commit that referenced this pull request Nov 29, 2025
…VersionsForModule (#225)

## Description

fix: correct go path for commands executed in method
getFinalPackagesVersionsForModule

This happens because
[`getFinalPackagesVersionsForModule`](https://github.com/guacsec/trustify-da-java-client/blob/v0.0.10/src/main/java/io/github/guacsec/trustifyda/providers/GoModulesProvider.java#L319-L323)
doesn't use the resolved go executable path.

This is uncovered by
#188 which set
the use of the MVS algorithm default to true and trigger the
`getFinalPackagesVersionsForModule` method by default.

**Related issue (if any):** fixes
#224

## Checklist

- [x] I have followed this repository's contributing guidelines.
- [x] I will adhere to the project's code of conduct.
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.

Last dependency is not included in the SBOM Default to MVS = true for go

1 participant