<?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>8943</bug_id>
          
          <creation_ts>2016-01-19 16:05:20 +0000</creation_ts>
          <short_desc>RRS: Add a function hook that would process upstream and recipe versions</short_desc>
          <delta_ts>2026-02-12 16:26:08 +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.99</target_milestone>
          <dependson>9746</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexander Kanavin">alex.kanavin</reporter>
          <assigned_to name="Yi Zhao">yi.zhao</assigned_to>
          <cc>juan.m.cruz.alcaraz</cc>
    
    <cc>leonardo.sandoval.gonzalez</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</cc>
    
    <cc>tim.orling</cc>
          
          <qa_contact name="Apoorv">apoorv.sangal</qa_contact>
          <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>57952</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2016-01-19 16:05:20 +0000</bug_when>
    <thetext>Often upstream version cannot be directly compared against the recipe version, and special processing with a real programming language is needed before that. 

It should be possible to add a function hook to a recipe that would do this processing:

def process_versions(recipe_version, upstream_version):
    ...do things with the function parameters....

    return (processed_recipe_version, processed_upstream_version)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78024</commentid>
    <comment_count>1</comment_count>
    <who name="Alexander Kanavin">alex.kanavin</who>
    <bug_when>2017-11-07 14:07:01 +0000</bug_when>
    <thetext>&apos;Often&apos; is perhaps not true - there are currently three recipes with this issue in oe-core (zip, unzip, xinetd). Of those, zip and unzip basically never do releases anyway.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96906</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2023-10-24 14:24:41 +0000</bug_when>
    <thetext>Bulk move from 4.99 or 0.00 to 5.99</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104271</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Orling">tim.orling</who>
    <bug_when>2026-02-12 16:26:08 +0000</bug_when>
    <thetext>Still valid. Moving to 6.99</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>