b800bf2bd4
AppException would be a console-pretty-printed version for http errors, which would print all the escape codes in the jaeger traces of the exception, making it more-or-less unreadable. So instead, let’s make AppException two cases, an ErrorTree case which is printed as-is (no color), and a “Pretty” case which is printed using the pretty module (colors on console, no colors in otel). Somewhat involved, I guess this is temporary until I figure out what is really needed. Change-Id: Iff4a8651c5f5368a5b798541efc19cc7ab9de34b Reviewed-on: https://cl.tvl.fyi/c/depot/+/12232 Reviewed-by: Profpatsch <mail@profpatsch.de> Tested-by: BuildkiteCI |
||
---|---|---|
.. | ||
services | ||
src | ||
build.ninja | ||
default.nix | ||
Main.hs | ||
notes.org | ||
README.md | ||
server-notes.org | ||
whatcd-resolver.cabal |
whatcd-resolver
To run:
ninja run-services
in one terminal (starts the background tasks)
ninja run
to start the server. It runs on 9092
.
You need to be in the nix-shell
in ./..
.
You need to set the pass
key internet/redacted/api-keys/whatcd-resolver
to an API key for RED.
You need to have a transmission-rpc-daemon listening on port 9091
(no auth, try ssh port forwarding lol).