aboutcode-org / aboutcode-org/scancode-toolkit

add a copyright year value to JSON output

Ouverte
#1,185 5 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
copyright scan new feature
Langage dominant
Python
Étoiles
2.6k
Forks
791
Merge moyen
1 j 12 h
PR mergées (30 j)
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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.