runbot/forwardport/models
Xavier Morel 79116fc850 [FIX] forwardport: duplicate batch completion
In the case where multiple batch completions are triggered (see 3
commits earlier) one of the issues is that the "already ported" check
is incorrect, as it checks the (source, target) pair against the PR
used to trigger the completion check. That PR *should* be the one PR
which was just added to a batch, but if one of its descendants is used
to re-trigger a port then the dupe check fails and we try to port the
thing again.

Remember to deref' the subject's source in order to perform the dupe
check, as well as set the source for the forwardport we create.

Fixes #1052
2025-02-14 09:31:09 +01:00
..
__init__.py [ADD] runbot_merge: ~~tree~~ freeze wizard 2021-11-17 10:40:12 +01:00
forwardport.py [FIX] forwardport: duplicate batch completion 2025-02-14 09:31:09 +01:00
project_freeze.py [IMP] *: trigger-ify task queue type crons 2024-08-02 15:14:50 +02:00
project.py [FIX] *: double forwardport when adding a PR to an existing batch 2025-02-11 14:27:53 +01:00