Google 그룹스는 더 이상 새로운 유즈넷 게시물 또는 구독을 지원하지 않습니다. 과거의 콘텐츠는 계속 볼 수 있습니다.

[perl #40861] [CAGE] - add a Perl::Critic policy to look for FIXME|TODO|XXX

조회수 8회
읽지 않은 첫 메시지로 건너뛰기

Paul Cochrane

읽지 않음,
2006. 11. 13. 오전 9:31:4006. 11. 13.
받는사람 bugs-bi...@rt.perl.org
# New Ticket Created by Paul Cochrane
# Please include the string: [perl #40861]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40861 >


The t/codingstd/fixme.t test only looks in C-language files for
FIXME|TODO|XXX comments. It would therefore be good for the
t/codingstd/perlcritic.t test to check for these comments in the Perl
source files.

Chris Dolan

읽지 않음,
2006. 11. 13. 오후 7:26:0106. 11. 13.
받는사람 perl6-i...@perl.org, bugs-bi...@rt.perl.org

There is a policy on CPAN to do this:
http://search.cpan.org/~petdance/Perl-Critic-Bangs-0.22/
ProhibitFlagComments.pm

Chris

--
Chris Dolan, Software Developer, Clotho Advanced Media Inc.
608-294-7900, fax 294-7025, 1435 E Main St, Madison WI 53703
vCard: http://www.chrisdolan.net/ChrisDolan.vcf

Clotho Advanced Media, Inc. - Creators of MediaLandscape Software
(http://www.media-landscape.com/) and partners in the revolutionary
Croquet project (http://www.opencroquet.org/)


Will Coleda

읽지 않음,
2006. 11. 13. 오후 8:14:2306. 11. 13.
받는사람 Chris Dolan, Andy Lester, perl6-internals List, bugs-bi...@netlabs.develooper.com
Andy, would you accept a patch for this to optionally allow things like:

FIXME (#40123)

but not:

FIXME

Which would allow us to let this slide if someone already opened a
ticket on it? (Probably want to specify the option as an RE)

--
Will "Coke" Coleda
wi...@coleda.com


Andy Lester

읽지 않음,
2006. 11. 13. 오후 8:24:1806. 11. 13.
받는사람 Will Coleda, Chris Dolan, perl6-internals List, bugs-bi...@netlabs.develooper.com

On Nov 13, 2006, at 7:14 PM, Will Coleda wrote:

> Andy, would you accept a patch for this to optionally allow things
> like:
>
> FIXME (#40123)

No, I don't want to build in exceptions.

However, how about if the RT tickets are noted as "RT #40123", which
is just as easy to find?

--
Andy Lester => an...@petdance.com => www.petdance.com => AIM:petdance


Paul Cochrane via RT

읽지 않음,
2007. 4. 1. 오전 6:07:0407. 4. 1.
받는사람 perl6-i...@perl.org
On Mon Nov 13 06:31:40 2006, ptc wrote:
> The t/codingstd/fixme.t test only looks in C-language files for
> FIXME|TODO|XXX comments. It would therefore be good for the
> t/codingstd/perlcritic.t test to check for these comments in the Perl
> source files.

Added a check for the Perl::Critic::Bangs module into t/codingstd/
perlcritic.t and if it is installed, the Bangs::ProhibitFlagComments
policy is added to the list of policies. This change was made in
r17925. All FIXME|TODO|XXX comments which have been added to RT should
be replaced with RT#<ticket number>.

Paul

새 메시지 0개