Bug 8943

Summary: RRS: Add a function hook that would process upstream and recipe versions
Product: [Yocto Project Subprojects] Recipe Reporting System (RRS) Reporter: Alexander Kanavin <alex.kanavin>
Component: Recipe Reporting System (RRS)Assignee: Yi Zhao <yi.zhao>
Status: NEW --- QA Contact: Apoorv <apoorv.sangal>
Severity: enhancement    
Priority: Medium CC: juan.m.cruz.alcaraz, leonardo.sandoval.gonzalez, randy.macleod, ross.burton, sgw, tim.orling
Version: unspecified   
Target Milestone: 6.99   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)
Bug Depends on: 9746    
Bug Blocks:    

Description Alexander Kanavin 2016-01-19 16:05:20 UTC
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)
Comment 1 Alexander Kanavin 2017-11-07 14:07:01 UTC
'Often' 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.
Comment 2 Randy MacLeod 2023-10-24 14:24:41 UTC
Bulk move from 4.99 or 0.00 to 5.99
Comment 3 Tim Orling 2026-02-12 16:26:08 UTC
Still valid. Moving to 6.99