From 67045e0cbd2a7c824e51c7070b747bf680743ef0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Correa=20G=C3=B3mez?= Date: Thu, 29 Jan 2026 15:21:08 +0100 Subject: [PATCH] ci: use more removed=False for get_changed_files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Most of the things don't really need it. Signed-off-by: Pablo Correa Gómez Part-of: --- .ci/lib/generate_build_jobs.py | 4 +--- .ci/lib/kconfig.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.ci/lib/generate_build_jobs.py b/.ci/lib/generate_build_jobs.py index 51409abfd..6ab6cc538 100755 --- a/.ci/lib/generate_build_jobs.py +++ b/.ci/lib/generate_build_jobs.py @@ -173,7 +173,7 @@ if __name__ == "__main__": devices_under_test = set() packages_modified = set() # Get and print modified packages - for file in common.get_changed_files(): + for file in common.get_changed_files(removed=False): path = Path(file) # Check if the modified's file parent folder is one of a supported dev @@ -182,8 +182,6 @@ if __name__ == "__main__": if path.name != "APKBUILD": continue - elif not path.exists(): - continue # APKBUILD was deleted apkbuild = pmb.parse.apkbuild(path) packages_modified.add(apkbuild['pkgname']) archs.update(apkbuild["arch"]) diff --git a/.ci/lib/kconfig.py b/.ci/lib/kconfig.py index 3eae5eab7..32d09b635 100755 --- a/.ci/lib/kconfig.py +++ b/.ci/lib/kconfig.py @@ -72,7 +72,7 @@ def show_error_all(): if __name__ == "__main__": - if "kconfigcheck.toml" in common.get_changed_files(): + if "kconfigcheck.toml" in common.get_changed_files(removed=False): print("kconfigcheck.toml changed -> checking all kernels") if not check_kconfig_all(): show_error_all()