Skip Menu |

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

Report information
The Basics
Id: 106521
Status: resolved
Priority: 0/
Queue: IO-Prompt

People
Owner: Nobody in particular
Requestors: JHI [...] cpan.org
Cc:
AdminCc:

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



Subject: test requires tty
http://cpansearch.perl.org/src/DCONWAY/IO-Prompt-0.997002/t/01.dependencies.t depends on /dev/tty, which is not nice for smoke testing. A standardish way to handle this would be to skip the test if $ENV{PERL_MM_USE_DEFAULT} is true. Or simply skip it if the -c /dev/tty fails.
Subject: Re: [rt.cpan.org #106521] test requires tty
Date: Wed, 19 Aug 2015 09:53:34 +1000
To: bug-IO-Prompt [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Hi Jarkko, Great to hear from you. I'm sorry that it's because I'm being a nuisance. ;-) I'm no longer actively maintaining IO::Prompt (having released a much better successor to it: IO::Prompter). What would you recommend in that case: an "unmaintenance" release just to satisfy the smokehouse? Or should I remove the module from CPAN entirely (i.e. the "Let them eat BackPAN!" approach)? I'd be grateful for your advice. Damian
Subject: Re: [rt.cpan.org #106521] test requires tty
Date: Tue, 18 Aug 2015 20:22:39 -0400
To: bug-IO-Prompt [...] rt.cpan.org, JHI [...] cpan.org
From: Jarkko Hietaniemi <jhi [...] iki.fi>
On Tuesday-201508-18 20:01, damian@conway.org via RT wrote: Show quoted text
> <URL:https://rt.cpan.org/Ticket/Display.html?id=106521 > > > Hi Jarkko, > > Great to hear from you. I'm sorry that it's because I'm being a nuisance. > ;-) > I'm no longer actively maintaining IO::Prompt (having released a much > better successor to it: IO::Prompter). What would you recommend in that > case: an "unmaintenance" release just to satisfy the smokehouse? Or > should I remove the module from CPAN entirely (i.e. the "Let them eat > BackPAN!" approach)?
Good question. But either way, I will have to deal with it... the thing is, I'm also stuck using it (Hysterical Raisins) at least until someone (else) migrates to, say, IO::Prompter (I have Dependencies). So if it goes to backpan, I'll have to fetch it from there, and work around the /dev/tty issue. (Say, damn the torpedoes and do a force install.) So I would perhaps lean towards the unmaintenance option. Just a skip_all if ! -c "/dev/tty" (and maybe also if ! -t STDIN, to be extra paranoid) ? Show quoted text
> I'd be grateful for your advice.
Subject: Re: [rt.cpan.org #106521] test requires tty
Date: Wed, 19 Aug 2015 10:39:59 +1000
To: bug-IO-Prompt [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Well, the last thing I'd want to do is make *your* life harder, so the "unmaintenance" option (with the extra paranoia) it shall be. :-) Damian
Resolved by removing test