License boilerplate

Christian Lohmaier lohmaier at googlemail.com
Tue Mar 12 12:27:56 UTC 2024


Hi Sophia, *,

On Sun, Mar 10, 2024 at 12:43 PM Sophia Schröder
<sophia.schroeder at libreoffice.org> wrote:
>
> would it be suitable to replace our big chunk of license boilerplate with a much more simpler
> SPDX-License-Identifier?

replace in all files just for the sake of replacing it? That'll be
lots of noise for little gain, nearly all editors can collapse that by
default/remember your last editing position so scrolling past that
isn't really a big concern I'd say.

> It would reduce most of the license boilerplate to a simple oneliner and is even simpler for new developers.

Not sure how that would be easier for new developers - whether they
paste one thing or the other doesn't really make a difference. And we
don't only want the license itself, but also the editor modelines to
be present, so I don't really see how this would make it easier. Maybe
for new files it can be adopted, but then we have both styles and that
might also not be desirable.

> I have already done it in my own copy fo LibreOffice source code.

If that was done manually it is a hard no, if you did it with a
script: better to show the script.

ciao
Christian


More information about the LibreOffice mailing list