flat-manager icon indicating copy to clipboard operation
flat-manager copied to clipboard

Add builder_id to builds

Open jameswestman opened this issue 1 year ago • 2 comments

We can set a builder_id on a token, and that ID will be stored on every build created with that token. We'll use this in flat-manager-hooks to insert an appstream tag for apps built by buildbot.

jameswestman avatar Aug 09 '23 16:08 jameswestman

Hmm, thinking about this a bit more... This plan assumes that you can't edit buildbot builds with a direct upload token, which isn't a sound assumption if we allow switching from buildbot to direct upload. This needs more design. Maybe if a build is created with a builder_id, it can only be edited by that builder_id?

jameswestman avatar Aug 09 '23 17:08 jameswestman

Or we could track builder_id on the build ref instead of the whole build.

jameswestman avatar Aug 11 '23 18:08 jameswestman