]> err.no Git - dak/commitdiff
dak/process_new.py: show target suite and changed-by
authorAnsgar Burchardt <ansgar@debian.org>
Mon, 7 Jan 2013 10:24:48 +0000 (11:24 +0100)
committerAnsgar Burchardt <ansgar@debian.org>
Mon, 7 Jan 2013 10:30:22 +0000 (11:30 +0100)
dak/process_new.py

index d1e5802161d575c32e00337fa7005cc7d794a2ae..e0ed4b81370765c6566cd1fdf5dc6e414b8e42f5 100755 (executable)
@@ -471,6 +471,16 @@ def do_new(upload, upload_copy, handler, session):
         missing = handler.missing_overrides(hints=missing)
         broken = not check_valid(missing, session)
 
+        changesname = os.path.basename(upload.changes.changesname)
+
+        print
+        print changesname
+        print "-" * len(changesname)
+        print
+        print "   Target:     {0}".format(upload.target_suite.suite_name)
+        print "   Changed-By: {0}".format(upload.changes.changedby)
+        print
+
         #if len(byhand) == 0 and len(missing) == 0:
         #    break
 
@@ -806,8 +816,6 @@ def main():
         show_new_comments(uploads, session)
     else:
         for upload in uploads:
-            print "\n" + os.path.basename(upload.changes.changesname)
-
             do_pkg (upload, session)
 
     end()