diff options
author | Ludovic Courtès <ludovic.courtes@inria.fr> | 2018-03-29 15:30:57 +0200 |
---|---|---|
committer | Ludovic Courtès <ludovic.courtes@inria.fr> | 2018-03-29 15:30:57 +0200 |
commit | 8eefd24672d257e8bdfe7abe063da1d01d14d762 (patch) | |
tree | 1a47e14fa2dcdfc484cf166b454c9e243a27b8cc /bin | |
parent | 8bdde878c752a1518a2c4de991f466bd6cebe70b (diff) | |
download | cuirass-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