aboutcode-org / aboutcode-org/scancode-toolkit

add a copyright year value to JSON output

Aperta
#1,185 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
copyright scan new feature
Lingua principale
Python
Stelle
2.6k
Fork
791
Merge medio
1g 12h
PR unite (30g)
5

Descrizione

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

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.