def getOopsVars(self): """See `IRunnableJob`.""" vars = BaseRunnableJob.getOopsVars(self) vars.extend([ ('product', self.context.product.name), ]) return vars
def getOopsVars(self): """See `IRunnableJob`.""" vars = BaseRunnableJob.getOopsVars(self) vars.extend([('branch_job_id', self.context.id), ('branch_job_type', self.context.job_type.title)]) if self.context.branch is not None: vars.append(('branch_name', self.context.branch.unique_name)) return vars
def getOopsVars(self): """See `IRunnableJob`.""" vars = BaseRunnableJob.getOopsVars(self) vars.extend([ ('major_person_name', self.context.major_person.name), ('minor_person_name', self.context.minor_person.name), ]) return vars
def getOopsVars(self): """See `IRunnableJob`.""" vars = BaseRunnableJob.getOopsVars(self) vars.extend([ ('question', self.question.id), ('user', self.user.name), ]) return vars
def getOopsVars(self): """See `IRunnableJob`.""" vars = BaseRunnableJob.getOopsVars(self) vars.extend([ ('branch_job_id', self.context.id), ('branch_job_type', self.context.job_type.title)]) if self.context.branch is not None: vars.append(('branch_name', self.context.branch.unique_name)) return vars
def getOopsVars(self): """See `IRunnableJob`.""" vars = BaseRunnableJob.getOopsVars(self) bmp = self.context.branch_merge_proposal vars.extend([('branchmergeproposal_job_id', self.context.id), ('branchmergeproposal_job_type', self.context.job_type.title), ('merge_source', bmp.merge_source.unique_name), ('merge_target', bmp.merge_target.unique_name)]) return vars
def getOopsVars(self): """See `IRunnableJob`.""" vars = BaseRunnableJob.getOopsVars(self) vars.extend([("sharing_job_id", self.context.id), ("sharing_job_type", self.context.job_type.title)]) if self.grantee: vars.append(("grantee", self.grantee.name)) if self.product: vars.append(("product", self.product.name)) if self.distro: vars.append(("distro", self.distro.name)) return vars
def getOopsVars(self): """See `IRunnableJob`.""" vars = BaseRunnableJob.getOopsVars(self) vars.extend([ ('apport_blob_uuid', self.context.blob.uuid), ('apport_blob_librarian_url', self.context.blob.file_alias.getURL()), ('apport_job_id', self.context.id), ('apport_job_type', self.context.job_type.title), ]) return vars
def getOopsVars(self): """See `IRunnableJob`.""" vars = BaseRunnableJob.getOopsVars(self) vars.extend([('sharing_job_id', self.context.id), ('sharing_job_type', self.context.job_type.title)]) if self.grantee: vars.append(('grantee', self.grantee.name)) if self.product: vars.append(('product', self.product.name)) if self.distro: vars.append(('distro', self.distro.name)) return vars
def getOopsVars(self): """See `IRunnableJob`.""" vars = BaseRunnableJob.getOopsVars(self) bmp = self.context.branch_merge_proposal vars.extend( [ ("branchmergeproposal_job_id", self.context.id), ("branchmergeproposal_job_type", self.context.job_type.title), ("source_branch", bmp.source_branch.unique_name), ("target_branch", bmp.target_branch.unique_name), ] ) return vars