mirror of https://git.sr.ht/~sircmpwn/hub.sr.ht
fce16cc33e
In GraphQL, the icon has to be uppercase [1]. However, the builds worker uses the `JobContext.Job.Status` field in the payload [2], where the value is lowercase [3]. Hence, upper-case the value before sending it to the GraphQL API. [1] https://git.sr.ht/~sircmpwn/lists.sr.ht/tree/master/item/api/graph/schema.graphqls#L468-474 [2] https://git.sr.ht/~sircmpwn/builds.sr.ht/tree/master/item/worker/triggers.go#L251 [3] https://git.sr.ht/~sircmpwn/builds.sr.ht/tree/master/item/worker/triggers.go#L109 |
||
---|---|---|
.builds | ||
api | ||
hubsrht | ||
scss | ||
.gitignore | ||
LICENSE | ||
Makefile | ||
README.md | ||
config.example.ini | ||
hubsrht-initdb | ||
hubsrht-migrate | ||
run.py | ||
schema.sql | ||
setup.py | ||
static |
README.md
This repository contains the code for the sr.ht project hub. For instructions on deploying or contributing to this project, visit the manual here: