l.a.b.l.LaunchpadRootNavigation(Navigation) : class documentation

Part of lp.app.browser.launchpad View In Hierarchy

No class docstring
Method redirect_support Redirect /support to launchpad Answers site.
Method redirect_legal Redirect /legal to help.launchpad.net/Legal site.
Method redirect_faq Redirect /faq to launchpad-project/+faqs.
Method redirect_feedback Redirect /feedback to help.launchpad.net/Feedback site.
Method redirect_branch Redirect /+branch/<foo> to the branch named 'foo'.
Method redirect_branch_or_repo Redirect /+code/<foo> to the branch or repository named 'foo'.
Method redirect_buildfarm Redirect old /+builds requests to new URL, /builders.
Method products Undocumented
Method traverse Undocumented
Method publishTraverse Undocumented
Method _getBetaRedirectionView Undocumented
@stepto('support')
def redirect_support(self):
Redirect /support to launchpad Answers site.
@stepto('legal')
def redirect_legal(self):
Redirect /legal to help.launchpad.net/Legal site.
@stepto('faq')
def redirect_faq(self):
Redirect /faq to launchpad-project/+faqs.
@stepto('feedback')
def redirect_feedback(self):
Redirect /feedback to help.launchpad.net/Feedback site.
@stepto('+branch')
def redirect_branch(self):
Redirect /+branch/<foo> to the branch named 'foo'.

'foo' can be the unique name of the branch, or any of the aliases for the branch. If 'foo' resolves to an ICanHasLinkedBranch instance but the linked branch is not yet set, redirect back to the referring page with a suitable notification message. If 'foo' is completely invalid, redirect back to the referring page with a suitable error message.

@stepto('+code')
def redirect_branch_or_repo(self):
Redirect /+code/<foo> to the branch or repository named 'foo'.

'foo' can be the unique name of the branch/repo, or any of the aliases for the branch/repo.

If 'foo' is invalid, or exists but the user does not have permission to view 'foo', a NotFoundError is raised, resulting in a 404 error.

Unlike +branch, this works for both git and bzr repositories/branches.

@stepto('+builds')
def redirect_buildfarm(self):
Redirect old /+builds requests to new URL, /builders.
@stepto('products')
def products(self):
Undocumented
def traverse(self, name):
Undocumented
def _getBetaRedirectionView(self):
Undocumented
def publishTraverse(self, request, name):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.