]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
script/redmine-upkeep: do not raise backport warnings for backports
authorPatrick Donnelly <pdonnell@ibm.com>
Thu, 26 Feb 2026 20:50:20 +0000 (15:50 -0500)
committerPatrick Donnelly <pdonnell@ibm.com>
Fri, 27 Feb 2026 01:17:48 +0000 (20:17 -0500)
Signed-off-by: Patrick Donnelly <pdonnell@ibm.com>
src/script/redmine-upkeep.py

index 9f342ccd4e0908fcbc30c8a916e9f108afe107ac..af5e6ae8855fadb194ef6be172432a551c2bac6e 100755 (executable)
@@ -1066,7 +1066,7 @@ class RedmineUpkeep:
             if current_status_id != REDMINE_STATUS_ID_RESOLVED:
                 issue_update.logger.info("No backports defined. Setting status to 'Resolved'.")
 
-                if self.pull_request_id:
+                if self.pull_request_id and issue_update.issue.tracker.id != REDMINE_TRACKER_ID_BACKPORT:
                     comment_body = f"""
                         This is an automated message by src/script/redmine-upkeep.py.