Question about scratch builds.

Jay Greguske jgregusk at redhat.com
Mon Aug 22 17:52:16 UTC 2011


You're correct, scratch builds do not get a build object associated with
them, and therefore no build ID. They're not meant to get a permanent
record since they're just throw-away builds.

They do get task IDs however.

- Jay

On 08/22/2011 01:22 PM, Kiu Leung wrote:
> Hi Michael:
> 
> Thanks for the reply, when I look at koji hub's abi (from kojiutil's print-api command),
> it has a web method called build, which says starts a build task.  So I guess, in case of
> a scratch build, the task is still created, but the corresponding build is not added to the
> build table or the task ID foreign key is just not added to the build row.
> 
> As long as I can query the task by the ID and the scratch build does returns
> an ID, I think I'll be good.
> 
> So thank you very much and have a great day!
> 
> Ken Leung
> 
> ----- Original Message -----
> From: "Michael Cronenworth" <mike at cchtml.com>
> To: buildsys at lists.fedoraproject.org
> Sent: Monday, August 22, 2011 1:13:37 PM
> Subject: Re: Question about scratch builds.
> 
> Kiu Leung wrote:
>> I have a question about koji scratch builds.  I noticed that in the database,
>> a scratch build is no associated with a task.  So what is being returned when
>> a scratch build is pushed to koji?
> 
> Did you mean "build ID" instead of "task"? I believe every koji action 
> gets a task ID.
> --
> buildsys mailing list
> buildsys at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/buildsys
> --
> buildsys mailing list
> buildsys at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/buildsys



More information about the buildsys mailing list