Package: dput-ng
Severity: wishlist
Tags: patch

Hi,

 I'd like to sent tiny patch to make dupload/dput/dput-ng enabled lintian
 by default. It intend to use lintian for many maintainers, at least.
 Maybe some of them just make it disabled again, but more maintainers
 would see their lintian report.

 It doesn't do any harm IMHO, but if this change make something wrong,
 you can just revert it. It is kind of experiment, you don't need to 
 feel fear for that change :)

-- 
Regards,

 Hideki Yamane     henrich @ debian.or.jp/org
 http://wiki.debian.org/HidekiYamane
diff -Nru dput-ng-1.10/debian/changelog dput-ng-1.10+nmu1/debian/changelog
--- dput-ng-1.10/debian/changelog	2015-08-19 01:06:53.000000000 +0900
+++ dput-ng-1.10+nmu1/debian/changelog	2016-01-25 15:58:40.000000000 +0900
@@ -1,3 +1,10 @@
+dput-ng (1.10+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * enable lintian hook by default. 
+
+ -- Hideki Yamane <henr...@debian.org>  Mon, 25 Jan 2016 15:58:20 +0900
+
 dput-ng (1.10) unstable; urgency=medium
 
   * The "Goodbyte python-support" release
diff -Nru dput-ng-1.10/skel/profiles/DEFAULT.json dput-ng-1.10+nmu1/skel/profiles/DEFAULT.json
--- dput-ng-1.10/skel/profiles/DEFAULT.json	2015-08-19 01:01:06.000000000 +0900
+++ dput-ng-1.10+nmu1/skel/profiles/DEFAULT.json	2016-01-25 15:57:13.000000000 +0900
@@ -12,6 +12,6 @@
     "passive_ftp": true,
     "post_upload_command": "",
     "pre_upload_command": "",
-    "run_lintian": false,
+    "run_lintian": true,
     "scp_compress": true
 }
diff -Nru dput-ng-1.10/skel/profiles/ftp-master.json dput-ng-1.10+nmu1/skel/profiles/ftp-master.json
--- dput-ng-1.10/skel/profiles/ftp-master.json	2015-08-19 01:01:06.000000000 +0900
+++ dput-ng-1.10+nmu1/skel/profiles/ftp-master.json	2016-01-25 15:57:39.000000000 +0900
@@ -1,4 +1,7 @@
 {
+    "+hooks": [
+        "lintian"
+    ],
     "fqdn": "ftp.upload.debian.org",
     "incoming": "/pub/UploadQueue/",
     "login": "anonymous",
diff -Nru dput-ng-1.10/skel/profiles/mentors.json dput-ng-1.10+nmu1/skel/profiles/mentors.json
--- dput-ng-1.10/skel/profiles/mentors.json	2015-08-19 01:01:06.000000000 +0900
+++ dput-ng-1.10+nmu1/skel/profiles/mentors.json	2016-01-25 15:58:10.000000000 +0900
@@ -3,6 +3,9 @@
         "check-debs",
         "allowed-distribution"
     ],
+    "+hooks": [
+        "lintian"
+    ],
     "allowed_distributions": ".*",
     "fqdn": "mentors.debian.net",
     "incoming": ".",
diff -Nru dput-ng-1.10/skel/profiles/ssh-upload.json dput-ng-1.10+nmu1/skel/profiles/ssh-upload.json
--- dput-ng-1.10/skel/profiles/ssh-upload.json	2015-08-19 01:01:06.000000000 +0900
+++ dput-ng-1.10+nmu1/skel/profiles/ssh-upload.json	2016-01-25 15:57:46.000000000 +0900
@@ -1,4 +1,7 @@
 {
+    "+hooks": [
+        "lintian"
+    ],
     "fqdn": "ssh.upload.debian.org",
     "incoming": "/srv/upload.debian.org/UploadQueue/",
     "login": "*",
diff -Nru dput-ng-1.10/tests/dputng/profiles/DEFAULT.json dput-ng-1.10+nmu1/tests/dputng/profiles/DEFAULT.json
--- dput-ng-1.10/tests/dputng/profiles/DEFAULT.json	2015-08-19 01:01:06.000000000 +0900
+++ dput-ng-1.10+nmu1/tests/dputng/profiles/DEFAULT.json	2016-01-25 15:57:13.000000000 +0900
@@ -12,6 +12,6 @@
     "passive_ftp": true,
     "post_upload_command": "",
     "pre_upload_command": "",
-    "run_lintian": false,
+    "run_lintian": true,
     "scp_compress": true
 }

Reply via email to