Re: Revert use_ok() change to allow lexical effects?

2012-04-11 Thread Smylers
this in a module: succeed, rather than succeeded. Cheers Smylers

Re: camels

2010-01-03 Thread Smylers
no longer specific to Perl QA; perhaps the perl-qa list doesn't need to included on Perl-wide logo discussions? Smylers -- http://twitter.com/Smylers2

Cpan Dist Layout Issue

2009-05-15 Thread Smylers
.html Any thoughts? Smylers

Re: Cpan Dist Layout Issue

2009-05-15 Thread Smylers
that isn't in PMLIBDIRS? Smylers

Re: Cpan Dist Layout Issue

2009-05-15 Thread Smylers
David Golden writes: On Fri, May 15, 2009 at 12:11 PM, Smylers smyl...@stripey.com wrote: That Perl has this QA thing which tells you which platforms a module will work on but that doesn't actually mean it'll install only adds to external perceptions of Perl being confusing

Re: TAP::Data or TAPx::Data?

2009-02-11 Thread Smylers
Andy Armstrong writes: On 11 Feb 2009, at 13:50, Smylers wrote: O TAP::Struct? +0 - in the sense that it's fine by me - but I can still imagine a better noun even if I can't think what it is :) +1 to Andy's comment on my suggestion! Smylers

Re: [PATCH] ExtUtils::MakeMaker and world writable files in dists

2008-11-13 Thread Smylers
guessing you tried it as you, thereby not triggering the behaviour). Requiring root privs for the last step of installation is common, so I guess it's fairly common for some people to do all the steps as root (however inadvisable that is). Smylers

Re: [PATCH] ExtUtils::MakeMaker and world writable files in dists

2008-11-13 Thread Smylers
people's names. Smylers

Re: [PATCH] ExtUtils::MakeMaker and world writable files in dists

2008-11-13 Thread Smylers
are no longer a common carrier. This is a whole different ball game. Indeed. But if Cpan is only _like_ a common carrier, then it never actually had common carrier protection in law in the first place -- so surely it can't lose it? Smylers

Re: [PATCH] ExtUtils::MakeMaker and world writable files in dists

2008-11-13 Thread Smylers
Michael G Schwern writes: Smylers wrote: you're talking about Cpan being something morally equivalent to a common carrier, rather than an actual common carrier in the legal sense? Yes, because we are not lawyers I don't even want to approach arguing about the legal definition

Re: [PATCH] ExtUtils::MakeMaker and world writable files in dists

2008-11-13 Thread Smylers
Michael G Schwern writes: Smylers wrote: I have lying around a prototype for the CPAN shell to warn the user when they run it as root and offer to reconfigure itself to only su for the install. That would help plug the hole. Yeah, that sounds good. But only for users

Re: Generic test database

2008-10-10 Thread Smylers
David Cantrell writes: Smylers wrote: It sounds scary to me. If I'm just installing a Perl module from Cpan on a newly installed OS, which happens to still have default DB connection permissions, I wouldn't expect the module's tests to start making use of the DB without asking

Re: Generic test database

2008-10-09 Thread Smylers
Greg Sabino Mullane writes: ... I suppose it could also be somewhat easy to try out a few series of basic/default credentials on localhost for engines like MySQL and Postgres, and try to setup a test database from there. That sounds more interesting. It sounds scary to me. If I'm just

Re: [RFC] Dealing with World-writable Files in the Archive of CPAN Distributions

2008-09-23 Thread Smylers
, as intended. Whereas a umask of 0022 would leave the files not group-writeable, so you would have to specifically chmod them each time. That's irritating. Having 0002 is more convenient, and, so long as your default group is one with only you in it, not a security risk. Smylers

Re: TODO Tests

2008-05-12 Thread Smylers
starts returning 4, then surely you can do that with a non-TODO test which checks for its being 3? Then, when the TODO is done you can remove that test entirely (while also removing the TODO marker from the check for 1)? Smylers

Re: Test::Most::EXIT()

2008-04-23 Thread Smylers
into a library, which then broke something which used that library. The code was completely under our control; we were able to fix it. But it'd've been good to have a test; perhaps that would've stopped the die handler being committed like that in the first place. Smylers

Re: [tap-l] User Supplied YAML Diagnostic Keys: Descriptive Version

2008-04-19 Thread Smylers
by somebody else for a different purpose, which could cause problems if your systems later get used together. You can reduce the risk of name clashes by starting all your keys with a standard prefix or your organization or project name (or something else likely to be unique). Smylers

