Bug#1077031: dh-make-perl: Create template for debian/changelog with urgency=medium
Joenio Marques da Costa
joenio at joenio.me
Thu Jul 25 13:02:06 BST 2024
Package: dh-make-perl
Version: 0.124
Severity: normal
Dear Maintainer,
In 2014 a thread [1] on the Debian Perl Mailing List was created to
discuss if dh-make-perl must be changed or not to reflect the
recommendation made by the Debian Release Team in 2014 to use
urgency=medium for all the unstable uploads.
The discussion concluded that the dh-make-perl is doing the right thing
creating the debian/changelog with urgency=low because the delay in days
for new packages not yet in testing is 10 days.
The "developers-reference - 6.3. Best practices" [2] recommends to set
the urgency=medium for all unstable uploads, what is followed by tools
such as dh_make but not by dh-make-perl, I think that it can be a source
of confusion, having "similar" tools with different behaviors.
In practical ways AFAIK there is no practical difference in setting
urgency=low or urgency=medium on debian/changelog due to the fact that
the delay in days for new uploads not yet in testing is 10 days,
doesn't matter the value defined by urgency.
However it can be a source of misunderstanding because other tools such
as the dh_make creates the debian/changelog with urgency=medium, what is
in conformance with the developers-reference as well.
I think it would be good to change dh-make-perl to create the
debian/changelog with urgency=medium and to keep it in conformance with
what is suggested as good practice by the developers-reference, even if
it has no practical effect I think it's the right thing to do to avoid
misunderstandings.
I dig into the dh-make-perl source code and I've found the place where
it can be changes, it doesn't look a big change but I suppose this
change will break some automated tests. I can spend more time on it to
update the automated tests related to this change if you the maintainers
are ok with that change.
```diff
diff --git a/lib/DhMakePerl/Command/make.pm b/lib/DhMakePerl/Command/make.pm
index 0ba07f6..e70791e 100644
--- a/lib/DhMakePerl/Command/make.pm
+++ b/lib/DhMakePerl/Command/make.pm
@@ -561,7 +561,7 @@ sub create_changelog {
my $closes = $bug ? " (Closes: #$bug)" : '';
my $changelog_dist = $self->cfg->pkg_perl ? "UNRELEASED" : "unstable";
- $fh->printf( "%s (%s) %s; urgency=low\n",
+ $fh->printf( "%s (%s) %s; urgency=medium\n",
$self->srcname, $self->pkgversion, $changelog_dist );
$fh->print("\n * Initial release.$closes\n\n");
$fh->printf( " -- %s %s\n", $self->get_developer,
```
[1] https://lists.debian.org/debian-perl/2014/03/msg00048.html
[2] https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#best-practices-for-debian-changelog
Thanks for your attention,
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing'), (100, 'bullseye-fasttrack'), (100, 'bullseye-backports-staging')
Architecture: amd64 (x86_64)
Kernel: Linux 6.7.12-amd64 (SMP w/8 CPU threads; PREEMPT)
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-perl depends on:
ii debhelper 13.15.3
ii dpkg-dev 1.22.6
ii fakeroot 1.33-1
ii libapt-pkg-perl 0.1.40+b3
ii libarray-unique-perl 0.09-1
ii libclass-accessor-perl 0.51-2
ii libconfig-ini-perl 1:0.029-1
ii libconfig-model-dpkg-perl 3.004
ii libdebian-source-perl 0.124
ii libdpkg-perl 1.22.6
ii libemail-address-xs-perl 1.05-1+b2
ii libemail-date-format-perl 1.008-1
ii libfile-which-perl 1.27-2
ii liblist-moreutils-perl 0.430-2
ii libmodule-depends-perl 0.16-5
ii libpod-parser-perl 1.67-1
ii libsoftware-license-perl 0.104006-1
ii libtie-ixhash-perl 1.23-4
ii libwww-mechanize-perl 2.18-1
ii libwww-perl 6.77-1
ii libyaml-libyaml-perl 0.89+ds-1
ii libyaml-perl 1.31-1
ii make 4.3-4.1
ii perl 5.38.2-5
Versions of packages dh-make-perl recommends:
ii apt-file 3.3
ii git 1:2.43.0-1
ii libmodule-build-perl 0.423400-2
ii libsys-cpu-perl 0.61-3+b2
ii pristine-tar 1.50+nmu2
dh-make-perl suggests no packages.
-- no debconf information
More information about the pkg-perl-maintainers
mailing list