Package: devscripts
Version: 2.19.6
Severity: normal

When running dhc on Ubuntu with --release, it uses the upcoming ubuntu
version (eoan currently), rather than unstable as the distribution name
to put into the changelog. It took me a while to figure out that dch was doing
this, since this exception is undocumented.

The code has:

    if ($vendor eq 'Ubuntu') {
        # In Ubuntu the development release regularly changes, don't just copy
        # the previous name.
        $DISTRIBUTION = get_ubuntu_devel_distro();
    } else {
        $DISTRIBUTION = $changelog->{Distribution};
    }

(From 
https://salsa.debian.org/debian/devscripts/blob/master/scripts/debchange.pl#L700-706)

But the manpage says:

       --release, -r
              Finalize  the  changelog for a release.  Update the
              changelog timestamp. If the distribution is set to
              UNRELEASED, change it to the distribuā€ tion from the
              previous changelog entry (or another distribution as
              specified by --distribution).  If there are no previous
              changelog  entries and an explicit distribution has not
              been specified, unstable will be used.

Without mentioning this exception.

Gr.

Matthijs

Reply via email to