Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Perl-PrereqScanner CPAN distribution.

Report information
The Basics
Id: 76285
Status: rejected
Priority: 0/
Queue: Perl-PrereqScanner

People
Owner: Nobody in particular
Requestors: xenoterracide [...] gmail.com
Cc:
AdminCc:

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



Subject: explicit prereq skip
Date: Tue, 3 Apr 2012 13:27:41 -0500
To: bugs-perl-prereqscanner [...] rt.cpan.org
From: Caleb Cushing <xenoterracide [...] gmail.com>
for author/release tests int dzil it would be nice to be able to do use Test::Foo; however prereqscanner automatically detects these and adds them as test requirements. Since they are only run by authors they shouldn't be added as such. perhaps we could add a syntax to alert prereqscanner to ignore dep X maybe we could have one of the following in the file... # PREREQ_SKIP: Test::EOL [13:16] <doy> use # hide from Perl::PrereqScanner\n Test::EOL; might be more familiar to people, as a parallel to how you hide package declarations from pause I'm indifferent to syntax, but it'd be nice to have a solution. The problem is that it's easy to skip these explicitly when you're adding them, but there's no way to make the plugins tell people who might not be thinking that /reading documentation that they're adding them -- Caleb Cushing http://xenoterracide.com
I think the problem is that prereqs can come from a bunch of different scanners, and I think it will be a losing prospect to try to make them all have a mechanism for this. An alternative idea is to make a kind of scanner that can run last and remove prereqs… but I think that will get weird, too. Anyway, in three years this hasn't come up again and nobody has proposed a patch, so while I understand the idea behind the request, I'm rejecting the ticket. -- rjbs