l.c.i.b.IRosettaUploadJobSource(IJobSource) : interface documentation

Part of lp.code.interfaces.branchjob View In Hierarchy

No interface docstring
Method create Construct a new object that implements IRosettaUploadJob.
Method findUnfinishedJobs Find any IRosettaUploadJob`s for `branch that haven't run yet.
Method providesTranslationFiles Is anyone importing translation files from this branch?

Inherited from IJobSource:

Int memory_limit Undocumented
Method iterReady Iterate through all jobs.
Method contextManager Get a context for running this kind of job in.
def create(branch, from_revision_id, force_translations_upload):
Construct a new object that implements IRosettaUploadJob.
ParametersbranchThe database branch to exract files from.
from_revision_idThe revision id to compare against.
force_translations_uploadFlag to override the settings in the product series and upload all translation files.
def findUnfinishedJobs(branch, since=None):
Find any IRosettaUploadJob`s for `branch that haven't run yet.
ParametersbranchBranch to find unfinished jobs for.
sinceOptional cutoff date: ignore jobs older than this.
ReturnsAny jobs for branch (and newer than since, if given) whose status is neither "complete" nor "failed."
def providesTranslationFiles(branch):
Is anyone importing translation files from this branch?

This is used to check if any product series is related to the branch in order to decide if a job needs to be created.

ParametersbranchThe IBranch that is being scanned.
ReturnsBoolean.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.