aboutcode-org / aboutcode-org/scancode-toolkit

add a copyright year value to JSON output

Đang mở
#1,185 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
copyright scan new feature
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ả

In a CI scenario one might want to check if the copyright has the year at which the last commit changed the file. For that Scancode-toolkit could provide extra "copyright year values" in the JSON output (from_year, to_year).

Simple example for a pre-commit hook to check the year:
http://damien.lespiau.name/2013/01/a-git-pre-commit-hook-to-check-year-of.html

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.