aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/web/util.scm
Commit message (Expand)AuthorAge
* Fix extension handling a bit more•••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). Christopher Baines2019-05-12
* Fix a request->path-components-and-mime-type bug•••The first value should always be a list. Christopher Baines2019-05-11
* 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
* Add some word handling utilities•••These are useful for constructing HTML ids and similar things. Christopher Baines2019-05-11
* Add a new query-parameters module•••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. Christopher Baines2019-05-11
* 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