<?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>15530</bug_id>
          
          <creation_ts>2024-06-27 16:36:57 +0000</creation_ts>
          <short_desc>Display a &quot;deprecation candidate&quot; status on RRS recipe page</short_desc>
          <delta_ts>2026-09-29 17:20:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Recipe Reporting System (RRS)</product>
          <component>Recipe Reporting System (RRS)</component>
          <version>unspecified</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.1 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yoann Congal">yoann.congal</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>Ajay.Mahajan</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>tim.orling</cc>
          
          <qa_contact name="apoorv sangal">apoorvsangal</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>99285</commentid>
    <comment_count>0</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2024-06-27 16:36:57 +0000</bug_when>
    <thetext>(This bug is a followup of a discussion in 20240607 bug triage meeting, then on IRC)

By combining data from :
* devtool lastest-version (or RSS &quot;Upstream-status&quot; code) =&gt; to ensure the recipe has the lastest upstream version
* and, SOURCE_DATE_EPOCH (which represent the date of the upstream release)

..., we can (maybe) create a short list of deprecation candidate recipes : recipe that has no upstream release for a long time. And display this status on the recipe page.

Ideas bounced a little but the first steps (or rough ideas...) would be:
* (re)discover how RSS track the upstream status (linked to devtool latest-version)
  * RSS code : https://git.yoctoproject.org/layerindex-web/tree/rrs
* Add SOURCE_DATE_EPOCH to AUH output (SOURCE_DATE_EPOCH is computed at build-time and not available with parsing-only) 
  * ... layerindex can consume generated data from the AB :
    * On AB: example of a script to output the data to json https://git.yoctoproject.org/yocto-autobuilder-helper/tree/scripts/list-yp-compatible-layers.py
    * On Layerindex: script to use that JSON output to update the database https://git.yoctoproject.org/layerindex-web/tree/layerindex/tools/mark_yp_compatible_layers.py
    * ... so some similar concept will create the data we need and ingest it. Then it becomes a cronjob script or something like that (AUH) to automate it, as far as possible.
    * ... Plus some kind of new UI to display the information.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99286</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2024-06-27 16:47:40 +0000</bug_when>
    <thetext>Somewhat related is deprecating layers or marking them as not updated.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=14781

We also need to actually use LAYERSERIES_COMPAT to tell us if a layer should even be listed anymore...
https://bugzilla.yoctoproject.org/show_bug.cgi?id=7792

roughly 200 layers are listed in &quot;master&quot; but not any current stable release branch. Since roughly &apos;sumo&apos; layers without LAYERSERIES_COMPAT would throw a warning.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99287</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2024-06-27 16:49:55 +0000</bug_when>
    <thetext>Also, in a run of AUH, the &quot;Unmatched&quot; (where the upstream regex is not working) is not reported anywhere, so we don&apos;t really know what isn&apos;t being caught.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>99382</commentid>
    <comment_count>3</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2024-07-14 13:48:34 +0000</bug_when>
    <thetext>Another first step can be: Add a (disabled by default) QA check for SOURCE_EPOCH older than a certain threshold (variable but arbitrarily default to 10 years). Interested parties can enable this warning for their builds to see if they have old SW.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103197</commentid>
    <comment_count>4</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2025-11-06 10:57:03 +0000</bug_when>
    <thetext>Bulk move to 6.0 M1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104951</commentid>
    <comment_count>5</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-04-03 09:25:41 +0000</bug_when>
    <thetext>(Unassigning myself since a do not realistically have the time to work on this)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104959</commentid>
    <comment_count>6</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2026-04-03 19:49:35 +0000</bug_when>
    <thetext>WR is using RRS and so maybe Hongxu or Qi will pick up the enhancement.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106955</commentid>
    <comment_count>7</comment_count>
    <who name="Yoann Congal">yoann.congal</who>
    <bug_when>2026-09-29 06:16:55 +0000</bug_when>
    <thetext>Related patch sent: [PATCH v3 0/3] spdx: add support to include releaseTime - daniel.turull
https://lore.kernel.org/all/20260928190400.3908822-1-daniel.turull@ericsson.com/</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>