Nilesh Patra pushed to branch master at lintian / lintian


Commits:
002908a4 by Nilesh Patra at 2026-03-07T14:03:24+05:30
Add check for too-many-contacts

This covers the use-case:

And it might still make sense to keep the check, given that we have tools
such as mergechanges from devscripts, that might end up mangling the
.changes file into an invalid one for example (where dpkg is long out
of the loop).

Quoting from #1126507

- - - - -


5 changed files:

- + t/recipes/checks/fields/mail-address/two-maintainers/build-spec/fill-values
- + 
t/recipes/checks/fields/mail-address/two-maintainers/build-spec/test.changes.in
- + t/recipes/checks/fields/mail-address/two-maintainers/eval/desc
- + t/recipes/checks/fields/mail-address/two-maintainers/eval/hints
- t/scripts/harness/tag-coverage.t


Changes:

=====================================
t/recipes/checks/fields/mail-address/two-maintainers/build-spec/fill-values
=====================================
@@ -0,0 +1,3 @@
+Skeleton: changes
+Testname: two-maintainers
+Description: Two contacts listed as maintainers


=====================================
t/recipes/checks/fields/mail-address/two-maintainers/build-spec/test.changes.in
=====================================
@@ -0,0 +1,11 @@
+Format: 1.8
+Date: [% $date %]
+Source: [% $source %]
+Binary: [% $source %]
+Architecture: source all
+Version: [% $version %]
+Distribution: unstable
+Urgency: low
+Maintainer: Work <[email protected]>, Home <[email protected]>
+Description:
+ [% $source %] - [% $description %]


=====================================
t/recipes/checks/fields/mail-address/two-maintainers/eval/desc
=====================================
@@ -0,0 +1,2 @@
+Testname: two-maintainers
+Check: fields/mail-address


=====================================
t/recipes/checks/fields/mail-address/two-maintainers/eval/hints
=====================================
@@ -0,0 +1,3 @@
+two-maintainers (changes): too-many-contacts Maintainer Work <[email protected]>, 
Home <[email protected]>
+two-maintainers (changes): mail-contact Maintainer Work <[email protected]>
+two-maintainers (changes): mail-contact Maintainer Home <[email protected]>


=====================================
t/scripts/harness/tag-coverage.t
=====================================
@@ -70,7 +70,6 @@ my @known_missing = (
       unpack-message-for-orig
       uses-deprecated-adttmp
       invalid-versioned-provides
-      too-many-contacts
       ansi-escape
     ),
 



View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/002908a4c24eb5ad4375786056d078c82d4a84c8

-- 
View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/002908a4c24eb5ad4375786056d078c82d4a84c8
You're receiving this email because of your account on salsa.debian.org.


Reply via email to