Question about scratch builds.
Hi all,
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? Your kind advice is appreciated, thank you very much! Ken Leung -- buildsys mailing list buildsys@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/buildsys |
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@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/buildsys |
Question about scratch builds.
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@cchtml.com> To: buildsys@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@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/buildsys -- buildsys mailing list buildsys@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/buildsys |
Question about scratch builds.
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@cchtml.com> > To: buildsys@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@lists.fedoraproject.org > https://admin.fedoraproject.org/mailman/listinfo/buildsys > -- > buildsys mailing list > buildsys@lists.fedoraproject.org > https://admin.fedoraproject.org/mailman/listinfo/buildsys -- buildsys mailing list buildsys@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/buildsys |
| All times are GMT. The time now is 07:57 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.