I think for licenses like the MPL, which are scoped to a single file, including the header makes sense, and isn't particularly onerous: https://www.mozilla.org/en-US/MPL/headers/
I don't put headers in projects that use other licenses.
I used to put the ISC license in the header of every file when I first started sharing code online under open source licenses. But eventually I realized that a single LICENSE file is best, instead of having the header in all of the files.
There is no need to reinvent a solved problem by rewritting it in rust with a different format, particularly considering that reuse was developed by the FSFE in collaboration with some lawyers.
9 comments
[ 3.7 ms ] story [ 13.1 ms ] threadI don't put headers in projects that use other licenses.
There is no need to reinvent a solved problem by rewritting it in rust with a different format, particularly considering that reuse was developed by the FSFE in collaboration with some lawyers.
The most "good enough" solution for validating license headers I've ever used is just to grep for the copyright line: https://github.com/microsoft/thrifty/blob/master/script/ensu...
This sounds much better.