<?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>11131</bug_id>
          
          <creation_ts>2017-03-06 21:09:06 +0000</creation_ts>
          <short_desc>Add more tests to Yocto Project Compatible Layers script</short_desc>
          <delta_ts>2026-08-20 15:20:29 +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>OE-Core</product>
          <component>Scripts and Tools</component>
          <version>2.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>6.2</target_milestone>
          <dependson>10596</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Aníbal Limón">anibal.limon</reporter>
          <assigned_to name="Paul Barker">paul</assigned_to>
          <cc>goledhruva</cc>
    
    <cc>juan.m.cruz.alcaraz</cc>
    
    <cc>leonardo.sandoval.gonzalez</cc>
    
    <cc>mikejongen12</cc>
    
    <cc>patrick.ohly</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
    
    <cc>tvgamblin</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>71096</commentid>
    <comment_count>0</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2017-03-06 21:09:06 +0000</bug_when>
    <thetext>Now the main script for test the compliance of certain layer to Yocto Project was integrated,


http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=93633edcf84dbf5d97a43cb8d1ebff790a6ab334

This bug is to add more tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71170</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2017-03-09 15:48:09 +0000</bug_when>
    <thetext>Can you be more specific about which tests we need to add? Bugs need to have specific objectives and should not be vague. Moving to NEEDINFO.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71815</commentid>
    <comment_count>2</comment_count>
    <who name="Aníbal Limón">anibal.limon</who>
    <bug_when>2017-03-28 16:37:31 +0000</bug_when>
    <thetext>There are some tests that needs to be made based on YP Compatible registration form [1]:

- Test case to review if the README file specifies the maintainer.
- Test case to review if the README file specifies where to send patches.
- Test case to review if the README file contains the dependencies listed, this needs some format definition to be auditable?.

- Test case to build what the layer provides, at this time only parsing is made.

[1] https://www.yoctoproject.org/webform/yocto-project-compatible-registration</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76138</commentid>
    <comment_count>3</comment_count>
    <who name="Juan Manuel Cruz Alcaraz">juan.m.cruz.alcaraz</who>
    <bug_when>2017-08-24 16:13:05 +0000</bug_when>
    <thetext>This ticket was openned with the intention to start a conversation on additional tests for YP Compatibility script.

I will move it to Target Milestone Future and use it as an umbrella bug as tests are requested or agreed.

Should it be more appropriate to open an email conversation on the topic?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76140</commentid>
    <comment_count>4</comment_count>
    <who name="Leonardo Sandoval Gonzalez">leonardo.sandoval.gonzalez</who>
    <bug_when>2017-08-24 16:32:15 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; This ticket was openned with the intention to start a conversation on
&gt; additional tests for YP Compatibility script.
&gt; 
&gt; I will move it to Target Milestone Future and use it as an umbrella bug as
&gt; tests are requested or agreed.
&gt; 
&gt; Should it be more appropriate to open an email conversation on the topic?

Test expectations for this ticket (README and provides) have been clearly defined and I believe this can be done on 2.5 (not future).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76141</commentid>
    <comment_count>5</comment_count>
    <who name="Juan Manuel Cruz Alcaraz">juan.m.cruz.alcaraz</who>
    <bug_when>2017-08-24 16:48:28 +0000</bug_when>
    <thetext>From my last conversation with Anibal, he told me that he proposed this tests as starting point:

- Test case to review if the README file specifies the maintainer.
- Test case to review if the README file specifies where to send patches.
- Test case to review if the README file contains the dependencies listed, this needs some format definition to be auditable?.
- Test case to build what the layer provides, at this time only parsing is made.

but that the README specifications still need to be discussed and approved. 

Besides, once more tests are added to the script, we would be forcing these caracteristics unto the community in order to obtain the compatibility certification.

Richard, do you think theses tests are good to go? Are there more people in the community we should get approval from?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90767</commentid>
    <comment_count>6</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-06-26 13:02:38 +0000</bug_when>
    <thetext>We should add the three mentioned tests for the README, even just searching the file to ensure the words &quot;maintainer&quot; and &quot;patch&quot; are present and that there is an email address in the file would be a good start.

I don&apos;t think we want to add build tests at this time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92082</commentid>
    <comment_count>7</comment_count>
    <who name="Dhruva gole">goledhruva</who>
    <bug_when>2021-11-28 00:54:57 +0000</bug_when>
    <thetext>From what I understand so far, I will be adding code (that checks if strings &quot;maintainer&quot; and &quot;patch&quot; appear in README) under ``test_README()`` present here: https://git.yoctoproject.org/poky/tree/scripts/lib/compatlayer/cases/common.py?id=93633edcf84dbf5d97a43cb8d1ebff790a6ab334#n11 
And then submit a patch for the same.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96901</commentid>
    <comment_count>8</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-24 14:24:40 +0000</bug_when>
    <thetext>Bulk move from 4.99 or 0.00 to 5.99</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104226</commentid>
    <comment_count>9</comment_count>
    <who name="Mike Jongen">mikejongen12</who>
    <bug_when>2026-02-10 23:14:21 +0000</bug_when>
    <thetext>The tests for the README have been added.
Are there any tasks that can be done for this bug at the moment?

I did run the README test for a new layer created with `bitbake-layers create-layer`. The generated README starts with &quot;This README file contains &quot;. Since the maintainer/patch tests are skipped when the README file contains the word &quot;README&quot;, the generated readme is not checked for maintainer/patch. 
(The check for &quot;README&quot; is for README files that reference other README files.)
Maybe change the check to look for &quot;README.md&quot;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106599</commentid>
    <comment_count>10</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-08-20 15:20:29 +0000</bug_when>
    <thetext>Paul to review for 6.2 work.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>