l.s.runlaunchpad : module documentation

Part of lp.scripts

No module docstring
Function make_abspath Undocumented
Class Service No class docstring; 2/3 methods documented
Class TacFile No class docstring; 2/4 methods documented
Class MailmanService Undocumented
Class CodebrowseService Undocumented
Class BingWebService Undocumented
Class MemcachedService A local memcached service for developer environments.
Class ForkingSessionService A lp-forking-service for handling codehosting access.
Class RabbitService A RabbitMQ service.
Class TxLongPollService A TxLongPoll service.
Function stop_process kill process and BLOCK until process dies.
Function prepare_for_librarian Undocumented
Function get_services_to_run Return a list of services (TacFiles) given a list of service names.
Function split_out_runlaunchpad_arguments Split the given command-line arguments into services to start and Zope
Function process_config_arguments Process the arguments related to the config.
Function start_testapp Undocumented
Function start_launchpad Undocumented
Function start_librarian Start the Librarian in the background.
def make_abspath(path):
Undocumented
def stop_process(process):
kill process and BLOCK until process dies.
ParametersprocessAn instance of subprocess.Popen.
def prepare_for_librarian():
Undocumented
def get_services_to_run(requested_services):
Return a list of services (TacFiles) given a list of service names.

If no names are given, then the list of services to run comes from the launchpad configuration.

If names are given, then only run the services matching those names.

def split_out_runlaunchpad_arguments(args):
Split the given command-line arguments into services to start and Zope arguments.

The runlaunchpad script can take an optional '-r services,...' argument. If this argument is present, then the value is returned as the first element of the return tuple. The rest of the arguments are returned as the second element of the return tuple.

Returns a tuple of the form ([service_name, ...], remaining_argv).

def process_config_arguments(args):
Process the arguments related to the config.

-i Will set the instance name aka LPCONFIG env.

If there is no ZConfig file passed, one will add to the argument based on the selected instance.

def start_testapp(argv=list(sys.argv)):
Undocumented
def start_launchpad(argv=list(sys.argv), setup=None):
Undocumented
def start_librarian():
Start the Librarian in the background.
API Documentation for Launchpad, generated by pydoctor at 2018-05-27 00:00:04.