From cc6e012f367d94adbea9864248feb2b4bc180bc8 Mon Sep 17 00:00:00 2001 From: Arne Welzel Date: Thu, 23 Feb 2023 14:21:20 +0100 Subject: [PATCH] ci/collect-repo-info: No hard dependency on git, take two Collecting information about builtin external plugins also tried to use `git` unconditionally. --- ci/collect-repo-info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/collect-repo-info.py b/ci/collect-repo-info.py index 118a6f79cf..01d9c563db 100755 --- a/ci/collect-repo-info.py +++ b/ci/collect-repo-info.py @@ -129,7 +129,7 @@ def collect_plugin_info(plugin_dir: pathlib.Path): except FileNotFoundError: logger.warning("No VERSION found in %s", plugin_dir) - if git_is_repo(plugin_dir): + if git_available() and git_is_repo(plugin_dir): result.update(git_generic_info(plugin_dir)) return result