-
Notifications
You must be signed in to change notification settings - Fork 173
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
[BUG] Go analyze error Module.Replace: key "Version" not found #1121
Comments
Thank you @xuchenCN for creating this issue. If this is in regards to a defect, product question or feature request: you should use our support portal at https://support.fossa.com to file a request, as you would receive more immediate support. |
There is a Zendesk ticket for this as well https://fossa.zendesk.com/agent/tickets/5374. We have completed our initial research and design for improved Golang analysis; the first improvement is in progress this sprint. The CLI will generate a package graph using go list -json -deps all and then turn it into a graph of packages for submission to FOSSA. We'll keep you posted on deployment to fossa-cli and when you can upgrade. |
Thanks for reply, hope to resolve this issue in new version. |
Hi @xuchenCN, It's not the default yet, but we released a new version of fossa-cli a few days ago (v3.7.5) which includes an all new strategy for examining Go projects under an experimental flag. This new strategy should give more accurate results as well as not exhibit the bug that you've reported here. To use this functionality you will need to run fossa analyze with the new flag:
-Chris |
Go project via gomod analyze
I review the result of
go list -json all
, onlylocal replace
has no 'Version' field.The text was updated successfully, but these errors were encountered: