rebase-scripts: Improve automation and output
Compare changes
- Walter Lozano authored
A possible scenario during a rebase is that a package has no update, in which case, usually the automerge-trivial argument allow the MR to be merged. However, for this to work the package need also to have trivial changes, which means no delta. In the case of a delta, it should be reviewed to make sure it is still valid, however, this can be done later to unblock the rebase. To support this behavior introduce a new argument to automerge MR when the package has no update. Also, add a log to allow to generate a list of packages to be reviewed later. Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
+ 48
− 10
@@ -11,11 +11,26 @@ import logging
@@ -25,11 +40,11 @@ class MergeData:
@@ -39,7 +54,7 @@ class MergeData:
@@ -55,6 +70,19 @@ class Analyser:
@@ -74,7 +102,7 @@ class Analyser:
@@ -91,6 +119,11 @@ class Analyser:
@@ -119,18 +152,21 @@ class Analyser:
@@ -143,7 +179,7 @@ class Analyser:
@@ -172,6 +208,8 @@ if __name__ == "__main__":
@@ -202,7 +240,7 @@ if __name__ == "__main__":