Part of lp.code.model.branch View In Hierarchy
Method | valid_webhook_event_types | Undocumented |
Method | default_webhook_event_types | Undocumented |
Method | private | Undocumented |
Method | setPrivate | See IBranch . |
Method | getAllowedInformationTypes | See IBranch . |
Method | transitionToInformationType | See IBranch . |
Method | setOwner | See IBranch . |
Method | __repr__ | Undocumented |
Method | target | See IBranch . |
Method | setTarget | See IBranch . |
Method | namespace | See IBranch . |
Method | distribution | See IBranch . |
Method | sourcepackage | See IBranch . |
Method | revision_history | Undocumented |
Method | getLinkedBugTasks | See IBranch . |
Method | linkBug | See IBranch . |
Method | unlinkBug | See IBranch . |
Method | getSpecificationLinks | See IBranch . |
Method | linkSpecification | See IBranch . |
Method | unlinkSpecification | See IBranch . |
Method | landing_targets | See IBranch . |
Method | getPrecachedLandingTargets | See IBranch . |
Method | active_landing_targets | Merge proposals not in final states where this branch is source. |
Method | landing_candidates | See IBranch . |
Method | getPrecachedLandingCandidates | See IBranch . |
Method | dependent_branches | See IBranch . |
Method | getMergeProposals | See IBranch . |
Method | getDependentMergeProposals | See IBranch . |
Method | getMergeProposalByID | See IBranch . |
Method | isBranchMergeable | See IBranch . |
Method | addLandingTarget | See IBranch . |
Method | scheduleDiffUpdates | See IBranch . |
Method | markRecipesStale | See IBranch . |
Method | markSnapsStale | See IBranch . |
Method | addToLaunchBag | See IBranch . |
Method | getStackedBranches | See IBranch . |
Method | getStackedOnBranches | See IBranch . |
Method | code_is_browseable | See IBranch . |
Method | getCodebrowseUrl | See IBranch . |
Method | getCodebrowseUrlForRevision | See IBranch . |
Method | browse_source_url | Undocumented |
Method | composePublicURL | See IBranch . |
Method | getInternalBzrUrl | See IBranch . |
Method | getBzrBranch | See IBranch . |
Method | display_name | See IBranch . |
Method | code_reviewer | See IBranch . |
Method | isPersonTrustedReviewer | See IBranch . |
Method | latest_revisions | See IBranch . |
Method | getMainlineBranchRevisions | See IBranch . |
Method | getBlob | See IBranch . |
Method | getDiff | See IBranch . |
Method | canBeDeleted | See IBranch . |
Method | code_import | Undocumented |
Method | deletionRequirements | See IBranch . |
Method | associatedProductSeries | See IBranch . |
Method | getProductSeriesPushingTranslations | See IBranch . |
Method | associatedSuiteSourcePackages | See IBranch . |
Method | userCanBeSubscribed | Undocumented |
Method | subscribe | See IBranch . |
Method | getSubscription | See IBranch . |
Method | getSubscriptionsByLevel | See IBranch . |
Method | hasSubscription | See IBranch . |
Method | unsubscribe | See IBranch . |
Method | getBranchRevision | See IBranch . |
Method | removeBranchRevisions | See IBranch . |
Method | createBranchRevision | See IBranch . |
Method | createBranchRevisionFromIDs | See IBranch . |
Method | getTipRevision | See IBranch . |
Method | updateScannedDetails | See IBranch . |
Method | getNotificationRecipients | See IBranch . |
Method | pending_writes | See IBranch . |
Method | pending_updates | See IBranch . |
Method | getScannerData | See IBranch . |
Method | getPullURL | See IBranch . |
Method | unscan | Undocumented |
Method | rescan | See IBranchModerate . |
Method | getLatestScanJob | Undocumented |
Method | requestMirror | See IBranch . |
Method | startMirroring | See IBranch . |
Method | branchChanged | See IBranch . |
Method | mirrorFailed | See IBranch . |
Method | destroySelf | See IBranch . |
Method | checkUpgrade | Undocumented |
Method | needs_upgrading | See IBranch . |
Method | upgrade_pending | See IBranch . |
Method | requestUpgrade | See IBranch . |
Method | visibleByUser | See IBranch . |
Method | recipes | See IHasRecipes . |
Method | _reconcileAccess | Reconcile the branch's sharing information. |
Method | _api_landing_targets | Undocumented |
Method | _api_landing_candidates | Undocumented |
Method | _createMergeProposal | See IBranch . |
Method | _deletionRequirements | Determine what operations must be performed to delete this branch. |
Method | _breakReferences | Break all external references to this branch. |
Method | _associatedProductSeries | Helper for eager loading associatedProductSeries. |
Method | _associatedSuiteSourcePackages | Helper for associatedSuiteSourcePackages. |
Method | _pending_mirror_operations | Does this branch have pending mirror operations? |
Method | _findStackedBranch | Undocumented |
Method | _deleteBranchSubscriptions | Delete subscriptions for this branch prior to deleting branch. |
Method | _deleteJobs | Delete jobs for this branch prior to deleting branch. |
Method | _known_viewers | A set of known persons able to view this branch. |
Method | _recipes | Undecorated version of recipes for use by markRecipesStale . |
Inherited from SQLBase:
Method | __init__ | Extended version of the SQLObjectBase constructor. |
Method | __eq__ | Equality operator. |
Method | __ne__ | Inverse of __eq__. |
Method | __storm_invalidated__ | Flush cached properties. |
Class Method | _get_store | Undocumented |
Inherited from WebhookTargetMixin:
Method | webhooks | Undocumented |
Method | newWebhook | Undocumented |
Inherited from BzrIdentityMixin:
Method | shortened_path | See IBranch . |
Method | bzr_identity | See IBranch . |
Method | getBranchIdentities | See IBranch . |
Method | getBranchLinks | See IBranch . |
Takes the information_type and target and makes the related AccessArtifact and AccessPolicyArtifacts match.
IBranch
.IBranch
.IBranch
.IBranch
.Two dictionaries are returned, one for items that must be deleted, one for items that must be altered. The item in question is the key, and the value is a user-facing string explaining why the item is affected.
As well as the dictionaries, this method returns two list of callables that may be called to perform the alterations and deletions needed.
NULLable references will be NULLed. References which are not NULLable will cause the item holding the reference to be deleted.
This function is guaranteed to perform the operations predicted by deletionRequirements, because it uses the same backing function.
IBranch
.
Subscribe person to this branch and also to any editable stacked on branches they cannot see.
A branch has pending mirror operations if it is an imported branch that has just been pushed to or if it is in the middle of being mirrored.
IBranch
.
A branch has pending writes if it has pending mirror operations or if it has been mirrored and not yet scanned. Use this when you need to know if the branch is in a condition where it is possible to run other jobs on it: for example, a branch that has been unscanned cannot support jobs being run for its related merge proposals.
IBranch
.
A branch has pending updates if it has pending mirror operations or if it has a pending scan job. Use this when you need to know if there is work queued, for example when deciding whether to display in-progress UI indicators.
IBranch
.Delete jobs for this branch prior to deleting branch. This deletion includes `BranchJob`s associated with the branch, as well as `BuildQueue` entries for `TranslationTemplateBuildJob`s and `TranslationTemplateBuild`s.
This method must return an empty set or branch searches will trigger late evaluation. Any 'should be set on load' properties must be done by the branch search.
If you are tempted to change this method, don't. Instead see visibleByUser which defines the just-in-time policy for branch visibility, and IBranchCollection which honours visibility rules.