New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix conflict with Dist::Zilla::Plugin::PodCoverageTests #9
Fix conflict with Dist::Zilla::Plugin::PodCoverageTests #9
Conversation
|
or
It also defines the special pattern Though I still think the proper line should be included:
Meaning "for pod coverage everything in this file should be trusted". Would you like the pull request updated? |
Another option would be to simply provide some pod and, should there be any changes later that require more coverage, reconsider. Something like: diff --git a/lib/Dist/Zilla/Plugin/Conflicts.pm b/lib/Dist/Zilla/Plugin/Conflicts.pm
index 5922efd..30c0db0 100644
--- a/lib/Dist/Zilla/Plugin/Conflicts.pm
+++ b/lib/Dist/Zilla/Plugin/Conflicts.pm
@@ -127,7 +127,11 @@ package # hide from PAUSE
use strict;
use warnings;
-# this module was generated with {{ ref($plugin) . ' ' . ($plugin->VERSION || '<self>') }}
+=pod
+
+this module was generated with {{ ref($plugin) . ' ' . ($plugin->VERSION || '<self>') }}
+
+=cut
use Dist::CheckConflicts
-dist => '{{ $dist_name }}', |
I think it might be better to just provide some pod. @autarch is there
anything specific you think should go in here? I'm figuring a very simple
paragraph explaining the purpose of the module should be sufficient, and
clarification that it is for internal use only (which is why we never had
any pod to begin with).
@greencolored also note I've pushed a few commits to master, which should
fix the travis failures.
…On Thu, Sep 13, 2018 at 4:11 AM, greencoloured ***@***.***> wrote:
Another option would be to simply provide some pod and, should there be
any changes later that require more coverage, reconsider.
Something like:
diff --git a/lib/Dist/Zilla/Plugin/Conflicts.pm b/lib/Dist/Zilla/Plugin/Conflicts.pm
index 5922efd..30c0db0 100644--- a/lib/Dist/Zilla/Plugin/Conflicts.pm+++ b/lib/Dist/Zilla/Plugin/Conflicts.pm@@ -127,7 +127,11 @@ package # hide from PAUSE
use strict;
use warnings;
-# this module was generated with {{ ref($plugin) . ' ' . ($plugin->VERSION || '<self>') }}+=pod++this module was generated with {{ ref($plugin) . ' ' . ($plugin->VERSION || '<self>') }}++=cut
use Dist::CheckConflicts
-dist => '{{ $dist_name }}',
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#9 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AASfy11kvuBAJ7qVmGEoXI5cliJbRYhHks5uaj1XgaJpZM4WlNIm>
.
|
Yes, a bit of POD saying what this module is for and how it was generated would be ideal. |
@karenetheridge I pushed some changes to master that add some pod. Can you take a look? |
This looks good. The distribution hasn't been released in a while -- how do you feel about doing that? |
I just released v0.20. I will close this PR since the bug it addresses should now be fixed. |
thanks! |
This module was causing the PodCoverageTests to fail as it was being detected and did not have any pod. To fix this I've made the existing comment into a Pod exception for the file.