l.c.b.b.BranchView(InformationTypePortletMixin, FeedsMixin, BranchMirrorMixin, LaunchpadView, HasSnapsViewMixin, CodeImportTargetMixin) : class documentation

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

Known subclasses: lp.code.feed.branch.BranchFeedContentView

No class docstring
Method page_title Undocumented
Method initialize Undocumented
Method user_is_subscribed Is the current user subscribed to this branch?
Method owner_is_reviewer Is the branch owner the default reviewer?
Method show_whiteboard Return whether or not the whiteboard should be shown.
Method has_metadata Return whether there is branch metadata to display.
Method is_empty_directory True if the branch is an empty directory without even a '.bzr'.
Method pending_updates Whether or not there are pending updates for this branch.
Method bzr_download_url Return the generic URL for downloading the branch.
Method bzr_upload_url Return the generic URL for uploading the branch.
Method user_can_upload Whether the user can upload to this branch.
Method user_can_download Whether the user can download this branch.
Method landing_targets Return a filtered list of landing targets.
Method latest_landing_candidates Return a decorated filtered list of landing candidates.
Method landing_candidates Return a decorated list of landing candidates.
Method recipes_link A link to recipes for this branch.
Method is_imported Is this an imported branch?
Method is_import_branch_with_no_landing_candidates Is the branch an import branch with no landing candidates?
Method dependent_branch_count_text Undocumented
Method landing_candidate_count_text Undocumented
Method dependent_branches Undocumented
Method no_merges Return true if there are no pending merges
Method show_candidate_more_link Only show the link if there are more than five.
Method show_rescan_link Only show the rescan button if the latest scan has failed
Method linked_bugtasks Return a list of bugtasks linked to the branch.
Method revision_info Undocumented
Method show_merge_links Return whether or not merge proposal links should be shown.
Method translations_sources Anything that automatically exports its translations here.
Method status_widget The config to configure the ChoiceSource JS widget.
Method spec_links Undocumented
Method _getBranchCountText Help to show user friendly text.

Inherited from InformationTypePortletMixin:

Method information_type Undocumented
Method information_type_description Undocumented
Method information_type_css Undocumented
Method privacy_portlet_css Undocumented
Method _getContext Undocumented

Inherited from FeedsMixin:

Method feed_links Undocumented

Inherited from BranchMirrorMixin:

Method mirror_location Check the mirror location to see if it is a private one.

Inherited from HasSnapsViewMixin:

Method snaps Undocumented
Method snaps_link A link to snap packages for this object.

Inherited from CodeImportTargetMixin:

Method latest_code_import_results Return the last 10 CodeImportResults.
Method iconForCodeImportResultStatus The icon to represent the CodeImportResultStatus status.
Method url_is_web True if an imported branch's URL is HTTP or HTTPS.
@property
def page_title(self):
Undocumented
def initialize(self):
Undocumented
def user_is_subscribed(self):
Is the current user subscribed to this branch?
def owner_is_reviewer(self):
Is the branch owner the default reviewer?
def show_whiteboard(self):
Return whether or not the whiteboard should be shown.

The whiteboard is only shown for import branches.

def has_metadata(self):
Return whether there is branch metadata to display.
@property
def is_empty_directory(self):
True if the branch is an empty directory without even a '.bzr'.
@property
def pending_updates(self):
Whether or not there are pending updates for this branch.
def bzr_download_url(self):
Return the generic URL for downloading the branch.
def bzr_upload_url(self):
Return the generic URL for uploading the branch.
@property
def user_can_upload(self):
Whether the user can upload to this branch.
def user_can_download(self):
Whether the user can download this branch.
@cachedproperty
def landing_targets(self):
Return a filtered list of landing targets.
@property
def latest_landing_candidates(self):
Return a decorated filtered list of landing candidates.
@cachedproperty
def landing_candidates(self):
Return a decorated list of landing candidates.
@property
def recipes_link(self):
A link to recipes for this branch.
@property
def is_imported(self):
Is this an imported branch?
@property
def is_import_branch_with_no_landing_candidates(self):
Is the branch an import branch with no landing candidates?
def _getBranchCountText(self, count):
Help to show user friendly text.
@cachedproperty
def dependent_branch_count_text(self):
Undocumented
@cachedproperty
def landing_candidate_count_text(self):
Undocumented
@cachedproperty
def dependent_branches(self):
Undocumented
@cachedproperty
def no_merges(self):
Return true if there are no pending merges
@property
def show_candidate_more_link(self):
Only show the link if there are more than five.
@property
def show_rescan_link(self):
Only show the rescan button if the latest scan has failed
@cachedproperty
def linked_bugtasks(self):
Return a list of bugtasks linked to the branch.
@cachedproperty
def revision_info(self):
Undocumented
@property
def show_merge_links(self):
Return whether or not merge proposal links should be shown.

Merge proposal links should not be shown if there is only one branch in a non-final state.

def translations_sources(self):
Anything that automatically exports its translations here.

Produces a list, so that the template can easily check whether there are any translations sources.

@property
def status_widget(self):
The config to configure the ChoiceSource JS widget.
@property
def spec_links(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.