Moving towards SPDX Compliant Copyright Statements in PO Files

Josep M. Ferrer txemaq at saragata.net
Fri Nov 4 19:01:46 GMT 2022


El 3/11/22 a les 13:47, Andreas Cord-Landwehr ha escrit:
> Hi, following up the discussion in the separate thread ("reuse compliance and
> imported po/"), I need some input about the practical steps to achieve this.
>
> At [1] I have a merge-request prepared that updates Lokalize to:
> - understand both, the "old" copyright statements and the "new" SPDX copyright
> statements
> - changes to SPDX copyright statements per default
>
> The technical change here is the simple part, but we have to look into the
> translation workflow, where I am not an expert. Essentially, we have two main
> questions on table:
>
> a) Is it acceptable to have a transition phase where we have both kinds of
> copyright statements inside PO files because translators of the same file use
> different tools/different versions of tools that do not yet all support SPDX
> based statements? (please also say if there are more tools additional to
> Lokalize, GTranslator and Poedit that we have to look at)

 From my POV, it's no necessary the transition phase: a single PO file 
must have the traditional copyright statement or the SPDX copyright 
statement, but no both. But other translation teams may have a different 
needs.

I've just tested an option in Pology suite 
(https://invent.kde.org/sdk/pology):

$ posieve set-header -scopyright:'SPDX-FileCopyrightText: 2021, 2022 Foo 
Name <foo at kde.org>' akonadi_knut_resource.po

And changed the old copyright statement to SPDF copyright. So, it's OK.


> b) Is it acceptable to only support forward migration from "old" to "new"
> copyright statements and not the way back?

Also, from my POV, our team only need the forward migration.


>
> And actually, are you OK with going towards SPDX based copyright statements
> our do you have any fundamental concerns? As Harald already said, it would be
> a very big help for our automatic license/copyright check tooling because most
> of the code already is ported to SPDX based statements.

I have some concerns:

1) Some distros will ship a new Lokalize version in a year or two, with 
the SPDF compliant copyright statement. So, this movement will be slow.

2) At some point, when all teams use SPDF compliant copyright 
statements, there will be PO files with old copyright statements ( some 
PO files untouched since a decade or more, or inactive teams). I 
understand there will be a massive migration. Is this assumption correct?

Thanks!

Josep M. Ferrer

>
> Best regards,
> Andreas
>
> [1]https://invent.kde.org/sdk/lokalize/-/merge_requests/22
>
> PS: Yes, I deliberately only said "copyright" and not "license" for now,
> because "license statements" will be a quite harder problem to tackle because
> it is probably not a syntactical but a semantic change...
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-i18n-doc/attachments/20221104/581d2bdc/attachment.htm>


More information about the kde-i18n-doc mailing list