Re: Bug#907706: devscripts: Incorrect output of dcontrol
Control: reassign -1 qa.debian.org
On Fri, 2018-08-31 at 20:18 +0300, Dmitry Bogatov wrote:
> I stumbled at following behaviour of `dcontrol' utility:
As per the manpage, dcontrol is an interface to https://qa.debian.org/c
gi-bin/dcontrol . If you perform the same queries via that script
directly, then you'll receive the same result, so dcontrol appears to
be behaving exactly correctly AFAICS.
> $ dcontrol debhelper/sid
>
> Package: debhelper
> Binary: debhelper, dh-systemd
> Version: 11.3.5
[...]
> Package: debhelper
> Priority: optional
> Section: devel
> Installed-Size: 1520
> Maintainer: Joey Hess <joeyh@debian.org>
> Architecture: all
> Version: 8.1.6
>
> Here it outputs information about multiple versions of debhelper,
> including rather old ones.
Indeed.
> Next:
>
> $ dcontrol debhelper/stretch
>
>
> Nothing. Why?
Because the CGI doesn't know about stretch, quite simply. Again, try
making queries via the https://qa.debian.org/cgi-bin/dcontrol
interface, and check the list of suites available in the dropdown.
> Maybe I just do not understand what `dcontrol' is expected
> to do, but I believe two mentioned queries are rather similar:
>
> * I expect debhelper/sid report version in sid
> * I expect debhelper/stretch report version in stretch
As above, these both appears to be issues with the source data.
Regards,
Adam
Reply to: