Skip to contentSkip to conversation

re2: add UPSTREAM_CHECK_GITTAGREGEX

PATCH New Yi Zhao 1 participant 1 message Nov 21, 2025

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/1 re2: add UPSTREAM_CHECK_GITTAGREGEX

Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest stable verison.

Before the patch:

$ devtool latest-version re2
INFO: Current version: 2024.03.01
INFO: Latest version: 2025
INFO: Latest version's commit: 927f5d53caf8111721e734cf24724686bb745f55

After the patch:

$ devtool latest-version re2
INFO: Current version: 2024.03.01
INFO: Latest version: 2025-11-05
INFO: Latest version's commit: 927f5d53caf8111721e734cf24724686bb745f55
---
 meta-oe/recipes-support/re2/re2_2024.03.01.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/re2/re2_2024.03.01.bb +1 -0
index 5b7b241a25..a510545bab 100644
@@ -10,6 +10,7 @@ SRC_URI = "git://github.com/google/re2.git;branch=main;protocol=https \
            ${@bb.utils.contains('PTEST_ENABLED', '1', 'file://run-ptest', '', d)} \
           "
 
+UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+(-\d+)+)"
 
 DEPENDS = "abseil-cpp ${@bb.utils.contains('PTEST_ENABLED', '1', 'gtest googlebenchmark', '', d)}"
 
Signature · 1 line
2.34.1