Bug 9081

Summary: RRS should respect DEFAULT_PREFERENCE when multiple versions of the same recipe are available
Product: [Yocto Project Subprojects] Recipe Reporting System (RRS) Reporter: Alexander Kanavin <alex.kanavin>
Component: Recipe Reporting System (RRS)Assignee: Jose Lamego <jose.a.lamego>
Status: RESOLVED OBSOLETE QA Contact: oscar lopez arandas <oscarx.lopez.arandas>
Severity: normal    
Priority: Medium CC: jose.perez.carranza, juan.m.cruz.alcaraz, leonardo.sandoval.gonzalez, sgw
Version: unspecified   
Target Milestone: 2.4   
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: 9746    
Bug Blocks:    

Description Alexander Kanavin 2016-02-09 10:30:24 UTC
For example there are two versions of gstreamer recipes (stable and development), the development version has a DEFAULT_PREFERENCE of -1 (which means it is not the preferred version), yet RRS reports against that version. It should pick the stable version instead. 'bitbake -c checkpkg' on the other hand works as expected.

An alternative is to include all versions of the recipes into the report.
Comment 1 Jose Lamego 2017-09-07 21:05:30 UTC
Alexander, I was not able to reproduce this issue:

Seems that RRS is appropriately tracking gstreamer1.0 + others recipes, but not development versions. The recipes that I found that are using DEFAULT_PREFERENCE variable seem to be appropriately reported too.

Please provide a recent example of the detected behavior and the expected outcome.
Comment 2 Alexander Kanavin 2017-09-11 12:22:32 UTC
That's right. I couldn't find another example in oe-core; we've removed all or almost all alternative versions of recipes lately.