]> git.decadent.org.uk Git - dak.git/commitdiff
Merge commit 'origin/master'
authorMark Hymers <mhy@debian.org>
Fri, 30 Oct 2009 11:18:42 +0000 (11:18 +0000)
committerMark Hymers <mhy@debian.org>
Fri, 30 Oct 2009 11:18:42 +0000 (11:18 +0000)
dak/process_unchecked.py
dak/rm.py
templates/contents
templates/rm.bug-close

index 886fb68948ab6d365b64976dd3ff6588cb82291e..8a3e49d10d62489a8b968259b0892e40ab29c666 100755 (executable)
@@ -102,7 +102,7 @@ def init():
 ################################################################################
 
 def usage (exit_code=0):
-    print """Usage: dinstall [OPTION]... [CHANGES]...
+    print """Usage: dak process-unchecked [OPTION]... [CHANGES]...
   -a, --automatic           automatic run
   -h, --help                show this help and exit.
   -n, --no-action           don't do anything
index be3e16766e86b94d371f58954b3b1964acb8e208..00671f6071859fd14552266c5b10489e647e34a9 100755 (executable)
--- a/dak/rm.py
+++ b/dak/rm.py
@@ -492,7 +492,7 @@ def main ():
     game_over()
 
     whoami = utils.whoami()
-    date = commands.getoutput('date -R')
+    date = commands.getoutput('date -R').strip()
 
     # Log first; if it all falls apart I want a record that we at least tried.
     logfile = utils.open_file(cnf["Rm::LogFile"], 'a')
@@ -554,7 +554,10 @@ def main ():
         if carbon_copy:
             Subst["__CC__"] += "\nCc: " + ", ".join(carbon_copy)
         Subst["__SUITE_LIST__"] = suites_list
-        Subst["__SUMMARY__"] = summary
+        summarymail = "%s\n------------------- Reason -------------------\n%s\n" % (summary, Options["Reason"])
+        summarymail += "----------------------------------------------\n"
+        Subst["__SUMMARY__"] = summarymail
+        Subst["__SUBJECT__"] = "Removed package(s) from %s" % (suites_list)
         Subst["__ADMIN_ADDRESS__"] = cnf["Dinstall::MyAdminAddress"]
         Subst["__DISTRO__"] = cnf["Dinstall::MyDistribution"]
         Subst["__WHOAMI__"] = whoami
index 48950314262f3c15a3c36ec61f20d15d21a430c8..1021da450cd8cc429f96603baaf167055753a6d9 100644 (file)
@@ -12,22 +12,24 @@ the first is listed.
 
 As all Contents files are shipped compressed, the best way to search quickly
 for a file is with the Unix `zgrep' utility, as in:
-  `zgrep <regular expression> CONTENTS.gz':
+  `zgrep <regular expression> CONTENTSFILE.gz':
 
- $ zgrep nose Contents.gz
- etc/nosendfile                                          net/sendfile
- usr/X11R6/bin/noseguy                                   x11/xscreensaver
- usr/X11R6/man/man1/noseguy.1x.gz                        x11/xscreensaver
- usr/doc/examples/ucbmpeg/mpeg_encode/nosearch.param     graphics/ucbmpeg
- usr/lib/cfengine/bin/noseyparker                        admin/cfengine
+ $ zgrep -i debian/ Contents-amd64.gz
+ usr/share/IlohaMail/debian/Ilohamail.apache                 web/ilohamail
+ usr/share/R/debian/r-cran.mk                                devel/r-base-dev
+ usr/share/apt-listbugs/debian/apt_preferences.rb            admin/apt-listbugs
+ usr/share/apt-listbugs/debian/bts.rb                        admin/apt-listbugs
+ usr/share/apt-listbugs/debian/btssoap.rb                    admin/apt-listbugs
+ usr/share/apt-listbugs/debian/bug.rb                        admin/apt-listbugs
+ usr/share/apt-listbugs/debian/mytempfile.rb                 admin/apt-listbugs
 
 This list contains files in all packages, even though not all of the
 packages are installed on an actual system at once.  If you want to
 find out which packages on an installed Debian system provide a
 particular file, you can use `dpkg --search <filename>':
 
- $ dpkg --search /usr/bin/dselect
dpkg: /usr/bin/dselect
+ $ dpkg --search apt-get
apt: /usr/bin/apt-get
 
 
-FILE                                                    LOCATION
\ No newline at end of file
+FILE                                                    LOCATION
index 7e521e8afb35e2b734e2b2511e30688b3f5ad487..78addd22b9ce49b21236822dbddae553b822b90b 100644 (file)
@@ -6,7 +6,7 @@ X-Debian: DAK
 MIME-Version: 1.0
 Content-Type: text/plain; charset="utf-8"
 Content-Transfer-Encoding: 8bit
-Subject: Bug#__BUG_NUMBER__: fixed
+Subject: Bug#__BUG_NUMBER__: __SUBJECT__
 
 We believe that the bug you reported is now fixed; the following
 package(s) have been removed from __SUITE_LIST__: