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

Report information
The Basics
Id:
105676
Status:
open
Priority:
Low/Low

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

BugTracker
Severity:
Wishlist
Broken in:
(no value)
Fixed in:
(no value)



Subject: list of stopwords in external file
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.18-30328-1436136237-952.0-0-0@rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 222
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.
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-30328-1436136237-952.0-0-0@rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-30328-1436136237-952.0-0-0@rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-27560-1445724179-1740.105676-0-0@rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 478
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.
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-30328-1436136237-952.0-0-0@rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-30328-1436136237-952.0-0-0@rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-25512-1463855163-1830.105676-0-0@rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 350
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
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-25512-1463855163-1830.105676-0-0@rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-30328-1436136237-952.0-0-0@rt.cpan.org> <rt-4.0.18-25512-1463855163-1830.105676-0-0@rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-22846-1521476167-334.105676-0-0@rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 519
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


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.