Re: SPDX Statistics - ZX Spectrum edition
V Fri, May 05, 2023 at 09:10:54PM +0200, Miro Hrončok napsal(a): > Now it uses SPDX identifiers, but lowercase ors, should probably be uppercase > ORs. > I corrected it in perl-Exporter-Tidy-0.08-28.fc39. -- Petr signature.asc Description: PGP signature ___ 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 - ZX Spectrum edition
Dne 05. 05. 23 v 21:46 Artur Frenszek-Iwicki napsal(a): Now it uses SPDX identifiers, but lowercase ors, should probably be uppercase ORs. Yea. I've been reading through the spec lately, since I want to add proper SPDX support to my project, and it says joiners should be uppercase and parsers should match case-sensitively. License expression operators (AND, OR and WITH) should be matched in a case-sensitive manner. https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/#d2-case-sensitivity Right. So: 0BSD OR AAL 0bsd OR AAL 0Bsd OR aAl are all correct while 0BSD or AAL is not correct. 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
Re: SPDX Statistics - ZX Spectrum edition
> Now it uses SPDX identifiers, but lowercase ors, should probably be uppercase > ORs. Yea. I've been reading through the spec lately, since I want to add proper SPDX support to my project, and it says joiners should be uppercase and parsers should match case-sensitively. > License expression operators (AND, OR and WITH) should be matched in a > case-sensitive manner. https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/#d2-case-sensitivity A.FI. ___ 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 - ZX Spectrum edition
On 05. 05. 23 17:09, Miroslav Suchý wrote: Dne 03. 05. 23 v 14:38 Daniel P. Berrangé napsal(a): given we're not doing license minimization any more, I'm curious what package is going to win the prize for the longest license tag :-) So far: rpm-specs/perl-Exporter-Tidy.spec: 0BSD or AAL or AFL-3.0 or AGPL-3.0-only or APSL-2.0 or Apache-1.1 or Apache-2.0 or Artistic-2. 0 or BSD-1-Clause or BSD-2-Clause or BSD-3-Clause or BSD-3-Clause-LBNL or BSL-1.0 or CATOSL-1.1 or CDDL-1.0 or CNRI-Python or CPAL-1.0 or CPL-1.0 or CUA-OPL-1 .0 or ECL-1.0 or ECL-2.0 or EFL-2.0 or EPL-1.0 or EPL-2.0 or EUDatagrid or EUPL-1.1 or EUPL-1.2 or Entessa or Fair or GPL-1.0-only or GPL-2.0-only or GPL-3.0- only or HPND or IPL-1.0 or ISC or Jam or LGPL-2.0-only or LGPL-2.1-only or LGPL-3.0-only or LPL-1.02 or MIT or MIT-0 or MPL-1.0 or MPL-1.1 or MPL-2.0 or MS-PL or MS-RL or MirOS or Motosoto or NCSA or NGPL or NTP or Naumen or Nokia or OLDAP-2.8 or OSL-1.0 or OSL-2.1 or OSL-3.0 or PHP-3.01 or PostgreSQL or QPL-1.0 or RPSL-1.0 or SISSL or SPL-1.0 or Sleepycat or UPL-1.0 or Unicode-DFS-2016 or Unlicense or VSL-1.0 or W3C or ZPL-2.0 or ZPL-2.1 or Zlib That is 861 characters. Note that that license was long even before SDPX. Now it uses SPDX identifiers, but lowercase ors, should probably be uppercase ORs. -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok ___ 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 - ZX Spectrum edition
This is a questionable representation though. The license in question is: "Pick your favourite OSI approved license :) http://www.opensource.org/licenses/alphabetical; It might be more appropriate to have a license identifier that consists of those two lines. On Fri, May 5, 2023 at 11:09 AM Miroslav Suchý wrote: > > Dne 03. 05. 23 v 14:38 Daniel P. Berrangé napsal(a): > > > given we're not doing license minimization any more, I'm curious > what package is going to win the prize for the longest license tag :-) > > > So far: > > rpm-specs/perl-Exporter-Tidy.spec:0BSD or AAL or AFL-3.0 or > AGPL-3.0-only or APSL-2.0 or Apache-1.1 or Apache-2.0 or Artistic-2. > 0 or BSD-1-Clause or BSD-2-Clause or BSD-3-Clause or BSD-3-Clause-LBNL or > BSL-1.0 or CATOSL-1.1 or CDDL-1.0 or CNRI-Python or CPAL-1.0 or CPL-1.0 or > CUA-OPL-1 > .0 or ECL-1.0 or ECL-2.0 or EFL-2.0 or EPL-1.0 or EPL-2.0 or EUDatagrid or > EUPL-1.1 or EUPL-1.2 or Entessa or Fair or GPL-1.0-only or GPL-2.0-only or > GPL-3.0- > only or HPND or IPL-1.0 or ISC or Jam or LGPL-2.0-only or LGPL-2.1-only or > LGPL-3.0-only or LPL-1.02 or MIT or MIT-0 or MPL-1.0 or MPL-1.1 or MPL-2.0 or > MS-PL > or MS-RL or MirOS or Motosoto or NCSA or NGPL or NTP or Naumen or Nokia or > OLDAP-2.8 or OSL-1.0 or OSL-2.1 or OSL-3.0 or PHP-3.01 or PostgreSQL or > QPL-1.0 or > RPSL-1.0 or SISSL or SPL-1.0 or Sleepycat or UPL-1.0 or Unicode-DFS-2016 or > Unlicense or VSL-1.0 or W3C or ZPL-2.0 or ZPL-2.1 or Zlib > > That is 861 characters. > > > NEW: the package fedora-license-data now contains BNF grammar which you can > use. It is available in `/usr/share/fedora-license-data/grammar.lark` > > Any guidance on how to use this grammar ? > > https://pagure.io/copr/license-validate/blob/main/f/license-validate.py > > https://lark-parser.readthedocs.io/en/latest/how_to_use.html > > 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 ___ 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 - ZX Spectrum edition
Dne 03. 05. 23 v 14:38 Daniel P. Berrangé napsal(a): given we're not doing license minimization any more, I'm curious what package is going to win the prize for the longest license tag :-) So far: rpm-specs/perl-Exporter-Tidy.spec: 0BSD or AAL or AFL-3.0 or AGPL-3.0-only or APSL-2.0 or Apache-1.1 or Apache-2.0 or Artistic-2. 0 or BSD-1-Clause or BSD-2-Clause or BSD-3-Clause or BSD-3-Clause-LBNL or BSL-1.0 or CATOSL-1.1 or CDDL-1.0 or CNRI-Python or CPAL-1.0 or CPL-1.0 or CUA-OPL-1 .0 or ECL-1.0 or ECL-2.0 or EFL-2.0 or EPL-1.0 or EPL-2.0 or EUDatagrid or EUPL-1.1 or EUPL-1.2 or Entessa or Fair or GPL-1.0-only or GPL-2.0-only or GPL-3.0- only or HPND or IPL-1.0 or ISC or Jam or LGPL-2.0-only or LGPL-2.1-only or LGPL-3.0-only or LPL-1.02 or MIT or MIT-0 or MPL-1.0 or MPL-1.1 or MPL-2.0 or MS-PL or MS-RL or MirOS or Motosoto or NCSA or NGPL or NTP or Naumen or Nokia or OLDAP-2.8 or OSL-1.0 or OSL-2.1 or OSL-3.0 or PHP-3.01 or PostgreSQL or QPL-1.0 or RPSL-1.0 or SISSL or SPL-1.0 or Sleepycat or UPL-1.0 or Unicode-DFS-2016 or Unlicense or VSL-1.0 or W3C or ZPL-2.0 or ZPL-2.1 or Zlib That is 861 characters. NEW: the package fedora-license-data now contains BNF grammar which you can use. It is available in `/usr/share/fedora-license-data/grammar.lark` Any guidance on how to use this grammar ? https://pagure.io/copr/license-validate/blob/main/f/license-validate.py https://lark-parser.readthedocs.io/en/latest/how_to_use.html 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
Re: SPDX Statistics - ZX Spectrum edition
On Sun, Apr 23, 2023 at 11:09:04AM +0200, Miroslav Suchý wrote: > Two weeks ago we had: > > > * 22918 spec files in Fedora > > > > * 29406license tags in all spec files > > > > * 19348 tags have not been converted to SPDX yet > > > > * 7521tags can be trivially converted using `license-fedora2spdx` > > > > * Progress: 34% ░░░███ 100% > > > > Today we have: > > * 22961 spec files in Fedora > > * 29459license tags in all spec files > > * 19099 tags have not been converted to SPDX yet > > * 7404tags can be trivially converted using `license-fedora2spdx` > > * Progress: 35% ░░░███ 100% given we're not doing license minimization any more, I'm curious what package is going to win the prize for the longest license tag :-) > NEW: the package fedora-license-data now contains BNF grammar which you can > use. It is available in `/usr/share/fedora-license-data/grammar.lark` Any guidance on how to use this grammar ? With regards, Daniel -- |: https://berrange.com -o-https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o-https://fstop138.berrange.com :| |: https://entangle-photo.org-o-https://www.instagram.com/dberrange :| ___ 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 - ZX Spectrum edition
Am 24.04.23 um 12:41 schrieb Miroslav Suchý: For example take python-pydyf: https://src.fedoraproject.org/rpms/python-pydyf/commits/rawhide After git-push it is gone now in the updated stats. Sorry. Thank you for your time to drive this effort + the quick fix :-) Felix ___ 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 - ZX Spectrum edition
Dne 24. 04. 23 v 12:10 Felix Schwarz napsal(a): I have updated some of my packages, but they're still listed there. I've used "Update license tag to SPDX" in the changelog. similar for me. For example take python-pydyf: https://src.fedoraproject.org/rpms/python-pydyf/commits/rawhide After git-push it is gone now in the updated stats. Sorry. 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
Re: SPDX Statistics - ZX Spectrum edition
Dne 23. 04. 23 v 11:59 Mattia Verga via devel napsal(a): I have updated some of my packages, but they're still listed there. I've used "Update license tag to SPDX" in the changelog. Ag! I forgot to git-push. Fixed. Sorry. 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
Re: SPDX Statistics - ZX Spectrum edition
Am 23.04.23 um 11:59 schrieb Mattia Verga via devel: I have updated some of my packages, but they're still listed there. I've used "Update license tag to SPDX" in the changelog. similar for me. For example take python-pydyf: https://src.fedoraproject.org/rpms/python-pydyf/commits/rawhide Should I use a different license tag? Felix ___ 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 - ZX Spectrum edition
Dne 23. 04. 23 v 13:29 Richard Shaw napsal(a): NEW: the package fedora-license-data now contains BNF grammar which you can use. It is available in `/usr/share/fedora-license-data/grammar.lark` You'll have to explain to me the significance of this. This is good starting point: https://en.wikipedia.org/wiki/Backus%E2%80%93Naur_form The BNF is one of the basic grammar used in formal automata. It is the data part of any formal validation or compiler. The validation is most relevant in this case. There is lot of libraries that load the grammar and validate or tranform the input. I wrote this grammar for Lark library. The validation is then just two-liner You can see it used e.g., here https://pagure.io/copr/license-validate/blob/main/f/license-validate.py#_31 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
Re: SPDX Statistics - ZX Spectrum edition
On Sun, Apr 23, 2023 at 4:09 AM Miroslav Suchý wrote: > New version of fedora-license-data and license-validate has been released. > > NEW: the package fedora-license-data now contains BNF grammar which you > can use. It is available in `/usr/share/fedora-license-data/grammar.lark` > You'll have to explain to me the significance of this. Thanks, Richard ___ 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 - ZX Spectrum edition
Il 23/04/23 11:09, Miroslav Suchý ha scritto: > > The list of packages needed to be converted is again 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 > > I have updated some of my packages, but they're still listed there. I've used "Update license tag to SPDX" in the changelog. kpmcore and kde-partitionmanager were rebuilt after the update. indistarter, libpasastro and libpasraw were not rebuilt after the change (only updated in src). python-pymediawiki is MIT (no change). Mattia ___ 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