aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorLudovic Courtès <ludovic.courtes@inria.fr>2018-03-29 15:30:57 +0200
committerLudovic Courtès <ludovic.courtes@inria.fr>2018-03-29 15:30:57 +0200
commit8eefd24672d257e8bdfe7abe063da1d01d14d762 (patch)
tree1a47e14fa2dcdfc484cf166b454c9e243a27b8cc /bin
parent8bdde878c752a1518a2c4de991f466bd6cebe70b (diff)
downloadcuirass-8eefd24672d257e8bdfe7abe063da1d01d14d762.tar
cuirass-8eefd24672d257e8bdfe7abe063da1d01d14d762.tar.gz
database: 'db-get-builds' honors 'status+submission-time' ordering again.
Fixes a regression introduced in 1bab5c4e56eb1849edc2cf0b23d433aeb2cac421 whereby the 'status+submission-time' order would no longer be honored. As a result, /api/queue would return the queue ordered by build IDs, making it largely useless. * src/cuirass/database.scm (db-get-builds): Remove 'order' and rename 'order-column-name' to 'order'. Add case for 'status+submission-time'. * tests/database.scm ("database")["db-get-builds"]: Move below "db-update-build-status!" test. Add case for the 'status+submission-time' order.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions