Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Dist-Zilla CPAN distribution.

Report information
The Basics
Id: 59067
Status: stalled
Priority: 0/
Queue: Dist-Zilla

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

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



Subject: `yes | dzil release` no longer works
Date: Fri, 2 Jul 2010 23:36:10 +0000
To: bug-dist-zilla [...] rt.cpan.org
From: Ævar Arnfjörð Bjarmason <avar [...] cpan.org>
"yes | dzil release" now prompts again in the latest version (4.101830). This is a regression that was fixed before but it's now broken again.
Subject: Re: [rt.cpan.org #59067] AutoReply: `yes | dzil release` no longer works
Date: Tue, 6 Jul 2010 18:20:38 +0000
To: bug-Dist-Zilla [...] rt.cpan.org
From: Ævar Arnfjörð Bjarmason <avar [...] cpan.org>
This broke when Term::UI was introduced. Unlike the old dzil it doesn't handle input on stdin: use Term::UI; use Term::ReadLine; my $term = Term::ReadLine->new('brand'); my $bool = $term->ask_yn( prompt => 'Do you like cookies?', default => 'y', ); Not using it if STDIN is open would work as a workaround, I think.
I am open for patches (with tests) for this, but am unlikely to get to this myself. This may be obvious given how long this ticket has been untouched… -- rjbs