l.s.s.p.PPAReportScript(LaunchpadScript) : class documentation

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

No class docstring
Method add_my_options Optionally customize this hook to define your own options.
Method ppas A cached tuple containing relevant PPAs objects for 'ubuntu'.
Method setOutput Set the output file descriptor.
Method closeOutput Closes the output file descriptor
Method checkOptions Verify if the given command-line options are sane.
Method main Define the meat of your script here. Must be defined.
Method reportOverQuota Undocumented
Method reportUserEmails Undocumented
Method expected_paths Frozenset containing the expected PPA repository paths.
Method existing_paths Frozenset containing the existing PPA repository paths.
Method reportOrphanRepos Undocumented
Method reportMissingRepos Undocumented

Inherited from LaunchpadScript:

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_my_options(self):

Optionally customize this hook to define your own options.

This method should contain only a set of lines that follow the template:

self.parser.add_option("-f", "--foo", dest="foo",
default="foobar-makes-the-world-go-round", help="You are joking, right?")
@cachedproperty
def ppas(self):
A cached tuple containing relevant PPAs objects for 'ubuntu'.

if self.options.archive_owner_name is defined only return PPAs with matching owner names.

def setOutput(self):
Set the output file descriptor.

If the 'output' options was passed open a file named as its content, otherwise use sys.stdout.

def closeOutput(self):
Closes the output file descriptor
def checkOptions(self):
Verify if the given command-line options are sane.
def main(self):
Define the meat of your script here. Must be defined.

Raise LaunchpadScriptFailure if you encounter an error condition that makes it impossible for you to proceed; sys.exit(1) will be invoked in that situation.

def reportOverQuota(self):
Undocumented
def reportUserEmails(self):
Undocumented
@cachedproperty
def expected_paths(self):
Frozenset containing the expected PPA repository paths.
@cachedproperty
def existing_paths(self):
Frozenset containing the existing PPA repository paths.
def reportOrphanRepos(self):
Undocumented
def reportMissingRepos(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.