From c44b75c2115197c5e5458862a7ecc7c2d6ebfbe8 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 23 Apr 2017 15:28:11 +0200 Subject: bin/get-assignment: add comments --- bin/get-assignment | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bin') diff --git a/bin/get-assignment b/bin/get-assignment index fed7056..a35e415 100755 --- a/bin/get-assignment +++ b/bin/get-assignment @@ -73,6 +73,8 @@ if [ ${num_jobs} -ge ${max_parallel_build_per_client} ]; then exit 4 fi +# Find first package of build-list whose dependencies are all met + while read -r package git_revision repository; do [ -z "$( @@ -88,6 +90,8 @@ while read -r package git_revision repository; do done < "${work_dir}/build-list" +# Find first package which breaks a loop and is not locked + if [ -s "${work_dir}/tsort.error" ]; then grep -A1 '^tsort: -: input contains a loop:$' "${work_dir}/tsort.error" | \ -- cgit v1.2.3-54-g00ecf