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.
At, https://lists.yoctoproject.org/pipermail/yocto/2015-August/026058.html
Thanks, I don't have a local RRS setup here to verify the code, but it seems fine.
Merged at, http://git.yoctoproject.org/cgit/cgit.cgi/layerindex-web/commit/?h=rrs-dev&id=d882336f7ed08c210227bc5b52412355edeb72d9
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
At, https://lists.yoctoproject.org/pipermail/yocto/2015-September/026562.html