Skip to content
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

Gosum support #475

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Conversation

alessandro-Doyensec
Copy link
Contributor

This PR enables scalibr to search for indirect dependencies inside the go.sum if the go.mod's golang version is < 1.17.

This feature is necessary since before 1.17 every indirect dependency was only present in the go.sum file.

Copy link

google-cla bot commented Feb 19, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

trigger google cla check
@alessandro-Doyensec
Copy link
Contributor Author

Hey @vpasdf , while refactoring, I was thinking about some potential ways to merge the go.mod and go.sum dependencies. I had the idea to just append the go.sum location if a dependency was already found inside the go.mod.

You can check out the implementation in the last commit. If you'd rather keep the dependencies separated, I can roll back this change. Let me know your thoughts!

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.

2 participants