<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>15502</bug_id>
          
          <creation_ts>2024-06-05 12:29:19 +0000</creation_ts>
          <short_desc>Missing spdx Licenses in the common-licenses directory</short_desc>
          <delta_ts>2024-07-08 10:57:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BSPs</product>
          <component>bsps-oe-core</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Amr Mohamed">amr.mohamed</reporter>
          <assigned_to name="Amr Mohamed">amr.mohamed</assigned_to>
          <cc>JPEWhacker</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>99123</commentid>
    <comment_count>0</comment_count>
    <who name="Amr Mohamed">amr.mohamed</who>
    <bug_when>2024-06-05 12:29:19 +0000</bug_when>
    <thetext>The following Licenses couldn&apos;t be found in the common-licenses directory but they are listed in spdx &quot;https://spdx.org/licenses/&quot;.
Qt-GPL-exception-1.0
BSD-2-Clause-FreeBSD
BSD-Advertising-Acknowledgement
BSD-2-Clause-NetBSD
Python-2.0.1
FDK-AAC
metamail
Inner-Net
TTWL</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99136</commentid>
    <comment_count>1</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2024-06-06 14:39:29 +0000</bug_when>
    <thetext>Thanks Amr,
Are you able and willing to send a patch?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99159</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-06-10 15:57:30 +0000</bug_when>
    <thetext>Joshua: did you have a script to automatically sync the licenses with the SPDX index?  Or am I just imagining that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99160</commentid>
    <comment_count>3</comment_count>
    <who name="Joshua Watt">JPEWhacker</who>
    <bug_when>2024-06-10 16:16:20 +0000</bug_when>
    <thetext>I don&apos;t. Maybe you are thinking of the SPDX JSON license list? I don&apos;t have a script for that, but it can (and should) be synced from upstream.

We could probably write a script that pulls licenses using the JSON file data, e.g. https://raw.githubusercontent.com/spdx/license-list-data/v3.24.0/json/licenses.json</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99290</commentid>
    <comment_count>4</comment_count>
    <who name="Joshua Watt">JPEWhacker</who>
    <bug_when>2024-06-27 22:23:38 +0000</bug_when>
    <thetext>This is partially solved with: https://lists.openembedded.org/g/openembedded-core/topic/patch_2_2_licenses_update/106918428

Some of the listed licenses are marked as deprecated, and I don&apos;t want the automated script to pull deprecated licenses, so they might have to be added manually.

I also don&apos;t pull the exceptions, because in general I don&apos;t think OE handles them</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99331</commentid>
    <comment_count>5</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-07-08 10:26:22 +0000</bug_when>
    <thetext>Fixed in e9c1f48af10ccb58251ecc7e041babb99b94d6df, hopefully.

Amr, please re-open if there are license texts that you still need.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>