Bug 7927 - RRS reports recipe version in the summary table; it should report the source code version as produced by checkpkg task
Summary: RRS reports recipe version in the summary table; it should report the source ...
Status: VERIFIED FIXED
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 normal
Target Milestone: 1.9 M2
Assignee: Aníbal Limón
QA Contact: Alexandru Georgescu
URL:
Whiteboard:
Depends on: 7605
Blocks:
  Show dependency tree
 
Reported: 2015-06-26 15:44 UTC by Alexander Kanavin
Modified: 2015-07-27 11:30 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

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