resource-agents: add UPSTREAM_CHECK_GITTAGREGEX
PATCH 1/3 resource-agents: add UPSTREAM_CHECK_GITTAGREGEX
Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest version.
Before the patch:
$ devtool latest-version resource-agents INFO: Current version: 4.5.0 INFO: Latest version: 10 INFO: Latest version's commit: 5cf93783eafa22e8b82d50834bfb76b9e8434783
After the patch:
$ devtool latest-version resource-agents INFO: Current version: 4.5.0 INFO: Latest version: 4.10.0 INFO: Latest version's commit: fd0720f73a06042ad0a5475a3398096b2912cf5f
Signed-off-by Yi Zhao <[email protected]>
--- .../cluster-resource-agents/resource-agents_4.5.0.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-cgl-common/recipes-cgl/cluster-resource-agents/resource-agents_4.5.0.bb +2 -0
@@ -24,6 +24,8 @@ SRC_URI = "git://github.com/ClusterLabs/resource-agents;branch=main;protocol=htt SRCREV = "fee181320547365d7f8c88cca2b32801412b933d" +UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\.\d+)+)" + S="${WORKDIR}/git" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
Signature · 1 line
2.25.1
PATCH 2/3 ocfs2-tools: add UPSTREAM_CHECK_GITTAGREGEX
Add UPSTREAM_CHECK_GITTAGREGEX to check the correct latest version.
Before the patch:
$ devtool latest-version ocfs2-tools INFO: Current version: 1.8.6 INFO: Latest version: 2 INFO: Latest version's commit: 80a60d697d9052d3f196a932df3d1fb5f0df52d6
After the patch:
$ devtool latest-version ocfs2-tools INFO: Current version: 1.8.6 INFO: Latest version: 1.8.7 INFO: Latest version's commit: 80a60d697d9052d3f196a932df3d1fb5f0df52d6
Signed-off-by Yi Zhao <[email protected]>
--- meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools_1.8.6.bb | 3 +++ 1 file changed, 3 insertions(+)
meta-cgl-common/recipes-cgl/ocfs2-tools/ocfs2-tools_1.8.6.bb +3 -0
@@ -22,6 +22,9 @@ SRC_URI = "git://github.com/markfasheh/ocfs2-tools;branch=master;protocol=https file://0001-o2cb.init.sh-Remove-unneeded-lib-lsb-init-functions.patch \ " SRCREV = "4d76ceb4aa7aaa1fd595368089e99575d708f719" + +UPSTREAM_CHECK_GITTAGREGEX = "ocfs2-tools-(?P<pver>\d+(\.\d+)+)" + S = "${WORKDIR}/git" inherit autotools-brokensep pkgconfig systemd
Signature · 1 line
2.25.1
PATCH 3/3 cluster-glue: add UPSTREAM_CHECK_GITTAGREGEX
In reply to Yi ZhaoAdd UPSTREAM_CHECK_GITTAGREGEX to check the correct latest version.
Before the patch:
$ devtool latest-version cluster-glue INFO: Current version: 1.0.12 INFO: Latest version: 10 INFO: Latest version's commit: 62fac3c02affab05abe39c185dad3a91367d3f58
After the patch:
$ devtool latest-version cluster-glue INFO: Current version: 1.0.12 INFO: Latest version: 1.0.12 INFO: Latest version's commit: 1bc77825c0cfb0c80f9c82a061af7ede68676cb4
Signed-off-by Yi Zhao <[email protected]>
--- meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-cgl-common/recipes-cgl/cluster-glue/cluster-glue_1.0.12.bb +2 -0
@@ -22,6 +22,8 @@ SRC_URI:append_libc-uclibc = " file://kill-stack-protector.patch" SRCREV = "fd5a3befacd23d056a72cacd2b8ad6bba498e56b" +UPSTREAM_CHECK_GITTAGREGEX = "glue-(?P<pver>\d+(\.\d+)+)" + inherit autotools useradd pkgconfig systemd multilib_script multilib_header SYSTEMD_SERVICE:${PN} = "logd.service"
Signature · 1 line
2.25.1