runbot/runbot_merge/exceptions.py
Xavier Morel 20a4e97b05 [CHG] runbot_merge: make merge method non-blocking
Because of the false negatives due to github's reordering of events on
retargeting, blocking merge methods can be rather frustrating or the
user as what's happening and how to solve it isn't clear in that case.

Keep the warnings and all, but remove the blocking factor: if a PR
doesn't have a merge method and is not single-commit, just skip it on
staging. This way, PRs which are actually single-commit will stage
fine even if the mergebot thinks they shouldn't be.

Fixes #957
2024-10-07 08:07:59 +02:00

12 lines
193 B
Python

class MergeError(Exception):
pass
class FastForwardError(Exception):
pass
class Mismatch(MergeError):
pass
class Unmergeable(MergeError):
pass
class Skip(MergeError):
pass