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

GoMod: Missing (transitive) dependencies of dependencies without a 'go.mod' #10103

Open
fviernau opened this issue Mar 27, 2025 · 0 comments
Open
Labels
analyzer About the analyzer tool

Comments

@fviernau
Copy link
Member

fviernau commented Mar 27, 2025

GoMod.kt constructs the dependency tree based on the module graph obtained via go mod graph.
It turned out that the module graph only contains edges defined in any go.mod file of any transitive dependency [1]. So, there are no edges for the dependencies of any module without a go.mod file.

The problem is reproduced by a functional test added by [2].

[1] golang/go#50656 (comment)
[2] #10102

@fviernau fviernau added the to triage Issues that need triaging label Mar 27, 2025
@fviernau fviernau added analyzer About the analyzer tool and removed to triage Issues that need triaging labels Mar 27, 2025
@fviernau fviernau assigned fviernau and unassigned fviernau Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer About the analyzer tool
Projects
None yet
Development

No branches or pull requests

1 participant