Bug 7927

Summary: RRS reports recipe version in the summary table; it should report the source code version as produced by checkpkg task
Product: [Yocto Project Subprojects] Recipe Reporting System (RRS) Reporter: Alexander Kanavin <alex.kanavin>
Component: Recipe Reporting System (RRS)Assignee: Aníbal Limón <anibal.limon>
Status: VERIFIED FIXED QA Contact: Alexandru Georgescu <alexandru.c.georgescu>
Severity: normal    
Priority: Medium CC: sgw
Version: unspecified   
Target Milestone: 1.9 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on: 7605    
Bug Blocks:    

Description Alexander Kanavin 2015-06-26 15:44:13 UTC
For example here:

http://recipes.yoctoproject.org/rrs/recipes/1.9/M2/

the version for adt-installer is reported as 1.0 (it is the version encoded in the recipe filename), but what we're really interested in is the ${PV} variable, which reports the version of the source code (0.2.0) and can be compared with the latest upstream version. Both current and latest upstream versions of the source +are reported by checkpkg task correctly in the output csv file.
Comment 1 Alexander Kanavin 2015-06-27 08:55:17 UTC
Ok, for adt-installer the reported version is now 0.2.0. But for blktrace, bootchart2, btrfs-tools and many other packages it's still reported as 'git', and not as the actual version defined inside the recipe.
Comment 2 Aníbal Limón 2015-06-29 15:08:08 UTC
(In reply to comment #1)
> Ok, for adt-installer the reported version is now 0.2.0. But for blktrace,
> bootchart2, btrfs-tools and many other packages it's still reported as
> 'git', and not as the actual version defined inside the recipe.

Hi Alexander,

I fixed the opkg and adt-installer versions now i'm working on the git versioning
related to the issue,

https://bugzilla.yoctoproject.org/show_bug.cgi?id=7605
Comment 3 Aníbal Limón 2015-07-15 00:37:38 UTC
I re-factored the RRS code addressing this issues at,

http://git.yoctoproject.org/cgit/cgit.cgi/layerindex-web/log/?h=rrs-dev
Comment 4 Alexander Kanavin 2015-07-27 11:30:11 UTC
Looks ok now.