Re: Keeping tests for execution at a later point in time

2008-04-10 Thread Smylers
Perl modules were installed as RPMs or Debian packages, not by CPAN.pm from tarballs. Smylers

Re: User Supplied YAML Diagnostic Keys

2008-04-07 Thread Smylers
privacy would seem less confusing. Smylers

Re: CPANTesters considered harmful

2008-03-03 Thread Smylers
work out which user to do it as. Smylers

Re: CPANTesters considered harmful

2008-03-03 Thread Smylers
Brad Oaks writes: On Mon, Mar 3, 2008 at 9:19 AM, Smylers [EMAIL PROTECTED] wrote: demerphq writes: It turned out the problem is that when the tests are root it seems to be not possible to create a directory that is not writeable by root. I think that can be reduced

.perldb (Was: Re: Debugger: stopping in caller)

2008-02-28 Thread Smylers
as to what's possible. I use the debugger only infrequently, but perhaps with some tweaked config I'd be inclined to use it more. Any chance of a 'Me and My .perldb' (lightning) talk somewhere? Smylers

Re: Why not run a test without a plan?

2007-12-04 Thread Smylers
were in the light of this other change. Smylers

Re: Providing command-line arguments to tests run via 'prove'

2007-11-29 Thread Smylers
'that's the end of my own arguments' neatly avoids all of these issues. Smylers

Re: Providing command-line arguments to tests run via 'prove'

2007-11-29 Thread Smylers
. In fact, it normally means stop processing the following as switches and instead treat them as files. Or possibly, it means stop processing the following as switches. Which is what it does mean in this case. Smylers

Re: Providing command-line arguments to tests run via 'prove'

2007-11-28 Thread Smylers
But is it doing harm? There are quite a few commands which use -- to mean 'end of options; what follows is data' (where data can (and often does mean) options to pass opaquely to another command being invoked). Smylers

Re: Providing command-line arguments to tests run via 'prove'

2007-11-28 Thread Smylers
from other options, it works well as a divider, making it more obvious that _everything_ that follows is distinct from that which went before, rather than it just being like a 'normal' option, where what follows are also options. Smylers

Re: Running CPAN as a regular user, installing as root

2007-10-18 Thread Smylers
restrictions is because you don't completely trust all of your users. Smylers

Re: Win32:GuiTest

2007-09-01 Thread Smylers
know nothing about it, but given it's a module for use with testing it seems on-topic for this list. Smylers

Re: a standard place for extra tests

2007-08-17 Thread Smylers
starting with 't' would get annoying as far as tab-complete goes. You'd only have to type 2 characters for the new directory name, and t itself would obviously remain a single character that doesn't even require pressing Tab. Smylers

Re: a standard place for extra tests

2007-08-17 Thread Smylers
Eric Wilhelm writes: # from Smylers # on Thursday 16 August 2007 11:40 pm: I am certain that more than one 'extra tests' directory is needed, Why are you certain of this? Because I already have a use for three 'profiles' in one project and I can name a few others from elsewhere

Re: [tapx-dev] Tracking tests over time

2007-07-12 Thread Smylers
to the tracker the pattern that matches your format of IDs from the descriptions; for the above example that'd be: qr/\(bug \d+\)/ Smylers

Re: The price of synching STDOUT and STDERR

2007-03-14 Thread Smylers
at the moment? Smylers

Re: nested groups in TAP

