Package: debmake
Severity: normal
Tags: patch

Dear maintainer,

The field Upstream-Contact is part of the DEP-5 specification as an
optional field. Its meaning is to hold information on how to reach upstream.

It is wildly use in Debian packages. A grep in all sources packages for
buster gives the following results:

Total: 26474
DEP5: 22947
Upstream-Contact: 13364

As part of my work for mentors.debian.net, we recently implemented an
auto-completion feature for RFS template using this field to extract the
Upstream author.

It would be a big help if tools such as dh-make or debmake could add
Upstream-Contact to the default license template so that new packages
benefit from this info.

You will find attached a patch adding this field. I hope you can
integrate it in the next version.

Best,

-- 
Baptiste BEAUPLAT - lyknode
diff --git a/debmake/copyright.py b/debmake/copyright.py
index bca2764..28b3c24 100755
--- a/debmake/copyright.py
+++ b/debmake/copyright.py
@@ -67,6 +67,7 @@ def copyright(package_name, license_file_masks, cdata, xml_html_files, binary_fi
     text = '''\
 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 Upstream-Name: {}
+Upstream-Contact: <preferred name and address to reach the upstream project>
 Source: <url://example.com>
 '''.format(package_name)
     if tutorial:

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to