Re: SPDX Statistics - Miracle of the Sun edition

2023-10-15 Thread Robert-André Mauchin

On 10/13/23 08:15, Miroslav Suchý wrote:

Hot news:

There was new release of SPDX License list. If you want to see impact of Fedora work you can 
check number of new licenses in recent releases and compare


https://github.com/spdx/license-list-XML/releases

and compare it with content of the releases before we started migrating packages (~ Nov 
2022) i.e. version 3.19.


Reviewers wanted: Package review of scancode-toolkit still need 3 dependencies to be review 
https://bugzilla.redhat.com/show_bug.cgi?id=2235055


Now lets dive into numbers:

Two weeks ago we had:


* 23100 spec files in Fedora

* 29479license tags in all spec files

* 12870 tags have not been converted to SPDX yet

* 5817tags can be trivially converted using `license-fedora2spdx`

* Progress: 56.34% ░█ 100%

ELN subset:

913 out of 3957 packages are not converted yet



Today we have:

* 23188 spec files in Fedora

* 29635license tags in all spec files

* 12724 tags have not been converted to SPDX yet

* 5742tags can be trivially converted using `license-fedora2spdx`

* Progress: 57.06% ░█ 100%

ELN subset:

490 out of 3139 packages are not converted yet

Graph with the burndown chart:

https://docs.google.com/spreadsheets/d/1QVMEzXWML-6_Mrlln02axFAaRKCQ8zE807rpCjus-8s/edit?usp=sharing

The list of packages needed to be converted is here:

https://pagure.io/copr/license-validate/blob/main/f/packages-without-spdx-final.txt

List by package maintainers is here

https://pagure.io/copr/license-validate/blob/main/f/packages-without-spdx-final-maintainers.txt

List of packages from ELN subset that needs to be converted:

https://pagure.io/copr/license-validate/blob/main/f/eln-not-migrated.txt

New version of fedora-license-data has been released. With 15 new licenses (plus bunch of 
public domain declarations). 15 licenses are waiting to be review by SPDX.org (and then to 
be added to fedora-license-data) 
https://gitlab.com/fedora/legal/fedora-license-data/-/issues/?label_name%5B%5D=SPDX%3A%3Ablocked


Legal docs and especially

https://docs.fedoraproject.org/en-US/legal/allowed-licenses/

was updated too.


New projection when we will be finished is 2024-08-23.  Pure linear 
approximation.

If your package does not have neither git-log entry nor spec-changelog entry mentioning SPDX 
and you know your license tag matches SPDX formula, you can put your package on ignore list


https://pagure.io/copr/license-validate/blob/main/f/ignore-packages.txt

Either pull-request or direct email to me is fine.



I'm updating Clementine to SPDX, with full reanalysis of the project:

# Apache-2.0:
#   - ext/libclementine-common/core/latch.cpp
#   - ext/libclementine-common/core/latch.h
#   - ext/libclementine-remote/remotecontrolmessages.proto
#   - ext/libclementine-common/core/logging.cpp
#   - ext/libclementine-common/core/logging.h
#   - ext/libclementine-common/core/messagehandler.cpp
#   - ext/libclementine-common/core/messagehandler.h
#   - ext/libclementine-common/core/override.h
#   - ext/libclementine-common/core/timeconstants.h
# BSL-1.0: 3rdparty/utf8-cpp
# GPL-2.0-or-later:
#   - src/engines/gstengine.cpp
#   - src/engines/gstengine.h
#   - src/widgets/sliderwidget.cpp
#   - src/widgets/sliderwidget.h
# LGPL-2.0-or-later:
#   - gst/moodbar/gstfastspectrum.cpp
#   - gst/moodbar/gstfastspectrum.h
# LGPL-2.1-only:
#   - 3rdparty/taglib
#   - src/widgets/stylehelper:
# LGPL-2.1-only WITH Qt-LGPL-exception-1.1 OR GPL-3.0-only:
#   - 3rdparty/qsqlite/clementinesqlcachedresult.cpp
#   - 3rdparty/qsqlite/clementinesqlcachedresult.h
#   - 3rdparty/qsqlite/qsql_sqlite.cpp
#   - 3rdparty/qsqlite/qsql_sqlite.h
# LGPL-2.1-only WITH Qt-LGPL-exception-1.1 OR LGPL-3.0-only WITH 
Qt-LGPL-exception-1.1:
#   - 3rdparty/qsqlite/smain.cpp
#   - 3rdparty/qsqlite/smain.h
# MIT: 3rdparty/qocoa
License:GPL-3.0-or-later AND GPL-2.0-or-later AND BSL-1.0 AND LGPL-2.0-or-later AND 
LGPL-2.1-only AND Apache-2.0 AND (LGPL-2.1-only WITH Qt-LGPL-exception-1.1 OR GPL-3.0-only) 
AND (LGPL-2.1-only WITH Qt-LGPL-exception-1.1 OR LGPL-3.0-only WITH Qt-LGPL-exception-1.1) 
AND MIT

