Part of lp.soyuz.model.packagecopyjob View In Hierarchy
| Class Method | create | See IPlainPackageCopyJobSource. |
| Class Method | createMultiple | See IPlainPackageCopyJobSource. |
| Class Method | getActiveJobs | See IPlainPackageCopyJobSource. |
| Class Method | getPendingJobsForTargetSeries | Get upcoming jobs for target_series, ordered by age. |
| Class Method | getPendingJobsPerPackage | See IPlainPackageCopyJobSource. |
| Class Method | getIncompleteJobsForArchive | See IPlainPackageCopyJobSource. |
| Method | target_pocket | Undocumented |
| Method | include_binaries | Undocumented |
| Method | error_message | See IPackageCopyJob. |
| Method | sponsored | Undocumented |
| Method | unembargo | Undocumented |
| Method | auto_approve | Undocumented |
| Method | silent | Undocumented |
| Method | source_distroseries | Undocumented |
| Method | source_pocket | Undocumented |
| Method | phased_update_percentage | Undocumented |
| Method | requester_can_admin_target | Undocumented |
| Method | addSourceOverride | Add an ISourceOverride to the metadata. |
| Method | setErrorMessage | See IPackageCopyJob. |
| Method | getSourceOverride | Fetch an ISourceOverride from the metadata. |
| Method | findSourcePublication | Find the appropriate origin ISourcePackagePublishingHistory. |
| Method | notifyOops | See IRunnableJob. |
| Method | run | See IRunnableJob. |
| Method | attemptCopy | Attempt to perform the copy. |
| Method | abort | Abort work. |
| Method | findMatchingDSDs | Find any `DistroSeriesDifference`s that this job might resolve. |
| Method | reportFailure | Attempt to report failure to the user. |
| Method | __repr__ | Returns an informative representation of the job. |
| Method | getPolicyImplementation | Return the ICopyPolicy applicable to this job. |
| Class Method | _makeMetadata | Produce a metadata dict for this job. |
| Class Method | _composeJobInsertionTuple | Create an SQL fragment for inserting a job into the database. |
| Method | _createPackageUpload | Undocumented |
| Method | _checkPolicies | Undocumented |
| Method | _rejectPackageUpload | Undocumented |
Inherited from PackageCopyJobDerived:
| Method | __init__ | Undocumented |
| Class Method | get | Get a job by id. |
| Class Method | iterReady | Iterate through all ready PackageCopyJobs. |
| Method | getOopsVars | See IRunnableJob. |
| Method | getOperationDescription | See IPlainPackageCopyJob. |
| Method | getErrorRecipients | See IPlainPackageCopyJob. |
| Method | copy_policy | See PlainPackageCopyJob. |
Inherited from BaseRunnableJob (via PackageCopyJobDerived):
| Method | __eq__ | Undocumented |
| Method | __ne__ | Undocumented |
| Method | __lt__ | Undocumented |
| Method | getOopsRecipients | Return a list of email-ids to notify about oopses. |
| Method | getOopsMailController | Return a MailController for notifying people about oopses. |
| Method | getUserErrorMailController | Return a MailController for notifying about user errors. |
| Method | notifyUserError | See IRunnableJob. |
| Method | makeOopsReport | Generate an OOPS report using the given OOPS configuration. |
| Method | acquireLease | Undocumented |
| Method | taskId | Return a task ID that gives a clue what this job is about. |
| Method | runViaCelery | Request that this job be run via celery. |
| Method | getDBClass | Undocumented |
| Method | celeryCommitHook | Hook function to call when a commit completes. |
| Method | celeryRunOnCommit | Configure transaction so that commit runs this job via Celery. |
| Method | queue | See IJob. |
Inherited from BaseRunnableJobSource (via PackageCopyJobDerived, BaseRunnableJob):
| Static Method | contextManager | Undocumented |
| Returns | A string representing an SQL tuple containing initializers
for a PackageCopyJob in the database (minus id, which is
assigned automatically). Contents are escaped for use in SQL. | |
target_series, ordered by age.