aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/web/server.scm
Commit message (Expand)AuthorAge
* Rework the builds and build_status tables as well as related code•••Allow for build status information to be submitted by POST request. This required some changes to the builds and build_status tables, as for example, the Cuirass build id may not be available, and the derivation may not be know yet, so just record the derivation file name. Christopher Baines2019-11-24
* Display the request in one go•••Otherwise, concurrent requests can cause the output to be interleaved. Christopher Baines2019-06-13
* Add --port and --host as options to the guix-data-serviceChristopher Baines2019-06-13
* Extract the database connection handling from the server•••Previously, one of the first things that happened when responding to a request was a database connection was made, even when serving the CSS. This is unnecessary, so move the database connection handling in to the controller. Also, to allow for separating it out from the assets, separate the assets out from the parts of the controller that require a database connection. Christopher Baines2019-06-06
* Improve the content negotiation handling in general•••Previously, the routing layer handled the content negotiation, and the Accept header was ignored. Now, the extension if one is provided in the URL is still used, and more widely than before, but the Accept header is also taken in to account. This all now happens before the routing decisions are made, so the routing is now pretty much extension independant (with the exception of the /gnu/store/... routes). Christopher Baines2019-05-11
* Extract out some database functionality to another moduleChristopher Baines2019-04-14
* Switch dynamic-wind for with-throw-handler•••Not sure why, but dynamic-wind was causing issues by closing the database connection too early, but with-throw-handler seems to work OK. Christopher Baines2019-03-24
* Actually close database connections•••Previously, the connections were not closed, so eventually PostgreSQL would run out. Using a pool of connections would be better, but as a short term solution, just close the connection after each request. Christopher Baines2019-02-08
* Initial commit•••This is a service designed to provide information about Guix. At the moment, this initial prototype gathers up information about packages, the associated metadata and derivations. The initial primary use case is to compare two different revisions of Guix, detecting which packages are new, no longer present, updated or otherwise different. It's based on the Mumi project. [1]: https://git.elephly.net/software/mumi.git Christopher Baines2019-02-07