Part of lp.code.interfaces.branch View In Hierarchy
Known implementations: lp.code.model.branch.Branch
Method | setPrivate | Set the branch privacy for this branch. |
Inherited from IBranchView:
Int | id | Undocumented |
Method | composePublicURL | Return a public URL for the branch using the given protocol. |
Choice | distroseries | The distribution series that this branch belongs to. Branches do not have to belong to a distribution series, they can also belong to a project or be junk branches. |
Choice | sourcepackagename | The source package that this is a branch of. Source package branches always belong to a distribution series. |
Attribute | distribution | The IDistribution that this branch belongs to. None if not a package branch. |
Attribute | namespace | The namespace of this branch, as an IBranchNamespace . |
Attribute | code_reviewer | The reviewer if set, otherwise the owner of the branch. |
Method | isPersonTrustedReviewer | Return true if the reviewer is a trusted reviewer. |
Text | last_mirrored_id | The head revision ID of the branch when last successfully mirrored. |
Attribute | mirror_failures | Number of failed mirror attempts since the last successful mirror. |
Datetime | next_mirror_time | Undocumented |
Attribute | stacked_on | Stacked-on branch |
Attribute | merge_queue | The queue that contains the QUEUED proposals for this branch. |
Method | getLinkedBugsAndTasks | Return a result set for the bugs with their tasks. |
Method | linkBug | Link a bug to this branch. |
Method | unlinkBug | Unlink a bug to this branch. |
Method | linkSpecification | Link an ISpecification to a branch. |
Method | unlinkSpecification | Unlink an ISpecification to a branch. |
Attribute | revision_history | The sequence of revisions for the mainline of this branch. |
Attribute | pending_writes | Whether there is new Bazaar data for this branch. |
Method | latest_revisions | A specific number of the latest revisions in that branch. |
Method | isBranchMergeable | Is the other branch mergeable into this branch (or vice versa). |
Method | addLandingTarget | Create a new BranchMergeProposal with this branch as the source. |
Method | scheduleDiffUpdates | Create UpdatePreviewDiffJobs for this branch's targets. |
Method | getStackedBranches | The branches that are stacked on this one. |
Method | getMergeQueue | The proposals that are QUEUED to land on this branch. |
Method | getMainlineBranchRevisions | Return the matching mainline branch revision objects. |
Method | getRevisionsSince | Revisions in the history that are more recent than timestamp. |
Attribute | code_is_browseable | Is the code in this branch accessable through codebrowse? |
Method | codebrowse_url | Construct a URL for this branch in codebrowse. |
Attribute | browse_source_url | The URL of the source browser for this branch. |
Method | addToLaunchBag | Add information about this branch to `launchbag'. |
Method | canBeDeleted | Can this branch be deleted in its current state. |
Method | deletionRequirements | Determine what is required to delete this branch. |
Method | associatedProductSeries | Return the product series that this branch is associated with. |
Method | getProductSeriesPushingTranslations | Return sequence of product series pushing translations here. |
Method | associatedSuiteSourcePackages | Return the suite source packages that this branch is linked to. |
Method | branchLinks | Return a sorted list of ICanHasLinkedBranch objects. |
Method | branchIdentities | A list of aliases for a branch. |
Method | subscribe | Subscribe this person to the branch. |
Method | getSubscription | Return the BranchSubscription for this person. |
Method | hasSubscription | Is this person subscribed to the branch? |
Method | unsubscribe | Remove the person's subscription to this branch. |
Method | getSubscriptionsByLevel | Return the subscriptions that are at the given notification levels. |
Method | getBranchRevision | Get the associated BranchRevision . |
Method | createBranchRevision | Create a new BranchRevision for this branch. |
Method | removeBranchRevisions | Remove the specified revision_ids from this Branch's revisions. |
Method | createBranchRevisionFromIDs | Create a batch of BranchRevision objects. |
Method | getTipRevision | Return the Revision associated with the last_scanned_id . |
Method | updateScannedDetails | Updates attributes associated with the scanning of the branch. |
Method | getNotificationRecipients | Return a complete INotificationRecipientSet instance. |
Method | getScannerData | Retrieve the full ancestry of a branch for the branch scanner. |
Method | getInternalBzrUrl | Get the internal URL for this branch. |
Method | getBzrBranch | Return the BzrBranch for this database Branch. |
Method | getPullURL | Return the URL used to pull the branch into the mirror area. |
Method | requestMirror | Request that this branch be mirrored on the next run of the branch |
Method | startMirroring | Signal that this branch is being mirrored. |
Method | mirrorFailed | Signal that a mirror attempt failed. |
Method | commitsForDays | Get a list of commit counts for days since since . |
Attribute | needs_upgrading | Whether the branch needs to be upgraded. |
Attribute | upgrade_pending | Whether a branch has had an upgrade requested. |
Method | visibleByUser | Can the specified user see this branch? |
Method | _createMergeProposal | Create a new BranchMergeProposal with this branch as the source. |
Inherited from IHasOwner (via IBranchView):
Attribute | owner | The object's owner, which is an IPerson. |
Inherited from IHasBranchTarget (via IBranchView):
Attribute | target | The branch target, as an IBranchTarget . |
Inherited from IHasMergeProposals (via IBranchView):
Method | getMergeProposals | Returns all merge proposals of a given status. |
Inherited from IHasRecipes (via IBranchView):
Method | getRecipes | Returns all recipes associated with the object. |
Inherited from IBranchEdit:
Method | setOwner | Set the owner of the branch to be new_owner . |
Method | setTarget | Set the target of the branch to be project or source_package . |
Method | requestUpgrade | Create an IBranchUpgradeJob to upgrade this branch. |
Method | branchChanged | Record that a branch has been changed. |
Method | destroySelfBreakReferences | Delete the specified branch. |
Method | destroySelf | Delete the specified branch. |
Inherited from IBranchEditableAttributes:
Choice | merge_control_status | Undocumented |