Bug 8943 - RRS: Add a function hook that would process upstream and recipe versions
Summary: RRS: Add a function hook that would process upstream and recipe versions
Status: NEW
Alias: None
Product: Recipe Reporting System (RRS)
Classification: Yocto Project Subprojects
Component: Recipe Reporting System (RRS) (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 6.99
Assignee: Yi Zhao
QA Contact: Apoorv
URL:
Whiteboard:
Depends on: 9746
Blocks:
  Show dependency tree
 
Reported: 2016-01-19 16:05 UTC by Alexander Kanavin
Modified: 2026-02-12 16:26 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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