Bug 8102 - RRS should remove -native, -initial, -cross, etc. suffixes from package names when doing upstream checks
Summary: RRS should remove -native, -initial, -cross, etc. suffixes from package names...
Status: RESOLVED 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: 2.0
Assignee: Aníbal Limón
QA Contact: David Lopez Barriba
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-08-05 10:24 UTC by Alexander Kanavin
Modified: 2017-06-07 19:42 UTC (History)
2 users (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-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