2007-03-12 Thread Smylers
by the number a version with which it is compatible (ideally the lowest such version, but it'll still work even if not). Then something reading that stream knows that if it supports the version number in question it will be able to understand the stream, and that otherwise it should give up. Smylers

Re: TAPx::Parser - TAP::Parser?

2007-03-05 Thread Smylers
of minimizing the number of people who have to cope with the change. Smylers

Re: Test::Harness 3.0

2007-01-23 Thread Smylers
Eric Wilhelm writes: # from Smylers # on Sunday 21 January 2007 11:50 pm: Eric Wilhelm writes: If that isn't enough, I suppose you could do if the env var is an executable, run it and capture the output? Nice -- so that if you manage to trick somebody into setting

Re: Test::Harness 3.0

2007-01-22 Thread Smylers
to run any code you want the next time they install a Cpan module that doesn't explicitly set this variable? Smylers

Re: Test::Builder feature request

2007-01-11 Thread Smylers
an action which absolutely cannot be run in a test environment, thereby making more of the application testable. Smylers

Re: CPAN code searches

2006-11-03 Thread Smylers
Michael G Schwern writes: A few people have asked how I do my CPAN scans. I keep a minicpan handy and have a little script called grep_cpan ... http://schwern.org/src/grep_cpan 404. But this works: http://www.schwern.org/~schwern/src/grep_cpan Smylers

Re: TAP 2.0

2006-10-01 Thread Smylers
peculiar tastes! Smylers

Re: A Suitable Iterator for TAPx::Parser

2006-09-20 Thread Smylers
overjealous checking spots that it's a reference and declines to stringify it. If you get a reference to a blessed object and that object has overloaded stringification then please just treat it as a string, not a reference. Smylers

Re: Breaking compatability with Test::Harness and friends?

2006-09-17 Thread Smylers
. Smylers

Re: TAP ain't Test All Perl

2006-08-23 Thread Smylers
Perl then probably quite a few folks are reading your output. Smylers

Re: Idea for updating the plan

2006-08-10 Thread Smylers
for the active buffer. Very handy to know about. Indeed: :!cvs dif % :lcd %:h Smylers

Re: $parser-unexpectedly_succeeded;

2006-07-27 Thread Smylers
David Landgren writes: Ovid wrote: if ( $result-unexpectedly_succeeded ) { ... } todo_succeeded That sounds good to me. Smylers

Re: TAP diagnostic syntax proposal

2006-07-13 Thread Smylers
David Landgren writes: Expected and actual has a long tradition in scientific endeavour, They strike me as the teams most intuitively recognizable and least open to misinterpretation. Smylers

Re: TAP diagnostic syntax proposal

2006-07-13 Thread Smylers
demerphq writes: On 7/12/06, Smylers [EMAIL PROTECTED] wrote: David Landgren writes: Expected and actual has a long tradition in scientific endeavour, And are still sucky as they are different lengths meaning the two outputs are offset on the screen making it harder to see

Re: fetching module version from the command line

2006-07-13 Thread Smylers
'-VERSION || die No VERSION in '$1'\n' I think that calling -VERSION is more correct. So do I. In fact I used to use $VERSION in my script, but changed to -VERSION after some situation in which it worked and $VERSION didn't. Sorry, I can't right now remember what that was. Smylers

Re: fetching module version from the command line

2006-07-13 Thread Smylers
Fergal Daly writes: On 12/07/06, Smylers [EMAIL PROTECTED] wrote: I have this one-liner as ~/bin/pmv: #! /bin/sh perl -m$1 -le 'print '$1'-VERSION || die No VERSION in '$1'\n' These all fail for modules that do interesting things. For example Test::NoWarnings performs a Test

Re: CPANTS is not a game.

2006-05-23 Thread Smylers
it. ... How do you get authors to actually look at the CPANTS information and make corrections? Well, we like competition. Make it a game! So it was you -- or somebody impersonating you on this list -- who managed to persuade me that actually Cpants being a game was a good thing! Smylers

Re: Binary distributions

2006-05-03 Thread Smylers
::GeneratePassword then wait for cpan-libcrypt-generatepassword-perl_0.03-1_all.deb to spring into existence. Smylers

Re: Non-Perl TAP implementations

2006-04-18 Thread Smylers
on implementation details. Smylers

Re: Module requirements

2006-04-05 Thread Smylers
. Um, surely File::Find and Memoize are already in the core? Smylers

Re: getting round Test::More test formatting trickiness

2006-03-15 Thread Smylers
the @ key to do as many lines as you want. Smylers

Re: Surprising use_ok false positive

2006-03-06 Thread Smylers
that seems a reasonable thing for use_ok to do itself: if you want to test that the specified module can actually load right now then you don't the results to be contaminated with what might've gone before. Smylers

Re: Binary distributions

2006-02-06 Thread Smylers
matter: Perl dependencies are on modules, not on distributions. And the names of the modules didn't change when the package was named differently. If this is confusing ActiveState then that sounds like a bug in their system. Smylers

Re: Binary distributions

2006-02-06 Thread Smylers
what the heuristic is ... Smylers

Re: [Module::Build] [RFC] author tests

2006-02-03 Thread Smylers
version). Smylers

Re: Module::Install (Was: YAML and Makefile.PL)

2006-01-30 Thread Smylers
place ... Smylers

Re: First (developers) Release of Test::Shlomif::Harness

