Code review comment for lp:~jtv/launchpad/db-bug-499404

Revision history for this message
Jeroen T. Vermeulen (jtv) wrote :

> The database patch looks good, but it leaves me wondering, where do the
> results of the job go?

That goes through completely separate channels. The slaves that run these jobs are untrusted, so they're not allowed anywhere near the database. A master-side script will pick up the files they produce (as already happens for the existing Soyuz build jobs) and "upload" them to the regular Translations import queue.

> On the code side, the interface that you have there looks an awful lot like
> IBranchJob -- should it subclass from it? A lot of the branch jobs use
> IFooJobSource, rather than IFooJobSet. Perhaps it's worth considering using
> similar names.

An interesting idea, but this class doesn't have a "metadata" attribute yet. It may still sprout one; at that point it'd be the sensible thing to do. I've added a note.

« Back to merge proposal