• Bug#960665:

    From c.buhtz@posteo.jp@21:1/5 to All on Tue Apr 8 10:00:01 2025
    Hello,
    please let me add one additional item to this feature.

    Assuming SPDX license names are supported and the tool is able to
    specifically parse for SPDX-fields.
    In this case only that SPDX fields should be considered.
    Other licenses strings, e.g. in comments, should be ignored.

    See as a good example
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=960665

    The problem here is that the whole project does offer SPDX meta data and
    "reuse lint" is green on all files.
    But one file "serviceHelper.py" does have comments about the license
    history of that file. Some other licenses
    are named just of historical reasons. License checker does consider that strings, too. That is the problem.

    And by the way: Licensecheck do not need to parse SPDX fields by itself.
    Use "reuse" for that. I opened an issue at "reuse" to support machine
    readable license infos. https://github.com/fsfe/reuse-tool/issues/1164

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jonas Smedegaard@21:1/5 to All on Tue Apr 8 10:50:01 2025
    Hi c,

    Quoting c.buhtz@posteo.jp (2025-04-08 09:50:56)
    please let me add one additional item to this feature.

    Thank you for your contribution here, but please beware that it is not
    easily actionable the way you provide it.

    I encourage you to file separate bugreports for each actionable point
    that you make, targeted the Debian package suitable for acting on it.

    It seems you are not talking about changes to licensecheck, but instead
    talking about the different tool reuse. For that, please file a
    bugreport against the pseudo-package "wnpp" as described here: https://www.debian.org/devel/wnpp/#l1

    If you want licensecheck to (by itself) detect only SPDX license names
    then please file a separate issue about that.

    If you want licensecheck to not check licenses but call out to reuse
    instead, then please file a separate issue describing how that is
    actionable for licensecheck.

    In other words, please post to *this* bugreport only for information
    relevant to the issue of *extending* licensecheck to cover SPDX
    notation.


    Kind regards,

    - Jonas

    --
    * Jonas Smedegaard - idealist & Internet-arkitekt
    * Tlf.: +45 40843136 Website: http://dr.jones.dk/
    * Sponsorship: https://ko-fi.com/drjones

    [x] quote me freely [ ] ask before reusing [ ] keep private

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)