runbot/forwardport/tests
Xavier Morel f44b0c018e [IMP] forwardport: allow updating the fw limit after merging the source
Currently, once a source PR has been merged it's not possible to set
or update a limit, which can be inconvenient (e.g. people might have
forgotten to set it, or realise after the fact that setting one is not
useful, or might realise after the fact that they should *unset* it).

This PR relaxes that constraint (which is not just a relaxation as it
requires a bunch of additional work and validation), it should now be
possible to:

- update the limit to any target, as long as that target is at or
  above the current forwardport tip's
  - with the exception of a tip being forward ported, as that can't be
    cancelled
- resume a forward port stopped by a previously set limit (just
  increase it to whatever)
- set a limit from any forward-port PR
- set a limit from a source, post-merge

The process should also provide pretty chatty feedback:

- feedback on the source and closest root
- feedback about adjustments if any (e.g. setting the limit to B but
  there's already a forward port to C, the 'bot should set the limit
  to C and tell you that it happened and why)

Fixes #506
2023-10-06 13:19:01 +02:00
..
conftest.py [IMP] *: store filestore & forwardport checkouts in temp dirs 2022-08-05 15:35:51 +02:00
test_batches.py [CHG] runbot_merge, forwardport: remove labelling 2020-11-20 07:41:54 +01:00
test_conflicts.py [IMP] forwardport: check fwbot approval for a conflicting PR 2023-08-30 12:24:05 +02:00
test_limit.py [IMP] forwardport: allow updating the fw limit after merging the source 2023-10-06 13:19:01 +02:00
test_overrides.py [IMP] forwardport: unmodified fw automatically inherit overrides 2021-01-13 16:11:14 +01:00
test_simple.py [REF] *: move most feedback messages to pseudo-templates 2023-06-14 16:01:45 +02:00
test_updates.py [ADD] forwardport: message on parent of detached PR 2023-08-29 15:59:05 +02:00
test_weird.py [REF] *: move most feedback messages to pseudo-templates 2023-06-14 16:01:45 +02:00