runbot/runbot_merge/controllers
Xavier Morel b2a4da4739 [FIX] runbot_merge: update squash flag on reopen
While the head gets updated (properly), the squash flag did not which
could lead to odd results. Since a PR can only be reopened if it was
regular-pushed to (not after a force push) there are two scenarios:

* the PR updated to have 0 commits, closed, pushed to with one commit
  then reopened, after reopening the PR would be marked as !squash and
  would ask for a merge method (that's what happened with
  odoo/odoo#51763)
* the PR has a single commit, is closed, pushed to then reopened,
  after reopening the PR would still be marked a squash and potentially
  straight rebased without asking for a merge method

Nothing would break per-se but both scenarios are undesirable.

Close #373
2020-05-28 13:33:56 +02:00
..
__init__.py [FIX] runbot_merge: update squash flag on reopen 2020-05-28 13:33:56 +02:00
dashboard.py [ADD] runbot_merge: staging history per branch 2019-08-21 14:15:10 +02:00
reviewer_provisioning.py [IMP] runbot_merge: make review rights repo-dependent 2020-02-11 08:07:57 +01:00