On Thu, Nov 29, 2018 at 10:50:38AM +0100, Roland Hieber wrote: > On Thu, Nov 29, 2018 at 09:14:01AM +0100, Sascha Hauer wrote: > > On Wed, Nov 28, 2018 at 04:13:57PM +0300, Antony Pavlov wrote: > > > At the moment barebox uses SPDX identifiers in very few files. > > > > > > Can we adopt Linux kernel licensing rules for barebox? > > > (https://github.com/torvalds/linux/blob/master/Documentation/process/license-rules.rst) > > > > I really like the idea of using SPDX, but I never looked into what is > > necessary to use it. Adopt this license-rules file, change the headers > > in the files and be done with it? > > "Necessary" depends. Having SPDX-License-Identifier tags in source files > is usually enough for people who know what SPDX is, but for all the > other people and to allow automated license compliance checks with > tools, we also need the rest what the kernel documentation describes. > I think forking that doc would be okay. > > I stumbled into that problem already when I tried to package barebox for > Debian [1], the problem here is that the files in the barebox source > tree are historically grown and have different styles of headers and > other quirks in the formatting, which make it rather impossible to > throw it into tools to find out copyright holders. SPDX seems the way to > go for machine-readable license annotations, and many projects already > use it. Well it's one thing to get the ball rolling and another to convert all source files. Since we already started to import source files with SPDX tags I think we should make this official, convert the files which can be automatically converted and yes, the conversion of the remaining files will probably take more time, but we do not need to do all at once. Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox