l.c.s.mergedetection : module documentation

Part of lp.codehosting.scanner

The way the branch scanner handles merges.
Function is_series_branch Is 'branch' associated with a series?
Function is_development_focus Is 'branch' the development focus?
Function mark_branch_merged Mark 'branch' as merged.
Function merge_detected Handle the merge of source into target.
Function auto_merge_branches Detect branches that have been merged.
Function find_merged_revno Find the mainline revno that merged tip_rev_id.
Function auto_merge_proposals Detect merged proposals.
def is_series_branch(branch):
Is 'branch' associated with a series?
def is_development_focus(branch):
Is 'branch' the development focus?
def mark_branch_merged(logger, branch):
Mark 'branch' as merged.
def merge_detected(logger, source, target, proposal=None, merge_revno=None):
Handle the merge of source into target.
def auto_merge_branches(scan_completed):
Detect branches that have been merged.

We only check branches that have been merged into the branch that is being scanned as we already have the ancestry handy. It is much more work to determine which other branches this branch has been merged into.

def find_merged_revno(merge_sorted, tip_rev_id):
Find the mainline revno that merged tip_rev_id.

This method traverses the merge sorted graph looking for the first

def auto_merge_proposals(scan_completed):
Detect merged proposals.
API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.