Commit graph

16 commits

Author SHA1 Message Date
Canan Talayhan
fe97021cd0 Set more informative page titles
For many pages where previously the title was just "Guix Data Service".

Signed-off-by: Christopher Baines <mail@cbaines.net>
2021-04-23 12:00:03 +01:00
f2d98b626d Support more query parameters on the /builds page 2021-02-08 21:31:39 +00:00
553f00d4cf Fix rendering of the /builds page 2020-10-21 20:05:37 +01:00
266a2d867c Limit the builds displayed on the /builds page
Otherwise it can't render if there are lots of builds.
2020-10-21 19:58:27 +01:00
4231f11cb8 Tweak linking to build servers
Move the logic from different places in the view code, and also start
supporting linking to guix.cbaines.net builds. I'm unsure quite how to
generalise this, but just starting doing it is probably the way forward.
2020-10-11 21:19:00 +01:00
c3c9c07f9a Completely rework the way db connections are handled during requests
Previously, a connection was passed through the code handling the
request. When queries were performed, this could block the thread though,
potentially leaving the server unable to serve other requests.

Instead, this now runs queries in a pool of threads. This should remove the
possibility of blocking the threads used by the web server, and in doing so,
some of the queries have been parallelised.

I''m still not sure about the naming and syntax, but I think the functionality
is a sort of step forward.
2020-10-03 21:35:31 +01:00
092f01b6f2 Fix the builds table headers 2020-07-02 20:36:08 +01:00
dc8b442e12 Improve the linking to build servers
Add a build-url function that returns the URL to use, and use this where
appropriate.
2020-07-01 19:51:21 +01:00
879021f21f Fix match in render-builds 2020-06-28 21:44:51 +01:00
b6754c8a4c Add a lookup_builds field to the build_servers table
This is to allow for build servers where only the substitutes should be
queried, and it shouldn't be assumed that they're running Cuirass.
2020-05-24 17:02:53 +01:00
0b0d734a97 Add links from the builds pages to the pages for individual builds 2019-12-22 15:23:03 +00:00
633e757fe8 Break down the build stats by build server 2019-12-14 20:17:53 +00:00
716eb3c3b6 Move build-status helpers to the html-utils module 2019-12-12 20:07:22 +00:00
a0ce016c02 Support querying builds by build servers 2019-12-12 20:07:22 +00:00
f7069456b5 Support querying builds by status 2019-12-12 20:01:30 +00:00
2a3ee20a99 Extract the builds page in to it's own set of modules
To allow for expanding it, without cluttering the root controller.
2019-11-24 20:42:37 +00:00