2005-11-06 Thread Smylers
into working with it somehow. 6. I had done a lot of refactoring and revamp and broke a lot of the interface. Sure; that's quite reasonable. But again, it doesn't preclude compatibility now being added. Best wishes Smylers -- May God bless us with enough foolishness to believe that we can make

Re: Test::More Test::Builder::Tester

2005-10-08 Thread Smylers
Michael G Schwern writes: I'm absorbing Test::Builder::Tester into the Test-Simple distribution. Thank you for doing this -- a practical way of sorting out the situation. Smylers -- May God bless us with enough foolishness to believe that we can make a difference in this world, so that we can

Re: Plugging CPANTS

2005-09-20 Thread Smylers
to talk about it being an acronym, it should be: CPANTS is an acronym for CPAN Testing Service. -- cos there you're talking about the words rather than about the entities. Smylers -- May God bless us with enough foolishness to believe that we can make a difference in this world, so that we can

Re: New kwalitee test, has_changes

2005-09-16 Thread Smylers
dists. As others have pointed out, ChangeLog is also popular and given special treatment by Cpan Search; please allow CHANGES or ChangeLog. Smylers -- May God bless us with enough foolishness to believe that we can make a difference in this world, so that we can do what others claim cannot

Re: Sub::Uplevel

2005-09-10 Thread Smylers
going to have to track down what's really causing that, Sounds like a cunning plan by the Sub::Uplevel author to get you to add that module as a prereq for all yours, thereby increasing his kwalitee. Smylers -- May God bless us with enough foolishness to believe that we can make a difference

Re: Devel::Cover Problem: testing || for a default value.

2005-07-15 Thread Smylers
Michael G Schwern writes: On Tue, Jul 12, 2005 at 07:45:35AM +, Smylers wrote: A good way of putting assumptions into code is with (Michael's excellent) Carp::Assert: assert $p || $q, 'Either $p or $q must be supplied' if DEBUG; While I get where you're going, I don't see

Re: Devel::Cover Problem: testing || for a default value.

2005-07-12 Thread Smylers
, so you could make the assumption explicit with an assertion. Or perhaps something like Params::Validate would be better. Smylers -- May God bless us with enough foolishness to believe that we can make a difference in this world, so that we can do what others claim cannot be done.

Re: AnnoCPAN and a wiki POD idea

2005-07-12 Thread Smylers
-- or possibly on module-authors, which might be even more on-topic than this list. Smylers -- May God bless us with enough foolishness to believe that we can make a difference in this world, so that we can do what others claim cannot be done.

Re: AnnoCPAN and a wiki POD idea

2005-07-10 Thread Smylers
be provided if they did have any notes.) But the scrolling is only necessary on distros containing large numbers of modules, and PPI is quite unrepresentative in that respect! Smylers -- May God bless us with enough foolishness to believe that we can make a difference in this world, so that we

Re: Fwd: [EMAIL PROTECTED]: Re: fixing is_deeply]

2005-07-01 Thread Smylers
to support both [behaviours] off of the same code base. Then we're still in the position of arguing which should be the default behaviour ... Smylers -- May God bless us with enough foolishness to believe that we can make a difference in this world, so that we can do what others claim cannot be done.

Re: Fwd: [demerphq@gmail.com: Re: fixing is_deeply]

2005-07-01 Thread Smylers
even consistent on how to spell that particular word! I can't be bothered to look it up to see which of us is right (or whether both are valid) ... Smylers

Re: is_deeply() and code refs

2005-06-26 Thread Smylers
parameters, which might be completely inappropriate. Smylers -- May God bless us with enough foolishness to believe that we can make a difference in this world, so that we can do what others claim cannot be done.

Re: Kwalitee and has_test_*

2005-04-17 Thread Smylers
a kwalitee point for modules that bundle a test that checks for kwalitee? If it produces a good correlation, then yes, have such a criterion. Smylers -- May God bless us with enough foolishness to believe that we can make a difference in this world, so that we can do what others claim cannot be done.

Re: Kwalitee and has_test_*

2005-04-17 Thread Smylers
that shipping dev tests makes sense -- I think it's fine for some authors to choose to do so and some to choose not to; I'm merely disagreeing with the suggestion that shipping a dev test _necessarily_ imposes a burden on mere users of the module.) Smylers -- May God bless us with enough foolishness

Re: Kwalitee and has_test_*

2005-04-17 Thread Smylers
anywhere in the distro's source! Smylers -- May God bless us with enough foolishness to believe that we can make a difference in this world, so that we can do what others claim cannot be done.