aboutcode-org / aboutcode-org/scancode-toolkit

add a copyright year value to JSON output

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

Description

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

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.