debian-forge-composer/internal/kojiapi
Lars Karlitski e47b44329e kojiapi: expose logs on the API
Add an API route that returns logs for a specific compose.

For now, this contains the result of the job, in JSON. The idea is to
put more and more of this information into structured APIs. This is a
first step to make logs available at all.

Amend koji-compose.py to check that the route exist and contains as many
"image_logs" as images that were requested (currently always 1).

Based on a patch by Chloe Kaubisch <chloe.kaubisch@gmail.com>.
2020-11-10 16:23:49 +01:00
..
api kojiapi: expose logs on the API 2020-11-10 16:23:49 +01:00
server.go kojiapi: expose logs on the API 2020-11-10 16:23:49 +01:00
server_internal_test.go koji: use nvra as the filename for images 2020-10-27 19:01:30 +00:00
server_test.go koji: add tests 2020-11-10 16:23:49 +01:00