mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
ci/collect-repo-info: No hard dependency on git, take two
Collecting information about builtin external plugins also tried to use `git` unconditionally.
This commit is contained in:
parent
6bf1091a03
commit
cc6e012f36
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ def collect_plugin_info(plugin_dir: pathlib.Path):
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
logger.warning("No VERSION found in %s", plugin_dir)
|
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))
|
result.update(git_generic_info(plugin_dir))
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue