On Sun, 12 May 2019 at 10:18, Hongxu Jia <[email protected]> wrote:
> The upstream git tag has a `upstream/' prefix, such as: > >>> import re > >>> pattern = "upstream/(?P<pver>\d+(\.\d+)+(\+\d+)*)" > >>> string = "upstream/6.1+20181013" > >>> result = re.match(pattern, string) > >>> result['pver'] > '6.1+20181013' > Have you checked with devtool that this actually works? Before this commit: alexander@alexander-box:~/development/poky$ devtool check-upgrade-status ncurses INFO: ncurses 6.1 6.1+20181013 Hongxu Jia < [email protected]> 7a97a7f937762ba342d5b2fd7cd090885a809835 After the commit: alexander@alexander-box:~/development/poky$ devtool check-upgrade-status ncurses INFO: ncurses 6.1 UNKNOWN_BROKEN Hongxu Jia < [email protected]> The code in bitbake/lib/bb/fetch2/git.py actually splits each tag with '/' as separator and takes only the last part for some reason, so those prefixes are never a part of the string that is matched against regex. I'll send a revert in a moment. Alex
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
