Bug 8102

Summary: RRS should remove -native, -initial, -cross, etc. suffixes from package names when doing upstream checks
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: RESOLVED FIXED QA Contact: David Lopez Barriba <davidx.lopez.barriba>
Severity: normal    
Priority: Medium+ CC: jose.perez.carranza, sgw
Version: unspecified   
Target Milestone: 2.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Alexander Kanavin 2015-08-05 10:24:44 UTC
Same as distrodata.bbclass does in checkpkg() task. That way it will be able to find correct tarballs upstream, and we don't have to duplicate the custom regexes in package_regex.inc.
Comment 2 Alexander Kanavin 2015-08-11 12:10:18 UTC
Thanks, I don't have a local RRS setup here to verify the code, but it seems fine.
Comment 4 Alexander Kanavin 2015-08-24 14:36:46 UTC
Somehow this still doesn't work for binutils family. There is:

GITTAGREGEX_pn-binutils = "binutils-(?P<pver>\d+_(\d_?)*)"

but it only has effect for the basic binutils recipe, and not any others, as can be seen here:

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

At the same time, the gcc family of recipes is handled perfectly. Not sure why - is it because of this code snippet in your patch?


+ variables = ['REGEX', 'REGEX_URI', 'GITTAGREGEX']
+
+ if any(d.getVar(var, True) for var in variables):
+ return