runbot/runbot_merge/models
Xavier Morel 2898c7edd4 [FIX] runbot_merge: updating of commit date on rebase
On #509, the rebasing process was changed to forcefully update the
commit date of the commits, in order to force trigger builds.

However when squashing was re-enabled for #539 for some fool reason it
implemented its own bespoke rebasing (despite that not actually saving
any API call that I can see), meaning it did *not* update the commit
date. As such, an old commit being squashed would not get picked up by
the runbot, which is what happened to odoo/documentation#1226 (which
ultimately had to be hand-rebased after some confusion as to why it
did not work).

Update `_stage_squash` to go through `rebase` the normal way, also
update `rebase` to pop the commit date entirely instead of setting it
manually, and update the squashing test to check that the commit date
gets properly updated.

Fixes #579, closes #582
2022-02-10 13:51:08 +01:00
..
project_freeze [IMP] runbot_merge: show PR titles in freeze wizard 2022-02-08 12:28:10 +01:00
__init__.py [ADD] runbot_merge: ~~tree~~ freeze wizard 2021-11-17 10:40:12 +01:00
project.py [MRG] runbot_merge, forwardport: multiple fixes to freeze wizard 2022-02-10 13:50:21 +01:00
pull_requests.py [FIX] runbot_merge: updating of commit date on rebase 2022-02-10 13:51:08 +01:00
res_partner.py [IMP] runbot_merge: reject review without email 2021-10-20 14:36:50 +02:00