Part of lp.soyuz.scripts.add_missing_builds View In Hierarchy
| Method | add_missing_builds | Create builds in an archive as necessary. |
| Method | add_my_options | Command line options for this script. |
| Method | main | Entry point for `LaunchpadScript`s. |
Inherited from SoyuzScript:
| Method | add_transaction_options | Add SoyuzScript transaction-related options. |
| Method | add_distro_options | Add SoyuzScript distro-related options. |
| Method | add_package_location_options | Add SoyuzScript package location-related options. |
| Method | add_archive_options | Add SoyuzScript archive-related options. |
| Method | waitForUserConfirmation | Blocks the script flow waiting for a user confirmation. |
| Method | setupLocation | Setup PackageLocation for context distribution and suite. |
| Method | finishProcedure | Script finalization procedure. |
| Method | mainTask | Main task to be performed by the script |
| Method | _getUserConfirmation | Use raw_input to collect user feedback. |
Inherited from LaunchpadScript (via SoyuzScript):
| Method | __init__ | Construct new LaunchpadScript. |
| Method | handle_options | Undocumented |
| Method | name | Enable subclasses to override with command-line arguments. |
| Method | dbuser | Enable subclasses to override with command-line arguments. |
| Method | login | Super-convenience method that avoids the import. |
| Method | lockfilename | Return lockfilename. |
| Method | lockfilepath | Undocumented |
| Method | setup_lock | Create lockfile. |
| Method | lock_or_die | Attempt to lock, and sys.exit(1) if the lock's already taken. |
| Method | unlock | Release the lock. Do this before going home. |
| Method | run | Actually run the script, executing zcml and initZopeless. |
| Method | record_activity | Hook to record script activity. |
| Method | lock_and_run | Call lock_or_die(), and then run() the script. |
| Method | _init_zca | Initialize the ZCA, this can be overridden for testing purposes. |
| Method | _init_db | Initialize the database transaction. |
| Parameters | archive | The Archive. |
| required_arches | A list of DistroArchSeries. | |
| distroseries | The context DistroSeries in which to create
builds. | |
The context PackagePublishingPocket. |