aboutcode-org / aboutcode-org/scancode-toolkit

Parse comments in go.mod files for "// indirect"

Open
#3,806 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

We should parse comments in go.mod files for "// indirect" line-trailing comments that indicates that a package is the results of a transitive dependency resolution as opposed to be a directly added dependency. There may be other comments too.

Here the comments essentially become "API" in the go.mod format, and can respect https://www.hyrumslaw.com/

And there are folks that rely on this too: https://github.com/search?q="%2F%2F+indirect"+language%3APython+"go.mod"&type=code

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.