aboutcode-org / aboutcode-org/scancode-toolkit
add a copyright year value to JSON output
Offen
copyright scan
new feature
- Vorherrschende Sprache
- Python
- Sterne
- 2.6k
- Forks
- 791
- Ø Merge
- 1 T. 12 Std.
- Gemergte PRs (30 T.)
- 5
Beschreibung
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
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.