aboutcode-org / aboutcode-org/scancode-toolkit

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

Offen
#3,806 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
2.6k
Forks
791
Ø Merge
1 T. 12 Std.
Gemergte PRs (30 T.)
5

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.