aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/web/util.scm
Commit message (Collapse)AuthorAge
* Fix some URL encoding issues around derivation namesChristopher Baines2022-01-31
|
* 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.
* 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.
* Add plain text representation for the page for a single jobDanjela Lura2020-04-20
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Fix extension handling a bit moreChristopher Baines2019-05-12
| | | | | Previously, it was spliting versions up for the package pages. To stop this, now it just matches the extensions it knows about (currently .html and .json).
* Fix a request->path-components-and-mime-type bugChristopher Baines2019-05-11
| | | | The first value should always be a list.
* Improve the content negotiation handling in generalChristopher Baines2019-05-11
| | | | | | | | | | | 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).
* Add some word handling utilitiesChristopher Baines2019-05-11
| | | | These are useful for constructing HTML ids and similar things.
* Add a new query-parameters moduleChristopher Baines2019-05-11
| | | | | | | | | The query parameters feed in to the results shown, but also forms on pages. Validation is important to avoid errors and security issues, but it's also important to provide appropriate feedback to the user. This module provides some utilities and structure around handling query parameters.
* Initial commitChristopher Baines2019-02-07
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