runbot/runbot_merge/models
Xavier Morel 5441ba12ae [FIX] runbot_merge: format_patch if --no-prefix
Turns out you can configure format-patch with `--no-prefix` and some
people (*cough cough* mat) have that in their standard setup, so the
assumption of needing to strip 1 level of prefix does not necessarily
hold.

Also fix a few more issues:

- some people (*cough cough* still mat) also use `-n` by default,
  which adds the series sequence (`n/m`) even for a single patch,
  handle that correctly
- logging patch application errors is pretty useful when patching
  fails and I'm trying to get the information via logs, do that
- especially when I decide to add error messages to tracking *but
  forgot to show the chatter by default*, fix that as well

The commit-based patcher worked first try, and patch-based would have
worked too if not for those meddling kids. In the future it might be a
good idea to reify the stripping level (`-p`) on the patch object
though, and maybe provide a computed preview of the list of files to
patch, so issues are easier for the operator to diagnose.
2024-11-18 12:37:44 +01:00
..
backport [FIX] runbot_merge: backport wizard 2024-11-18 09:48:48 +01:00
crons [IMP] runbot_merge: prune repo during maintenance 2024-08-05 09:03:39 +02:00
project_freeze [FIX] *: ensure I don't get bollocked up again by tags 2024-09-06 15:09:08 +02:00
staging_cancel [ADD] runbot_merge: stagings canceling wizard 2022-12-08 10:46:22 +01:00
__init__.py [ADD] *: PR backport wizard 2024-10-22 11:41:58 +02:00
batch.py [ADD] *: PR backport wizard 2024-10-22 11:41:58 +02:00
commands.py [FIX] *: UX around fw=no 2024-09-17 11:31:20 +02:00
events_sources.py [ADD] *: per-repository webhook secret 2024-06-06 11:07:57 +02:00
ir_actions.py [IMP] runbot_merge: add json & requests to server actions context 2023-02-20 10:13:05 +01:00
ir_ui_view.py [IMP] runbot_merge: suppress view validation warning 2024-09-27 12:53:51 +02:00
patcher.py [FIX] runbot_merge: format_patch if --no-prefix 2024-11-18 12:37:44 +01:00
project.py [ADD] runbot_merge: support for unstaged patches 2024-10-03 12:06:00 +02:00
pull_requests.py [IMP] runbot_merge: hide concurrent update errors 2024-10-22 14:12:04 +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: make merge method non-blocking 2024-10-07 08:07:59 +02:00
utils.py [FIX] runbot_merge: reset markdown renderer 2024-10-29 13:13:59 +01:00