From: Joerg Jaspert Date: Sat, 23 May 2009 17:32:35 +0000 (+0200) Subject: Merge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=f91bf88c622b3020bb4fe9abc27b350e586e7c45;hp=80d923528f02a57d2d83009c8c17e9468b1f68b6;p=dak.git Merge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak * 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak: Send the "transitions completed" mail to debian-devel instead of the RT. --- diff --git a/config/debian/dak.conf b/config/debian/dak.conf index 92fc4322..21509aae 100644 --- a/config/debian/dak.conf +++ b/config/debian/dak.conf @@ -47,7 +47,7 @@ Dinstall Transitions { - Notifications "team@release.debian.org"; + Notifications "debian-devel@lists.debian.org"; TempPath "/srv/ftp.debian.org/tmp/"; }; diff --git a/dak/transitions.py b/dak/transitions.py index 00348f2d..2c7d3d83 100755 --- a/dak/transitions.py +++ b/dak/transitions.py @@ -452,8 +452,9 @@ def check_transitions(transitions): elif answer == 'y': print "Committing" subst = {} + subst['__SUBJECT__'] = "Transitions completed: " + ", ".join(sorted(to_remove)) subst['__TRANSITION_MESSAGE__'] = "The following transitions were removed:\n" - for remove in to_remove: + for remove in sorted(to_remove): subst['__TRANSITION_MESSAGE__'] += info[remove] + '\n' del transitions[remove] diff --git a/templates/transition.removed b/templates/transition.removed index 32b0aca1..4e064a3f 100644 --- a/templates/transition.removed +++ b/templates/transition.removed @@ -6,10 +6,10 @@ Precedence: bulk MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit -Subject: Transitions Completed +Subject: __SUBJECT__ -The following transitions are complete and have been removed -from the transitions list: +Some transitions for which there was an upload block in place have been +completed and the block has been automatically lifted: __TRANSITION_MESSAGE__