Skip Menu |

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

Report information
The Basics
Id: 105676
Status: open
Priority: 0/
Queue: Dist-Zilla-Plugin-Test-PodSpelling

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

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



Subject: list of stopwords in external file
It would be great to have a list of stopwords in external file, not in dist.ini, something like this: [Test::PodSpelling] stopword_file = ./.stopword It will be easier to maintain, copy or share between several projects.
On Sun Jul 05 18:43:57 2015, VDB wrote: Show quoted text
> It would be great to have a list of stopwords in external file, not in > dist.ini, something like this: > > [Test::PodSpelling] > stopword_file = ./.stopword > > It will be easier to maintain, copy or share between several projects.
I would happily accept a patch for this. I believe the underlying test library already accepts a file of stopwords, so it'd just be a matter of plumbing that through properly into the generated test.
I looked into Test::Spelling and I can't see a way to suggest that it use a file containing stop words. Given that, I think Dist::Zilla::Plugin::Test::PodSpelling will have to slurp in a file (maybe .stopwords in the dist root) and and hand the contents off to Test::Spelling:: add_stopwords(). I'll look into a simple patch for that now. -- Chase
On Sat May 21 14:26:03 2016, CAPOEIRAB wrote: Show quoted text
> I looked into Test::Spelling and I can't see a way to suggest that it > use a file containing stop words. Given that, I think > Dist::Zilla::Plugin::Test::PodSpelling will have to slurp in a file > (maybe .stopwords in the dist root) and and hand the contents off to > Test::Spelling:: add_stopwords(). > > I'll look into a simple patch for that now. > > -- Chase
I've implemented this, see https://github.com/karenetheridge/Dist-Zilla-Plugin-Test-PodSpelling/pull/2