From 8b8d2047b79e38e659c856cac85009306769af57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dylan=20A=C3=AFssi?= <dylan.aissi@collabora.com> Date: Mon, 22 Jul 2024 10:59:59 +0200 Subject: [PATCH] packaging-updates-upstream-linux: also check for mainline updates if Apertis kernel >= Debian kernel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We should also check for kernel.org updates when Debian provides kernel of a series since Debian can stop tracking a series that we still use in Apertis. Currently, Debian has stopped providing linux 6.6.x, so Apertis is ahead of Debian by using linux from kernel.org, in this case we cannot rely on Debian for 6.6.x updates then we have to track directly kernel.org. This change fixes a bug that was never noticed before, because the main users of the dashboard are baseline maintainers who are usually different than our kernel maintainer. Signed-off-by: Dylan Aïssi <dylan.aissi@collabora.com> --- bin/packaging-updates-upstream-linux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/packaging-updates-upstream-linux b/bin/packaging-updates-upstream-linux index c1685cf..d0cc925 100755 --- a/bin/packaging-updates-upstream-linux +++ b/bin/packaging-updates-upstream-linux @@ -112,7 +112,7 @@ def compute_linux_updates(data): branch=debian_base, downstreams=[branch], ) - continue + continue # Fetch the versions available upstream for the downstream tag (for e.g. 5.4) using # git -c 'versionsort.suffix=-' ls-remote --exit-code --tags --refs --sort='version:refname' https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git v5.4* -- GitLab