runbot/runbot_merge/models
Xavier Morel 83511f45e2 [CHG] runbot_merge: move priority field from PR to batch
Simplifies the `ready_prs` query a bit and allows it to be converted
to an ORM search, by moving the priority check outside. This also
allows the caller to not need to post-process the records list
anywhere near the previous state of affairs.

`ready_prs` now returns *either* the "alone" batches, or the non-alone
batches, rather than mixing both into a single sequence. This requires
correctly applying the search filters to not retrieve priority of
batches in error or targeting other branches.
2024-05-23 07:58:58 +02:00
..
crons [FIX] runbot_merge: maintenance gc command 2024-02-26 09:58:22 +01:00
project_freeze [CHG] runbot_merge: move staging readiness to batch 2024-05-23 07:58:58 +02:00
staging_cancel [ADD] runbot_merge: stagings canceling wizard 2022-12-08 10:46:22 +01:00
__init__.py [CHG] *: persistent batches 2024-05-23 07:58:58 +02:00
batch.py [CHG] runbot_merge: move priority field from PR to batch 2024-05-23 07:58:58 +02:00
commands.py [CHG] *: rewrite commands set, rework status management 2024-05-23 07:58:46 +02:00
ir_actions.py [IMP] runbot_merge: add json & requests to server actions context 2023-02-20 10:13:05 +01:00
project.py [ADD] runbot_merge: support staging ready PRs over splits 2024-05-23 07:58:58 +02:00
pull_requests.py [CHG] runbot_merge: move priority field from PR to batch 2024-05-23 07:58:58 +02:00
res_partner.py [ADD] runbot_merge: ad-hoc ACL tracking to res.partner 2024-05-16 09:32:03 +02:00
stagings_create.py [CHG] runbot_merge: move priority field from PR to batch 2024-05-23 07:58:58 +02:00
utils.py [CHG] runbot_merge: move priority field from PR to batch 2024-05-23 07:58:58 +02:00