From 43e194e8baaf7f1a77ae67fa37ca1b72eca5a17b 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:09:21 +0200
Subject: [PATCH] packaging-updates-upstream-linux: clarify debug messages
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Using "git" to define "kernel.org" is confusing here since
it could be salsa git, apertis git, etc.

Signed-off-by: Dylan Aïssi <dylan.aissi@collabora.com>
---
 bin/packaging-updates-upstream-linux | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/bin/packaging-updates-upstream-linux b/bin/packaging-updates-upstream-linux
index 4663444..20e2967 100755
--- a/bin/packaging-updates-upstream-linux
+++ b/bin/packaging-updates-upstream-linux
@@ -119,7 +119,7 @@ def compute_linux_updates(data):
         # 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*
         # Add version and wildcard. For e.g. 5.4 to v5.4*
         tag_pattern = f"v{downstream_release}*"
-        logging.debug(f"{branch}: Retrieving all git {tag_pattern} tags")
+        logging.debug(f"{branch}: Retrieving all kernel.org {tag_pattern} tags")
         # fetch the available upstream versions
         cmd = [
             "git",
@@ -142,11 +142,13 @@ def compute_linux_updates(data):
         result = process.stdout.strip().decode()
         tags = re.findall(r"refs/tags/v(.+)", result)
         latest_tag = tags[-1]
-        logging.debug(f"{branch}: Latest git tag is {latest_tag}")
+        logging.debug(f"{branch}: Kernel.org latest tag is {latest_tag}")
 
         # check if apertis linux version is less than the latest
         # upstream linux version and update the dashboard
-        logging.debug(f"{branch}: Downstream has {version}, git has {latest_tag}")
+        logging.debug(
+            f"{branch}: Downstream has {version}, kernel.org has {latest_tag}"
+        )
         downstream_version = debian.debian_support.Version(version)
         if downstream_version < latest_tag:
             mainline = {
-- 
GitLab