[dunfell,4/8] vim: do not report upstream version check as broken

Message ID 3db417e002684b4f09c52997017bed139ad95f5f.1645465376.git.steve@sakoman.com
State Accepted, archived
Commit 3db417e002684b4f09c52997017bed139ad95f5f
Headers show
Series [dunfell,1/8] Revert "vim: fix CVE-2021-4069" | expand

Commit Message

Steve Sakoman Feb. 21, 2022, 7:34 p.m. UTC
From: Alexander Kanavin <alex.kanavin@gmail.com>

As upstream tags point releases with every commit and
the version check still reports 8.2, it should not be considered
broken (e.g. current version newer than latest version)
until 8.3 is released.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 11d8ee09b1bdec4824203dc0169093b2ae9d101a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
---
 meta/recipes-support/vim/vim.inc | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/meta/recipes-support/vim/vim.inc b/meta/recipes-support/vim/vim.inc
index 39c0fda76f..1c7256c97c 100644
--- a/meta/recipes-support/vim/vim.inc
+++ b/meta/recipes-support/vim/vim.inc
@@ -23,6 +23,9 @@  SRC_URI = "git://github.com/vim/vim.git;branch=master;protocol=https \
 PV .= ".3752"
 SRCREV = "8603be338ac810446f23c092f21bc6082f787519"
 
+# Remove when 8.3 is out
+UPSTREAM_VERSION_UNKNOWN = "1"
+
 # Do not consider .z in x.y.z, as that is updated with every commit
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+)\.0"