aboutcode-org / aboutcode-org/scancode-toolkit

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

Đang mở
#3,806 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
2.6k
Fork
791
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
5

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.