Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/get-assignment11
1 files changed, 8 insertions, 3 deletions
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
{