glibc: fix upstream version check
PATCH 1/1 glibc: fix upstream version check
Exclude x.y.90* pre-release versions in particular.
--- meta/recipes-core/glibc/cross-localedef-native_2.27.bb | 2 +- meta/recipes-core/glibc/glibc_2.27.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/glibc/cross-localedef-native_2.27.bb +1 -1
@@ -19,7 +19,7 @@ FILESEXTRAPATHS =. "${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/glibc:" SRCBRANCH ?= "release/${PV}/master" GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git" -UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)" +UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.(?!90)\d+)*)" SRCREV_glibc ?= "23158b08a0908f381459f273a984c6fd328363cb" SRCREV_localedef ?= "de5bdbd5e76b5403a4151b9b9f958b6cca36b3e7"
meta/recipes-core/glibc/glibc_2.27.bb +1 -1
@@ -12,7 +12,7 @@ SRCREV ?= "23158b08a0908f381459f273a984c6fd328363cb" SRCBRANCH ?= "release/${PV}/master" GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git" -UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)" +UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.(?!90)\d+)*)" SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ file://etc/ld.so.conf \
Signature · 1 line
2.16.1
Quoted 2 lines · Alexander Kanavin
Exclude x.y.90* pre-release versions in particular.
Looks ok. So I guess it pokes at master branch right ?
Quoted 40 lines
Signed-off-by Alexander Kanavin <[email protected]>--- meta/recipes-core/glibc/cross-localedef-native_2.27.bb | 2 +- meta/recipes-core/glibc/glibc_2.27.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)meta/recipes-core/glibc/cross-localedef-native_2.27.bb +1
-1@@ -19,7 +19,7 @@ FILESEXTRAPATHS =. "${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/glibc:" SRCBRANCH ?= "release/${PV}/master" GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git" -UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)" +UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.(?!90)\d+)*)" SRCREV_glibc ?= "23158b08a0908f381459f273a984c6fd328363cb" SRCREV_localedef ?= "de5bdbd5e76b5403a4151b9b9f958b6cca36b3e7"meta/recipes-core/glibc/glibc_2.27.bb +1
-2@@ -12,7 +12,7 @@ SRCREV ?= "23158b08a0908f381459f273a984c6fd328363cb" SRCBRANCH ?= "release/${PV}/master" GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git" -UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.\d+)*)" +UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.(?!90)\d+)*)" SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \ file://etc/ld.so.conf \ --2.16.1
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 6 lines · Khem Raj
Quoted 2 lines · Alexander Kanavin
Exclude x.y.90* pre-release versions in particular.
Looks ok. So I guess it pokes at master branch right ?
It lists all tags regardless of branch and picks the highest.
Alex
Quoted 9 lines · Alexander Kanavin
Quoted 6 lines · Khem Raj
Quoted 2 lines · Alexander Kanavin
Exclude x.y.90* pre-release versions in particular.
Looks ok. So I guess it pokes at master branch right ?
It lists all tags regardless of branch and picks the highest.
I think that does not work effectively for how glibc release works we should probably track the Release branch name and deduce version from there
Quoted 4 lines
Alex
Quoted 4 lines · Khem Raj
It lists all tags regardless of branch and picks the highest.
I think that does not work effectively for how glibc release works we should probably track the Release branch name and deduce version from there
Glibc does tag their releases, so I'm not sure why you want to track branch names instead, they contain no additional information.
Alex
Quoted 11 lines · Alexander Kanavin
Quoted 6 lines · Khem Raj
It lists all tags regardless of branch and picks the highest.
I think that does not work effectively for how glibc release works we should probably track the Release branch name and deduce version from there
Glibc does tag their releases, so I'm not sure why you want to track branch names instead, they contain no additional information.
that works too I guess if we have good enough filters to detect it. It seems there is more noise in tags than in branches,
Quoted 2 lines
Alex
Quoted 2 lines · Khem Raj
that works too I guess if we have good enough filters to detect it. It seems there is more noise in tags than in branches,
That's what UPSTREAM_CHECK_GITTAGREGEX is for. You can set it to filter precisely the tags you want.
Alex