l.c.i.FakeCodehosting : class documentation

Part of lp.codehosting.inmemory View In Hierarchy

No class docstring
Method __init__ Undocumented
Method acquireBranchToPull Undocumented
Method mirrorFailed Undocumented
Method recordSuccess Undocumented
Method createBranch Undocumented
Method requestMirror Undocumented
Method branchChanged Undocumented
Method performLookup Undocumented
Method translatePath Undocumented
Method _parseUniqueName Return a dict of the parsed information and the branch name.
Method _createBranch The guts of the create branch method.
Method _canRead Can the person 'person_id' see 'branch'?
Method _canWrite Can the person 'person_id' write to 'branch'?
Method _get_product_target Undocumented
Method _get_package_target Undocumented
Method _serializeControlDirectory Undocumented
Method _serializeBranch Undocumented
def __init__(self, branch_set, person_set, product_set, distribution_set, distroseries_set, sourcepackagename_set, factory, script_activity_set):
Undocumented
def acquireBranchToPull(self, branch_type_names):
Undocumented
def mirrorFailed(self, branch_id, reason):
Undocumented
def recordSuccess(self, name, hostname, date_started, date_completed):
Undocumented
def _parseUniqueName(self, branch_path):
Return a dict of the parsed information and the branch name.
def _createBranch(self, registrant, branch_path):
The guts of the create branch method.

Raises exceptions on error conditions.

def createBranch(self, requester_id, branch_path):
Undocumented
def requestMirror(self, requester_id, branch_id):
Undocumented
def branchChanged(self, login_id, branch_id, stacked_on_location, last_revision_id, control_string, branch_string, repository_string):
Undocumented
def _canRead(self, person_id, branch):
Can the person 'person_id' see 'branch'?
def _canWrite(self, person_id, branch):
Can the person 'person_id' write to 'branch'?
def _get_product_target(self, path):
Undocumented
def _get_package_target(self, path):
Undocumented
def _serializeControlDirectory(self, requester, lookup):
Undocumented
def _serializeBranch(self, requester_id, branch, trailing_path, force_readonly=False):
Undocumented
def performLookup(self, requester_id, lookup, branch_name_only=False):
Undocumented
def translatePath(self, requester_id, path):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2020-11-28 00:00:02.