From 147eb9853d9f511511b708806979f780a5d2de1f Mon Sep 17 00:00:00 2001 From: Volodymyr Babchuk Date: Mon, 3 Jun 2024 21:27:54 +0300 Subject: [PATCH] fetchers: repo: use "console" Ninja pool This pools makes Ninja to display all repo output to user. This may come in help if fetch fails for some reason. One drawback is that tasks in "console" pool can't run in parallel, but "repo" itself is capable of parallel fetch, so this is not a big issue. Signed-off-by: Volodymyr Babchuk --- moulin/fetchers/repo.py | 1 + 1 file changed, 1 insertion(+) diff --git a/moulin/fetchers/repo.py b/moulin/fetchers/repo.py index 7fabf87..ffe88cc 100644 --- a/moulin/fetchers/repo.py +++ b/moulin/fetchers/repo.py @@ -29,6 +29,7 @@ def gen_build_rules(generator: ninja_syntax.Writer): generator.rule("repo_sync", command="cd $repo_dir && repo sync && touch $out", + pool="console", description="Repo sync") generator.newline()