___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: SPDX Statistics - Miracle of the Sun edition

2023-10-15 Thread zebob . m

On 10/13/23 2:46 PM, Michael Catanzaro  wrote:

On Fri, Oct 13 2023 at 08:15:39 AM +0200, Miroslav Suchý  
wrote:
> Scancode-toolkit is not yet in Fedora, but you can instal it form PyPI:
>
>     $ pip install scancode-toolkit
>  $  ~/.local/bin/scancode --license --html /tmp/spdx.html .
>

I attempted this, but unfortunately it depedns on intbitset which is incompatible with 
python 3.12, so it won't work if you've upgraded to Fedora 39. Example errors:


  intbitset/intbitset.c: In function ‘__Pyx_Raise’:
  intbitset/intbitset.c:15725:34: error: ‘PyThreadState’ {aka ‘struct _ts’} has no 
member named ‘curexc_traceback’

  15725 | PyObject* tmp_tb = tstate->curexc_traceback;
    | ^~
  intbitset/intbitset.c:15728:19: error: ‘PyThreadState’ {aka ‘struct _ts’} has no 
member named ‘curexc_traceback’

  15728 | tstate->curexc_traceback = tb;
    | ^~


___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


It's on my COPR and review requests are up

https://copr.fedorainfracloud.org/coprs/eclipseo/scancode-toolkit/
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: SPDX Statistics - Miracle of the Sun edition

2023-10-13 Thread Michael Catanzaro
On Fri, Oct 13 2023 at 08:15:39 AM +0200, Miroslav Suchý 
 wrote:
Scancode-toolkit is not yet in Fedora, but you can instal it form 
PyPI:


$ pip install scancode-toolkit
 $  ~/.local/bin/scancode --license --html /tmp/spdx.html .



I attempted this, but unfortunately it depedns on intbitset which is 
incompatible with python 3.12, so it won't work if you've upgraded to 
Fedora 39. Example errors:


 intbitset/intbitset.c: In function ‘__Pyx_Raise’:
 intbitset/intbitset.c:15725:34: error: ‘PyThreadState’ {aka 
‘struct _ts’} has no member named ‘curexc_traceback’

 15725 | PyObject* tmp_tb = tstate->curexc_traceback;
   | ^~
 intbitset/intbitset.c:15728:19: error: ‘PyThreadState’ {aka 
‘struct _ts’} has no member named ‘curexc_traceback’

 15728 | tstate->curexc_traceback = tb;
   | ^~


___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: SPDX Statistics - Miracle of the Sun edition

2023-10-13 Thread Sandro

On 13-10-2023 08:15, Miroslav Suchý wrote:
Reviewers wanted: Package review of scancode-toolkit still need 3 
dependencies to be review 
https://bugzilla.redhat.com/show_bug.cgi?id=2235055


I took up three of those reviews, but they have been idling ever since...

-- Sandro
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue