summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-13 11:35:26 +0200
committerErich Eckner <git@eckner.net>2018-06-13 11:35:26 +0200
commit9b09b26118107142745f0f4ba1094de3d043d389 (patch)
tree36950ab53403c7b9ffbe35dd0e490498f7cd1160
parentc690de69ca33398530e8f00823538baf0d928d87 (diff)
downloadbuilder-9b09b26118107142745f0f4ba1094de3d043d389.tar.xz
bin/get-assignment: of equally compared build_assignments, built oldest first, not the one with lowest id
-rwxr-xr-xbin/get-assignment1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/get-assignment b/bin/get-assignment
index 365eea5..fde40a9 100755
--- a/bin/get-assignment
+++ b/bin/get-assignment
@@ -195,6 +195,7 @@ next_building=$(
printf ' `last_trial`,'
printf ' `architectures`.`id`=`build_assignments`.`architecture` DESC,'
printf ' `part_of_loop`,'
+ printf ' `package_sources`.`commit_time`,'
printf ' `build_assignments`.`id`'
printf ' LIMIT 1'
printf ') AS `q`;\n'