l.c.x.b.PublicCodehostingAPI(LaunchpadXMLRPCView) : class documentation

Part of lp.code.xmlrpc.branch View In Hierarchy

See IPublicCodehostingAPI.
Method resolve_lp_path See IPublicCodehostingAPI.
Method _compose_http_url Undocumented
Method _compose_bzr_ssh_url Undocumented
Method _getUrlsForBranch Return a list of URLs for the given branch.
Method _getUniqueNameResultDict Undocumented
Method _resolve_lp_path See IPublicCodehostingAPI.
Method _getBranchPaths Get the specific paths for a branch.
def _compose_http_url(unique_name, path, suffix):
Undocumented
def _compose_bzr_ssh_url(unique_name, path, suffix):
Undocumented
def _getUrlsForBranch(self, branch, lp_path, suffix=None, supported_schemes=None):
Return a list of URLs for the given branch.
ParametersbranchA Branch object.
lp_pathThe path that was used to traverse to the branch.
suffixThe section of the path that follows the branch specification.
Returns{'urls': [list_of_branch_urls]}.
def _getUniqueNameResultDict(self, unique_name, suffix=None, supported_schemes=None, path=None):
Undocumented
@return_fault
def _resolve_lp_path(self, path):
See IPublicCodehostingAPI.
def _getBranchPaths(self, strip_path, supported_schemes):
Get the specific paths for a branch.

If the branch is not found, but it looks like a branch name, then we return a writable URL for it. If it doesn't look like a branch name a fault is raised.

def resolve_lp_path(self, path):
See IPublicCodehostingAPI.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.