Re: SPDX Statistics - Flock edition

2023-08-06 Thread Miroslav Suchý

Dne 06. 08. 23 v 10:26 Barry Scott napsal(a):



On 05/08/2023 08:07, Miroslav Suchý wrote:


Tip of the day:

    Do you want to validate your License string? Use: license-validate 
"$YOUR_LICENSE_STRING"


I dnf installed license-validate on F38
Then run it to check a license and it does this:

$ /usr/bin/license-validate BSD
No terminal defined for 'B' at line 1 col 1

BSD
^


This is the old string. In legacy system.

$ license-validate--old-vBSD
Approved license

$ license-fedora2spdx'BSD'
Warning: more options on how to interpret BSD. Possible options: ['BSD-3-Clause', 'BSD-3-Clause-Modification', 
'BSD-2-Clause', 'BSD-2-Clause-Views', 'BSD-2-Clause-FreeBSD', 'BSD-1-Clause']

{{pick BSD choice}}

You have to dig in and actually find which of these licenses it is. Let say you 
find that it is BSD-3-Clause.

$ license-validate-vBSD-3-Clause
Approved license


--
Miroslav Suchy, RHCA
Red Hat, Manager, Packit and CPT, #brno, #fedora-buildsys
___
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 - Flock edition

2023-08-06 Thread Barry Scott


On 05/08/2023 08:07, Miroslav Suchý wrote:


Tip of the day:

    Do you want to validate your License string? Use: license-validate 
"$YOUR_LICENSE_STRING"



I dnf installed license-validate on F38
Then run it to check a license and it does this:

$ /usr/bin/license-validate BSD
No terminal defined for 'B' at line 1 col 1

BSD
^

Expecting: {'__ANON_79', 'SWL', '__ANON_91', '__ANON_128', 'TTWL', 
'__ANON_8', '__ANON_253', 'LATEX2E', '__ANON_104', '__ANON_223', '


What am I doing wrong?

Barry
___
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 - Flock edition

2023-08-05 Thread Miroslav Suchý

Dne 05. 08. 23 v 8:52 Gavin Henry napsal(a):



* Progress: 41.04% ██ 100%



What tool generated the above? Looks nice.


https://mitchelpl.github.io/Progress-Bar-Generator/

--
Miroslav Suchy, RHCA
Red Hat, Manager, Packit and CPT, #brno, #fedora-buildsys
___
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 - Flock edition

2023-08-05 Thread Gavin Henry
> * Progress: 41.04% ██ 100%
>
>
What tool generated the above? Looks nice.

>
___
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


SPDX Statistics - Flock edition

2023-08-05 Thread Miroslav Suchý

Two weeks ago we had:


* 23102 spec files in Fedora

* 29514license tags in all spec files

* 17401 tags have not been converted to SPDX yet

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

* Progress: 41.04% ██ 100%

ELN subset:

1125 out of 3083 packages are not converted yet



Today we have:

* 22983 spec files in Fedora

* 29406license tags in all spec files

* 16915 tags have not been converted to SPDX yet

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

* Progress: 42.48% ██ 100%

ELN subset:

986 out of 2500 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 13 new licenses.

New version of license-validate has been released too. It includes improvement that I gathered during Flock - thank you 
Sandro.


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-12-19 (we are slowing down 
again :( ). 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.

Tip of the day:

    Do you want to validate your License string? Use: license-validate 
"$YOUR_LICENSE_STRING"

Why SPDX Flock edition? Because this week was Flock. You can watch the 
recordings from:

https://www.youtube.com/playlist?list=PL0x39xti0_64OcXEGLCtoI4nouADqaTcT

or use the links from the schedule

https://flock2023.sched.com/

There was a talk about SPDX and workshop where we converted some packages. 
Thanks to all participants!


Do you hesitate how to proceed with the migration? Please follow

https://docs.fedoraproject.org/en-US/legal/update-existing-packages/

Miroslav


___
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