hub.sr.ht/hubsrht/blueprints
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
..
mailing_lists.py Uppercase the Visibility enum keys 2022-07-01 09:18:57 +02:00
projects.py hubsrht: Match projects case-sensitively 2022-07-06 10:29:31 +02:00
public.py Uppercase the Visibility enum keys 2022-07-01 09:18:57 +02:00
sources.py Uppercase the Visibility enum keys 2022-07-01 09:18:57 +02:00
trackers.py Uppercase the Visibility enum keys 2022-07-01 09:18:57 +02:00
users.py Uppercase the Visibility enum keys 2022-07-01 09:18:57 +02:00
webhooks.py Use uppercase string for icon in patchset update 2022-12-02 12:27:38 +01:00