runbot/forwardport
Xavier Morel 5bce73c97d [IMP] *: optimise loading of home page
Fix outstanding query to make a positive `state` filtering, instead of
negative, matching 3b52b1aace8674259812a76b1566260937dbcacb.

Also manually create a map of stagings (grouped by branch) sharing a
single prefetch set.

For odoo the mergebot home page has 12 branches in the odoo project
and 8 in spreadsheet, 6 stagings each. This means 120 queries to
retrieve all the heads (Odoo stagings have 5 heads and spreadsheet
have 1, but that seems immaterial).

By fixing `_compute_statuses` and creating a single prefetch set for
all stagings of all branches we can fetch all the commits in a single
query instead of 120.
2023-07-10 15:23:31 +02:00
..
changelog [FIX] *: fix forward port inserter if last branch is disabled 2022-12-01 10:57:32 +01:00
data [IMP] *: optimise loading of home page 2023-07-10 15:23:31 +02:00
migrations [IMP] forwardport: store and display detachment reason 2023-01-19 14:23:41 +01:00
models [IMP] rewrite /forwardport/outstanding 2023-07-10 15:23:31 +02:00
tests [REF] *: move most feedback messages to pseudo-templates 2023-06-14 16:01:45 +02:00
__init__.py [ADD] mergebot, forwardbot: changelog 2021-10-20 15:16:48 +02:00
__manifest__.py [IMP] forwardport: store and display detachment reason 2023-01-19 14:23:41 +01:00
controllers.py [IMP] rewrite /forwardport/outstanding 2023-07-10 15:23:31 +02:00