l.s.s.a.AddMissingBuilds(SoyuzScript) : class documentation

Part of lp.soyuz.scripts.add_missing_builds View In Hierarchy

Helper class to create builds in PPAs for requested architectures.
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.
def add_missing_builds(self, archive, required_arches, distroseries, pocket):
Create builds in an archive as necessary.
ParametersarchiveThe Archive.
required_archesA list of DistroArchSeries.
distroseriesThe context DistroSeries in which to create builds.
pocketThe context PackagePublishingPocket.
def add_my_options(self):
Command line options for this script.
def main(self):
Entry point for `LaunchpadScript`s.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.