Open bernhardreiter opened 1 year ago
https://github.com/Intevation/pontos/tree/update-headers-go-reuse30 does both for the AGPL Go template with https://github.com/greenbone/pontos/compare/main...Intevation:pontos:update-headers-go-reuse30 .
Note that the command must be called with a contact address, e.g. like
pontos-update-header --company 'Greenbone Networks GmbH <https://greenbone.net>' -l AGPL-3.0-or-later -d cmd/
Could you create a PR and we also need a possibility to update and keep existing headers.
@bjoernricks would you accept a PR that only updates AGPL and go?
We need this tool for updating the copyright in many repos and files. As long it stays backwards compatible or has an upgrade path and there are unit tests I am fine with every PR.
Now that #681 has been merged this might be closed.
Currently licensing headers have lines like (for Go):
the current standard https://reuse.software/spec/ v3.0 suggests to use
Copyright (C)
toSPDX-FileCopyrightText:
and add contact address. Fullfils the SHOULD in the reuse spec.This program is ...
or at least reduce it. Saves space. Removes needs for updates.Advantages: The rights holder(s) can be identified better automatically. The marking is kept flexible for the future.