From 829a12da2951daf1454f5f02eb8b02f3ac675e91 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 16 Feb 2018 16:16:53 +0100 Subject: bin/get-assignment: add TODO --- bin/get-assignment | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/get-assignment b/bin/get-assignment index 1edcffb..083b162 100755 --- a/bin/get-assignment +++ b/bin/get-assignment @@ -166,9 +166,14 @@ if [ -n "${currently_building}" ]; then hand_out_assignment ${currently_building} fi -# a package with all dependencies met or which is part of a loop, -# that we requested or -# which has been built the least times +# TODO: actually implement the below criteria (a.k.a.: "I'm out of time") + +# a package with [all dependencies met or which is part of a loop] +# and which is currently not being built, ordered by: +# 1: we requested it +# 2: its priority +# 3: is not yet built +# 4: was built the longest time ago next_building=$( # shellcheck disable=SC2016 { -- cgit v1.2.3-54-g00ecf