I tooted posted on Mastodon about how it would be great if more open source project would adopt REUSE. Someone pointed out that it would be great to automate the addition of the metadata inside the files based on the git repository. So here is a small script that does exactly that. It goes over all your .cpp and .h file and will add the header based on the list of authors as well as the first commit on that particular file.