On Sat, 07 Nov 2009 04:23:12 Julian Edwards wrote: > On Friday 06 November 2009 15:18:26 Danilo Ĺ egan wrote: > > Just to confirm, how do we expect to pass data for each job type to the > > actual job? I understand that it will live in the per-job-type-table, > > but since each of these tables might contain different information, how > > do we pass it on to builders (which have no DB access)? > > The same way that we do it for package builds. > > > I.e. for translations, assuming reasonable amount of decoupling in the > > system, we'll need to pass at least three things around: > > > > * bzr branch URL/id (to be able to check it out) > > * relevant product + series or > > * relevant distribution + series + sourcepackagename > > > > If we are going to be passing them as command line parameters, we might > > as well put that directly into the generic Job table (as another string > > field or existing json_data field?), and get rid of the intermediate > > tables. > > We still need the intermediate tables because the Job table doesn't have > the json_data field.
Do like the BranchJob table, and have a json_data field in that table type. Tim _______________________________________________ Mailing list: https://launchpad.net/~launchpad-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~launchpad-dev More help : https://help.launchpad.net/ListHelp

