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: 78962
Status: open
Priority: 0/
Queue: Dist-Zilla

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

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



Subject: authordeps should not output filtered modules
Download (untitled) / with headers
text/plain 596b
Test::Kwalitee will not install on Windows, because Module::Signature won't. Test::EOL doesn't install cleanly, either. So when I wanted to use [@TestingMania] in my distribution, I figured I'd just filter out the uninstallable modules do a forced install: [@Filter] -bundle = @TestingMania -remove = Test::Kwalitee -remove = Test::EOL However, even with this in my dist.ini, running `dzil authordeps` still outputs all of the modules that I can't install. I can no longer use the simple `dzil authordeps | cpanm` command, because it was always try to install modules that will never work.
Download (untitled) / with headers
text/plain 1.4k
I have good news and bad news. Bad news first. As the developer who last touched the `dzil authordeps` part of DZil, I can tell you that your request will probably not be satisfied. `dzil authordeps` is just a hack that does not have the full plugin power. By design it will never be able to match all what plugins do, so nobody plans to improve on that. Anyway, what you're asking for is impossible. Just because "dzil authordeps" doesn't do what you say it does. If I put just this in dist.ini: --------8<--------8<-------- [@Filter] -bundle = @TestingMania --------8<--------8<-------- dzil authordeps will output: --------8<--------8<-------- Dist::Zilla::PluginBundle::Filter Dist::Zilla::PluginBundle::TestingMania --------8<--------8<-------- Test::Kwalitee and Test::EOL never appear in that list. So the fact that Test::EOL and Test::Kwalitee are asked to be installed on your machine is not authordeps fault: this is the CPAN client that tries to install TestingMania and sees in that distribution that Test::EOL and Test::Kwalitee are required as dependencies. This is completely independent of your dist.ini content. However I still have good news: - I fixed Test::EOL today and version 1.5 has been released. For details see https://github.com/bobtfish/test-eol/pull/2 - Module::Signature works fine on my side on Win32. Do you have gpg.exe installed? If not install it from http://gpg4win.org/ -- Olivier Mengué - http://perlresume.org/DOLMEN
Download (untitled) / with headers
text/plain 385b
Show quoted text
> Anyway, what you're asking for is impossible. Just because "dzil > authordeps" doesn't do what you say it does.
Good to know. Show quoted text
> - I fixed Test::EOL today and version 1.5 has been released.
Works like a charm! Show quoted text
> - Module::Signature works fine on my side on Win32. Do you have gpg.exe > installed? If not install it from http://gpg4win.org/
Thanks for the tip! I didn't have that.


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.