]> git.decadent.org.uk Git - dak.git/commitdiff
Merge branch 'master' of ssh://ftp-master.debian.org/srv/ftp.debian.org/git/dak
authorJoerg Jaspert <joerg@debian.org>
Sat, 23 May 2009 17:32:35 +0000 (19:32 +0200)
committerJoerg Jaspert <joerg@debian.org>
Sat, 23 May 2009 17:32:35 +0000 (19:32 +0200)
* '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.

config/debian/dak.conf
dak/transitions.py
templates/transition.removed

index 92fc4322e4949abc5100bb4248e65fcbd888da80..21509aaeaa0d65c859483f9f512c1cf5993882e5 100644 (file)
@@ -47,7 +47,7 @@ Dinstall
 
 Transitions
 {
-   Notifications "team@release.debian.org";
+   Notifications "debian-devel@lists.debian.org";
    TempPath "/srv/ftp.debian.org/tmp/";
 };
 
index 00348f2dc842c1e50978b07a4046d19864e0f4d3..2c7d3d8333071b61f41448806f8fc4e007b60e9e 100755 (executable)
@@ -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]
 
index 32b0aca1918aa2c1cb0a5c8f7a48710c60f094f8..4e064a3f6518d42751e53a6651372e7d1f775d4e 100644 (file)
@@ -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__