FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 05-07-2010, 01:43 PM
Jonathan Yu
 
Default Bug#580533: ITP: libtest-notabs-perl -- module for scanning for hard tabs in files

On Fri, May 7, 2010 at 2:11 AM, Yves-Alexis Perez <corsac@debian.org> wrote:
> On jeu., 2010-05-06 at 12:26 -0400, Jonathan Yu wrote:
>> Test::NoTabs is a Perl test module that scans your project/distribution for
>> any Perl files (scripts, modules, etc) that contain hard tabs (the , or
>> 0x09) character. Tabs can render with slightly different width depending on
>> the author's environment, so it's best to use spaces instead.
>
> Do we really need a perl module for that?
Not sure if we do, but upstream modules certainly do. I should've
mentioned that this package is needed for MojoMojo (libmojomojo-perl)
currently, though I have been working with upstream so it will no
longer be a hard dependency in future releases.

At this point, I'm fine whether or not the ftp-master accepts it. I
have no personal attachment to this module, so I have no problem
withdrawing the ITP if enough people think I should do so.
> --
> Yves-Alexis
>


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: v2td1b732a71005070643ya2cf45b8l6a27df812523e172@ma il.gmail.com">http://lists.debian.org/v2td1b732a71005070643ya2cf45b8l6a27df812523e172@ma il.gmail.com
 
Old 05-07-2010, 01:52 PM
Jonathan Yu
 
Default Bug#580533: ITP: libtest-notabs-perl -- module for scanning for hard tabs in files

On Fri, May 7, 2010 at 2:18 AM, Russ Allbery <rra@debian.org> wrote:
> Yves-Alexis Perez <corsac@debian.org> writes:
>> On jeu., 2010-05-06 at 12:26 -0400, Jonathan Yu wrote:
>
>>> Test::NoTabs is a Perl test module that scans your project/distribution
>>> for any Perl files (scripts, modules, etc) that contain hard tabs (the
>>> , or 0x09) character. Tabs can render with slightly different width
>>> depending on the author's environment, so it's best to use spaces
>>> instead.
>
>> Do we really need a perl module for that?
>
> Well, it would be better to integrate the test in with something else,
> ideally, but I saw the ITP and thought "hm, that might be useful to start
> using with all my Perl projects." *Checking a file for lack of tabs is
> relatively easy, but locating all the Perl stuff in a source tree is a bit
> trickier, and rolling those two things together so that one can write a
> one- or two-line test is fairly useful.
>
> It would be nice if that, Test::Pod, Test::Fixme, Test::Synopsis,
> Test::MinimumVersion, and piles of other similar modules could be rolled
> together into one distribution. *But that's really an upstream problem.

For the record, Test::Pod is actually a pretty complex module.
(Correction: I was going to say this, but I just did a sloccount to
verify it, and it's only 112 lines of Perl code... interesting)

Perl is very much maintained by a bunch of different people, so having
one upstream package wouldn't work very well. Test::Pod is considered
fairly stable now and doesn't often have new releases, however, I
believe Test::Synopsis and Test::MinimumVersion are newer modules.

We could, I suppose, bundle these tests together in Debian, but it
opens a whole new can of worms. What would we call the package? How
would we decide what goes in there? Is it worth it to reduce the
Packages.gz file? (What other positive benefit would such a situation
provide, except to appease those who seem to hate new software being
added to Debian?)
>
> --
> Russ Allbery (rra@debian.org) * * * * * * * <http://www.eyrie.org/~eagle/>
>
>
> --
> To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/87bpcsgrq8.fsf@windlord.stanford.edu
>
>


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: i2qd1b732a71005070652j5246996bs92313d635a7ab16d@ma il.gmail.com">http://lists.debian.org/i2qd1b732a71005070652j5246996bs92313d635a7ab16d@ma il.gmail.com
 

Thread Tools




All times are GMT. The time now is 10:41 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org