The specific problem here is the wrong documentation of the behavior in
the manpage:

```
--release
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 
(or the name of the current development release when run under
Ubuntu).
```

The last sentence ("If there are no previous changelog entries ...") is
wrong, since under Ubuntu the "current development release" is used,
even if previous changelog entries exist (e.g. for "unstable").

Thus at the moment reading the source is the only option for determining
the behavior of the distribution resolution. A fix for the wrong
description in the man page would be very helpful!

PS: Personally I refrained from doing this work myself, since the
current implementation feels really questionable: Ubuntu users are
exposed to an incompatible implementation of "dch" and there is no way
to disable this Ubuntu-specific behavior - neither locally nor for
specific projects. This is not beautiful :(

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1721838

Title:
  dch --release does not defaulted to previous released distribution

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/devscripts/+bug/1721838/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to