aboutcode-org / aboutcode-org/scancode-toolkit

Support directives in go.mod

Aperta
#3,492 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
good first issue new feature package-formats
Lingua principale
Python
Stelle
2.6k
Fork
791
Merge medio
1g 12h
PR unite (30g)
5

Descrizione

## Short Description
We do not support all go.mod features such as replace directives in go.mod files and we should.
See:
- https://github.com/golang/gofrontend/tree/d04b024021bb7dbaa434a6d902bd12beb08e315f/libgo/go/golang.org/x/mod/modfile
- https://go.dev/ref/mod#go-mod-file
- and https://github.com/nexB/scancode-toolkit/blob/develop/src/packagedcode/go_mod.py

And an example see https://github.com/golang/tools/blob/9425c2e70961cb8c2a3b5764658fb70e03d194e4/gopls/go.mod and https://github.com/golang/tools/blob/9425c2e70961cb8c2a3b5764658fb70e03d194e4/go.mod

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.