aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/web
Commit message (Collapse)AuthorAge
* Stop using a pool of threads for database operationsChristopher Baines2023-07-10
| | | | | | Now that squee cooperates with suspendable ports, this is unnecessary. Use a connection pool to still support running queries in parallel using multiple connections.
* Provide more information about revision processing errorsChristopher Baines2023-06-15
| | | | In the compare package derivations response.
* Query for outputs when build events arriveChristopher Baines2023-06-09
| | | | This will keep the substitute information more up to date.
* Make the build event handling code more genericChristopher Baines2023-06-06
| | | | So that triggering a check for substitutes can be integrated in.
* Extend the invalid parameter handling for more typesChristopher Baines2023-05-22
|
* Have render-compare/package-derivations provide invalid param infoChristopher Baines2023-05-22
| | | | | | So that this can be used by the qa-frontpage. This should be improved and generalised.
* Add Guile internal time metricsChristopher Baines2023-05-14
| | | | As this will help identify when the service restarts.
* Split the thread pool used for database connectionsChristopher Baines2023-04-27
| | | | | | | | In to two thread pools, a default one, and one reserved for essential functionality. There are some pages that use slow queries, so this should help stop those pages block other operations.
* Comparing package derivations: Fix inconsistent verbage.Leo Famulari2023-02-17
| | | | | | | | | | Harmonize "Build change" options between the selection menu and the documentation * guix-data-service/web/compare/html.scm (compare/package-derivations): Replace "Still broken" with "Still failing" in the "Build change" help text. Signed-off-by: Christopher Baines <mail@cbaines.net>
* Include some useful numbers on the package derivations comparisonChristopher Baines2023-02-15
| | | | | As it's frequently useful to know how many packages/builds some change has affected.
* Adjust render procedures to not use procedures for responsesChristopher Baines2023-02-09
| | | | | | | The newer Guile Fibers web server will use the chunked transfer encoding when a procedure is used and the content length is unspecified. This is good for large responses, but unnecessary here. Also, there's a bug with the charset so these changes to respond with correctly encoded bytevectors to avoid that.
* Tweak behaviour when the response body is a procedureChristopher Baines2023-02-09
| | | | | | | | | Newer versions of Guile Fibers will now use chunked encoding when a procedure is used (and no content length is set). This is good, but not always what is wanted, and there's also an issue with the port encoding. This commit switches to responding with a string/bytevector when more appropriate, plus explicitly setting the port encoding where that's needed.
* Enable database connection instrumentation in the serverChristopher Baines2023-01-01
|
* Pull the metrics registry out of the controllerChristopher Baines2023-01-01
| | | | | This will allow for instrumenting low level database functionality, before anything starts using the database.
* Expose metrics from pg_statsChristopher Baines2022-11-29
|
* Render a branch not found page if the branch doesn't existChristopher Baines2022-11-19
|
* Fix quasiquotingChristopher Baines2022-11-19
|
* Better guard against exceptions in the build event handlersChristopher Baines2022-11-19
|
* Include more information about invalid query parametersChristopher Baines2022-11-17
| | | | | | | In the /compare response. This should enable qa.guix.gnu.org to detect when the base revision for a comparison is unknown.
* Remove Build status field from blocking builds pageChristopher Baines2022-11-12
| | | | As this is unused.
* Handle deleting from blocked_builds when builds are scheduledChristopher Baines2022-11-12
| | | | As scheduling a build might unblock others.
* Spawn specific PostgreSQL connections for the blocked_builds updatesChristopher Baines2022-11-12
| | | | So that the queries don't get cancelled by the statement timeout.
* Add a blocking builds pageChristopher Baines2022-11-11
|
* Add support for incrementally tracking blocked buildsChristopher Baines2022-11-11
| | | | | | | | | This will hopefully provide a less expensive way of finding out if a scheduled build is probably blocked by other builds failing or being canceled. By working this out when the build events are recieved, it should be more feasible to include information about whether builds are likely blocked or not in various places (e.g. revision comparisons).
* Fix JSON response for unknown revisionsChristopher Baines2022-10-17
|
* Expose Guile GC metricsChristopher Baines2022-10-09
| | | | | As the guix-data-service process seems to be using excessive amounts of memory, and this will be useful to track it.
* Implement the JSON response for package reproducibilityChristopher Baines2022-09-14
|
* Implement the JSON response for package substitute availabilityChristopher Baines2022-09-14
|
* Include lint warnings in the JSON /compare responseChristopher Baines2022-08-22
|
* Return 503 for the /healthcheck if the service is starting upChristopher Baines2022-07-15
| | | | As this is a little clearer.
* Fix missing NULL variableChristopher Baines2022-07-09
|
* Set builds derivation output details set id if information availableChristopher Baines2022-07-08
| | | | | | The build event information can now contain the derivation outputs, as well as the name of the derivation. This allows the Guix Data Service to join builds up with derivations, even if it doesn't know about the derivation being built.
* Handle migrations and server startup betterChristopher Baines2022-06-17
| | | | | | | | | The server part of the guix-data-service doesn't work great as a guix service, since it often fails to start if the migrations take any time at all. To address this, start the server before running the migrations, and serve the pages that work without the database, plus a general 503 response. Once the migrations have completed, switch to the normal behaviour.
* Allow filtering package derivations based on build server buildsChristopher Baines2022-05-23
| | | | | | | | This means you can query for derivations where builds exist or don't exist on a given build server. I think this will come in useful when submitting builds from a Guix Data Service instance.
* Fix branch links on the repository pageChristopher Baines2022-05-20
| | | | Thanks to Tobias for reporting.
* Fix a couple of things on the package substitute availability pageChristopher Baines2022-03-12
| | | | | When there's a target, render the heading neatly, and include the target parameter in the URLs.
* Fix an issue with the /builds pageChristopher Baines2022-03-11
|
* Fix some URL encoding issues around derivation namesChristopher Baines2022-01-31
|
* Rename data to nars for package derivation outputsChristopher Baines2022-01-31
| | | | As this is clearer.
* Improve the way the field fields work on various pagesChristopher Baines2022-01-31
| | | | | Remove the brackets from the values since this makes the set of values more consistent, and don't display the no additional fields value on the page.
* Support querying package derivation outputs without the narsChristopher Baines2022-01-31
| | | | Since this speeds up the response if you don't need the nar information.
* Include the commit hash in the revision JSON responseChristopher Baines2022-01-22
| | | | | For the latest processed revision, this is useful for looking up which is the latest processed revision.
* Fix a uri encoding issue with linking to outputsChristopher Baines2021-06-09
|
* Fix a URI decoding issueChristopher Baines2021-05-27
| | | | | This caused a problem viewing this derivation /gnu/store/65r4488732qy6ilrh1ryb8xwmip1qnir-tklib-0.6.tar.gz?uuid=tklib-0-6.drv
* Remove the "derivations using output" dataChristopher Baines2021-05-17
| | | | | | From the HTML and JSON responses, since this data isn't very useful, and the query to collect the small amount which is displayed is very slow. This could return at some point, but in a proper paginated form which isn't slow.
* Fix request->path-components-and-mime-typeChristopher Baines2021-05-12
| | | | | Previously, it wouldn't pull the mime types out of the request properly, I think it does a better job of that now.
* Change data handling when comparing derivationsLuciana Lima Brito2021-04-27
| | | | | | | | | | comparison.scm: return query data for derivation comparison as an alist, instead of list. html.scm: Access derivation differences data using assq-ref. controller.scm: remove mapping for outputs/inputs/sources. utils.scm: add group-to-alist/vector function. Signed-off-by: Christopher Baines <mail@cbaines.net>
* Set more informative page titlesCanan Talayhan2021-04-23
| | | | | | For many pages where previously the title was just "Guix Data Service". Signed-off-by: Christopher Baines <mail@cbaines.net>
* Fetch the list of system values from the databaseChristopher Baines2021-04-23
| | | | This removes the need to hardcode some values in the code.
* Fix an error with the formatted derivation pageChristopher Baines2021-04-23
|