Skip Menu |
 

This queue is for tickets about the IO-Socket-SSL CPAN distribution.

Report information
The Basics
Id: 107414
Status: rejected
Priority: 0/
Queue: IO-Socket-SSL

People
Owner: Nobody in particular
Requestors: gilles.lamiral [...] laposte.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Remove/change external tests blocking question?
Date: Tue, 29 Sep 2015 22:06:26 +0200
To: bug-IO-Socket-SSL [...] rt.cpan.org
From: Gilles LAMIRAL <gilles.lamiral [...] laposte.net>
Download (untitled) / with headers
text/plain 739b
Hello, I often upgrade IO::Socket::SSL and many other Perl modules on Windows systems via cpan. It's part of a general upgrade and compilation batch process, taking time. Basically I use the command: perl -MCPAN -e "install IO::Socket::SSL" IO::Socket::SSL installation process asks every time if it has to run the external tests. It is a blocking question. Could it be possible to remove this blocking question and make it a configuration option that is not blocking by default. If not, is it possible to answer this question by configuration one time for all? Or maybe on the command line? Big thanks in advance. -- Au revoir, 09 51 84 42 42 Gilles Lamiral. France, Baulon (35580) 06 20 79 76 06
Download (untitled) / with headers
text/plain 795b
On 2015-09-29 13:06:42, gilles.lamiral@laposte.net wrote: Show quoted text
> IO::Socket::SSL installation process asks every time if it has > to run the external tests. It is a blocking question. > > Could it be possible to remove this blocking question and make it > a configuration option that is not blocking by default. > > If not, is it possible to answer this question by configuration > one time for all? Or maybe on the command line?
The prompt is appearing because you are running the installation interactively. If you use a non-interactive cpan client such as cpanm, you will not be prompted. Additionally, you can avoid the prompt by setting PERL_MM_USE_DEFAULT=1 in your environment. From inspection of Makefile.PL, it also shows that you can avoid the prompt by setting NO_NETWORK_TESTING=1.
Download (untitled) / with headers
text/plain 339b
Am Di 29. Sep 2015, 17:25:52, ETHER schrieb: Show quoted text
> > The prompt is appearing because you are running the installation > interactively. > ....
Thanks for pointing out that this is the expected behavior in interactive mode and that it does not happen in non-interactive mode. Since this is not a bug but the expected behavior I close this bug.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.