diff mbox series

[meta-oe,62/69] ncdu: Restrict upstream check to the 1.x series

Message ID 20261127003425.2166632-63-khem.raj@oss.qualcomm.com
State New
Headers show
Series Upstream version check fixes | expand

Commit Message

Khem Raj Nov. 27, 2026, 12:34 a.m. UTC
The check reported 2.9.2, but ncdu 2.x is a Zig rewrite that cannot be
built without a Zig toolchain, and upstream still maintains the C 1.x
series on master. Only consider v1.x tags.

AI-Generated: Uses Claude Code
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 meta-oe/recipes-support/ncdu/ncdu_1.22.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/ncdu/ncdu_1.22.bb b/meta-oe/recipes-support/ncdu/ncdu_1.22.bb
index 578ae4a5ed..606967b05a 100644
--- a/meta-oe/recipes-support/ncdu/ncdu_1.22.bb
+++ b/meta-oe/recipes-support/ncdu/ncdu_1.22.bb
@@ -14,6 +14,8 @@  DEPENDS += "ncurses"
 
 SRC_URI += "git://code.blicky.net/yorhel/ncdu.git;protocol=https;branch=master;tag=v${PV}"
 SRCREV = "7a1437389691c4adf1999afce63850c808602f08"
+# 2.x is a Zig rewrite, which OE has no toolchain for
+UPSTREAM_CHECK_GITTAGREGEX = "^v(?P<pver>1(\.\d+)+)$"
 
 inherit autotools pkgconfig