| Commit message (Collapse) | Author | Age |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This route can be used to provide source files used in packages. The
URL pattern is the same as used by guix publish.
The main issue with the implementation is that the fibers web server
expects the entire response to be in memory, so I'm not sure how well
this will scale. Additionally, the code for extracting the file from
the nar isn't ideal.
|
|
|
|
| |
This handles filenames which contain characters like ? and =.
|
|
|
|
|
|
|
|
| |
If the nar is known about, X-Accel-Redirect is used to pass the
request back to the webserver which should then respond with the nar.
If the nar isn't known about, then a 404 response is returned.
In either case, there's a metric incremented to record the request.
|
|
|
|
| |
In a format understood by Prometheus.
|
|
|
|
|
|
|
|
| |
This means that you can disable the output of requests by specifying a
log-level of INFO or greater.
Since the nar-herder may respond to so many requests, logging each one
is a bit excessive.
|
|
|
|
| |
Using the same approach as guix publish.
|
| |
|
|
At least working enough to start trying this out, and finding the
problems.
|