]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
branch_changer.py: document more behavior.
authorMartin Liska <mliska@suse.cz>
Fri, 9 Apr 2021 11:18:24 +0000 (13:18 +0200)
committerMartin Liska <mliska@suse.cz>
Fri, 9 Apr 2021 11:19:15 +0000 (13:19 +0200)
maintainer-scripts/ChangeLog:

* branch_changer.py: Document more how the script behaves.

maintainer-scripts/branch_changer.py

index de252d26ac4ebbac48112c57904b6cfce1f0926a..0f0cbaf43e063d40058417c9690064d772358c36 100755 (executable)
 #
 # Very similar to previous invocation, but instead of adding to known-to-fail,
 # '5' release is removed from all issues that have the regression prefix.
+# NOTE: If the version 5 is the only one in regression marker ([5 Regression] ...),
+# then the bug summary is not modified.
+#
+# NOTE: If we change target milestone in between releases and the PR does not
+# regress in the new branch, then target milestone change is skipped:
+#
+#  not changing target milestone: not a regression or does not regress with the new milestone
 #
 # $ ./maintainer-scripts/branch_changer.py api_key --add=7:8
 #
@@ -102,7 +109,7 @@ class Bug:
         new_summary = self.serialize_summary()
         if new_summary != summary:
             print(self.name())
-            print('  changing summary: "%s" to "%s"' % (summary, new_summary))
+            print('  changing summary to "%s"' % (new_summary))
             self.modify_bug(api_key, {'summary': new_summary}, doit)
 
             return True