Package: dh-make
Version: 2.202102
Severity: wishlist
X-Debbugs-Cc: deb...@microjoe.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear Maintainer,

When calling dh_make on a new project, the file
`debian/upstream/metadata` is not created by default.

This results in raising the upstream-metadata-file-is-missing
experimental tag [1] in lintian:

    X: mypkg source: upstream-metadata-file-is-missing

- From my experience, upstream metadata files [2] are *strongly suggested*
during package creation, even if the lintian tag is still marked as
experimental.

My proposal is that a template for `debian/upstream/metadata` should
be created when invoking `dh_make`. This template could contain
most-used flags:

    Bug-Database: <upstream bug repository URL>
    Repository: <URL to clone upstream repository>
    Repository-Browse: <URL to browse upstream repository via HTTP(S)>

After this is done, lintian flag(s) can be created in order to detect
this templated values:

    E: mypkg source: debian-upstream-metadata-is-dh_make-template
    W: mypkg source: debian-upstream-metadata-has-dh_make-boilerplate

If necessary, I can try to help in the implementation of this new
feature.

Best regards.

[1] https://lintian.debian.org/tags/upstream-metadata-file-is-missing
[2] https://wiki.debian.org/UpstreamMetadata


- -- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.14.0-1-amd64 (SMP w/16 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dh-make depends on:
ii  debhelper  13.5.2
ii  dpkg-dev   1.20.9
ii  make       4.3-4.1
ii  python3    3.9.2-3

dh-make recommends no packages.

Versions of packages dh-make suggests:
ii  build-essential  12.9

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEE/0vnfqUe7n1fhjM4L/9j9YUbA+IFAmFZgoQUHGRlYmlhbkBt
aWNyb2pvZS5vcmcACgkQL/9j9YUbA+IVVw/9Ge5UEQoJ86YzTV0p+Cta1jHjCMyF
g19SlBz08/t6XriElsQdZKVu6DZxCIYLRAih3GI8vh7Re7S2mu8NNDHzBBwmOGO6
y9F7MRydIMos4H8dsvktv2FLmVYrKcm4wkuNTbB+vjz3XhyMNEDPfubfwyqohasN
/YcyJDAuuXM9tSAvR+tSH/+sNOPvNTPZba2c1IsR7O4lnwUxjbWWIZY3TO3NOl53
uFPf2M0iYIBGUAuKXy24bzEoJn09rEjFohVI9KjIHYEED7c5EFVFkM1vCwxiqMOO
QkA9PryGNwpgCNwmfABh7b7bZrS2yKj5oeWmkp87+wKmO+zHtIRchBsIhQCUczfg
0zv0zvBv742tP6pJr0ioLtbqejQCpo+4pFoun4HhCzj4dCWMdem8yJ/aZRRrIW0Q
QLbScBWq9EZHkCPJdWWvSkB6aY+JuiDNpg7hXq+/4mnIlwxmuyQr6xfDQJ/deS+Y
hbKDoSIizsOtLOCcLxAaL1sgV4DOysNHB0qnorJhikAwWMgjBOxFFrtV+gWlAaFa
mB95TH3vA5wLipWfQuvWZ/++eDMP3fP8MxDiers93E5KfnnFAS2DPZpT36FSwiEn
WLsE6nG3IMn2/+6zF0LEMvBHCAsL9EnQKY9rw5DcyQkLmTDc85vCp3xaw0vSq0qx
A2njH6frCHBaeB8=
=H53X
-----END PGP SIGNATURE-----

Reply via email to