hub.sr.ht/hubsrht
Conrad Hoffmann fce16cc33e Use uppercase string for icon in patchset update
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
2022-12-02 12:27:38 +01:00
..
alembic hubsrht: Use canonical user IDs 2022-10-25 11:00:27 +02:00
blueprints Use uppercase string for icon in patchset update 2022-12-02 12:27:38 +01:00
templates hubsrht: Add visibility enum 2022-06-29 17:22:53 +02:00
types Uppercase the Visibility enum keys 2022-07-01 09:18:57 +02:00
app.py Allow trailing slashes on some routes 2020-04-29 10:46:05 -04:00
builds.py webhooks: add error handling for patch submission 2022-11-25 10:24:17 +01:00
decorators.py Implement featured projects 2020-04-28 14:08:56 -04:00
oauth.py Initial commit 2020-03-24 10:26:15 -04:00
projects.py hubsrht: Expect valid canonical name in URLs 2022-09-06 15:39:24 +02:00
services.py webhooks: add error handling for patch submission 2022-11-25 10:24:17 +01:00
trailers.py git: add function to parse message trailers 2021-11-29 10:52:31 +01:00