Bug#883606: libdancer2-perl: _version_check gives unhelpful advice

Dominic Hargreaves dom at earth.li
Tue Dec 5 16:38:36 UTC 2017


Package: libdancer2-perl
Version: 0.205002+dfsg-1

On Tue, Dec 05, 2017 at 11:26:37AM -0500, Steve Dondley wrote:
> Hi, thanks for getting back.
> 
> I got the message from Dancer 2 after running a command to install a sample
> App:
> 
> steve at nginxdancer:/var/www/html$ sudo dancer2 -a MyWeb::App
> 
> The latest stable Dancer2 release is 0.205002, you are currently using
> 0.204002.
> Please check http://search.cpan.org/dist/Dancer2/ for updates.

On Tue, Dec 05, 2017 at 05:28:27PM +0100, Emmanuel Seyman wrote:
> * Dominic Hargreaves [05/12/2017 16:15] :
> >
> > I am interested to hear that Dancer itself tells you about newer versions.
> > Can you clarify where you are seeing this? If it's the software itself,
> > it might be appropriate for us to modify the package to give Debian-specific
> > advice.
> 
> The function _version_check in Dancer2::CLI::Command::gen checks CPAN to
> see if a newer version is available.
> 
> http://cpansearch.perl.org/src/CROMEDOME/Dancer2-0.205002/lib/Dancer2/CLI/Command/gen.pm

I think this is unhelpful[1] behaviour for a perl module in Debian and
should be disabled. (It is also arguably privacy-infringing if the user
does not expect that command to make external HTTP calls).

Dominic.

[1] <https://lists.debian.org/debian-perl/2017/12/msg00004.html>



More information about the pkg-perl-maintainers mailing list