Part of lp.code.browser.branchlisting View In Hierarchy
Known subclasses: lp.code.browser.branchlisting.BranchListingBatchNavigator, lp.code.browser.branchlisting.GroupedDistributionSourcePackageBranchesView
Method | __init__ | Undocumented |
Method | getBranchCollection | Should be a user restricted branch collection for the view. |
Method | product_series_map | Return a map from branch id to a list of product series. |
Method | getProductSeries | Get the associated product series for the branch. |
Method | official_package_links_map | Return a map from branch id to a list of package links. |
Method | getSuiteSourcePackages | Get the associated SuiteSourcePackages for the branch. |
Method | getDistroDevelSeries | distribution.currentseries hits the DB every time so cache it. |
Method | branch_ids_with_bug_links | Return a set of branch ids that should show bug badges. |
Method | branch_ids_with_spec_links | Return a set of branch ids that should show blueprint badges. |
Method | branch_ids_with_merge_proposals | Return a set of branches that should show merge proposal badges. |
Method | tip_revisions | Return a set of branch ids that should show blueprint badges. |
Method | decoratedBranches | Return the decorated branches for the branches passed in. |
Method | _query_optimiser | Return the branch listing query optimiser utility. |
Method | _visible_branch_ids | Return a list of the branch ids that are visible. |
Method | _createItem | Undocumented |
If the branch has more than one associated product series they are listed in alphabetical order, unless one of them is the current development focus, in which case that comes first.
If there is more than one, they are sorted by pocket.
Branches have merge proposals badges if they've been proposed for merging into another branch (source branches).