From 14b13a20d1472178d0740bf387c203b06cea756e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Correa=20G=C3=B3mez?= Date: Wed, 12 Aug 2026 10:39:48 +0200 Subject: [PATCH] ci: fix broken check_changed_versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The keep_dir option was added but not used, and the "APKBUILD" suffix was also forgotten in the commit that changed the script last. Fixes 5d8cf85911cd037a98dd35fbbbad4d48380de7c6 Signed-off-by: Pablo Correa Gómez Part-of: --- .ci/lib/check_changed_versions.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.ci/lib/check_changed_versions.py b/.ci/lib/check_changed_versions.py index 5a8a00836..effa9d3f5 100755 --- a/.ci/lib/check_changed_versions.py +++ b/.ci/lib/check_changed_versions.py @@ -26,7 +26,9 @@ def get_package_contents(package, revision, check=True): stderr = subprocess.DEVNULL # Run something like "git show upstream/main:main/hello-world/APKBUILD" - apkbuild_content = common.run_git(["show", revision + ":" + package], check, stderr) + apkbuild_content = common.run_git( + ["show", revision + ":" + package + "/APKBUILD"], check, stderr + ) if not apkbuild_content: return None @@ -178,7 +180,7 @@ def check_versions(packages): if __name__ == "__main__": # Get and print modified packages - packages = common.get_changed_packages() + packages = common.get_changed_packages(keep_dir=True) if len(packages) == 0: print("no aports changed in this branch") sys.exit(0)