On 2016-02-11 16:53:53, CJM wrote:
Show quoted text> I'm not clear on exactly what's happening. Is something hanging when
> you try to install D::Z::P::MM, or do you have a dist that uses
> D::Z::P::MM and it's hanging when you try to build that dist?
The latter - Dancer (D1) to be precise - as part of our Travis CI testing, we run dzil smoke - but during that run, MatchManifest spots that I forgot to update the MANIFEST, asks if it should update it, and then simply waits until Travis times out the build - for e.g. this build:
https://travis-ci.org/PerlDancer/Dancer/jobs/108424109 - as you'll see, Jenkins executed `dzil smoke --author --release`, and during that run, MatchManifest prompted, and thus the build hung.
Show quoted text> If it's the latter, I'm not sure that $ENV{AUTOMATED_TESTING} is
> relevant, because MatchManifest isn't running a test. I think you
> would want it to just answer N and have the build fail, because you
> shouldn't commit files without updating MANIFEST. But how does it
> know that there's nobody to answer the question?
Anything run via "dzil smoke" can be assumed to be run unattended, I'd say. dzil smoke, among other things, sets $ENV{AUTOMATED_TESTING}. As Karen suggests, not prompting if being run with nobody there to prompt would make sense, I think. I'm not sure, though, if this should be addressed here, or in D::Z itself, so it makes sense for all plugins - which is why I also raised
https://github.com/rjbs/Dist-Zilla/issues/514 to discuss that.
Hope that explains it a little better?