[Piuparts-commits] [piuparts] 08/10: bug template for maintainer scripts complaining about unknown arguments

Holger Levsen holger at moszumanska.debian.org
Tue Feb 16 10:59:36 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit 84ad43fa60b981a2aad7762b8025056ca88011f1
Author: Andreas Beckmann <anbe at debian.org>
Date:   Mon Feb 15 23:11:19 2016 +0100

    bug template for maintainer scripts complaining about unknown arguments
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
 .../maintainer_script_unknown_argument.mail        | 24 ++++++++++++++++++++++
 debian/changelog                                   |  2 ++
 2 files changed, 26 insertions(+)

diff --git a/bug-templates/maintainer_script_unknown_argument.mail b/bug-templates/maintainer_script_unknown_argument.mail
new file mode 100644
index 0000000..d03cc07
--- /dev/null
+++ b/bug-templates/maintainer_script_unknown_argument.mail
@@ -0,0 +1,24 @@
+To: submit at bugs.debian.org
+Subject: foobar called with unknown argument `foobar'
+
+Package:
+Version:
+Severity: serious
+User: debian-qa at lists.debian.org
+Usertags: piuparts
+
+Hi,
+
+during a test with piuparts I noticed the maintainer scripts of your
+package don't support all the ways they are going to be called.
+
+See policy 6.5 at
+https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-mscriptsinstact
+
+From the attached log (scroll to the bottom...):
+
+
+Testing reinstallation in sid:
+
+
+Cheers,
diff --git a/debian/changelog b/debian/changelog
index 3b23157..f8bab4b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ piuparts (0.70) UNRELEASED; urgency=medium
     - --install-remove-install runs 'apt-get install --reinstall $pkg', too.
   * post_distupgrade_base_cleanup: Remove libprocps3 in stretch.
   * pre_remove_40_find_unowned_lib_links: Handle another mpi alternative.
+  * Add bug template for maintainer scripts incorrectly complaining about
+    being called with unknown arguments.
 
  -- Holger Levsen <holger at debian.org>  Sat, 13 Feb 2016 12:48:14 +0100
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list