Re: Binary distributions

2006-02-05 Thread Adam Kennedy
Tyler MacDonald wrote: Offer Kaye <[EMAIL PROTECTED]> wrote: Just an example, IO::All [1] version 0.33 has been available since Dec 17, 2004. It passed testing many times, at least according to its testers page [2]. My default 5.8.7 ActivePerl distribution lists IO::All version 0.17 .

Re: IPC::Run or something else?

2006-02-05 Thread Yuval Kogman
On Mon, Feb 06, 2006 at 18:38:32 +1100, Adam Kennedy wrote: > I second this. IPC::Run3 has treated me well on a few occasions, and I'm > gradually porting various things of mine over to IPC::Run3 as they come to my > attention for other issues. It looks like the ugprade path from IPC::Run3 to I

Re: IPC::Run or something else?

2006-02-05 Thread Adam Kennedy
David Golden wrote: Tamas Dober wrote: I'd like to test that that a batch file (starting a Java app) gives me the expected output or not. Could you please help me what direction I should go, what module should I use? I've had good experiences with IPC::Run3. It's pretty lightweight and intu

Re: Default tests, beta testing, etc.

2006-02-05 Thread Adam Kennedy
Beta testing - CPAN tracks intra-module dependencies, and does automated testing, but only on released modules. It would seem useful to allow an author to upload a "beta" version of their module, and then run the tests of a dozen or so modules that depend on it. This way, you would gain

Re: Binary distributions

2006-02-05 Thread Offer Kaye
On 2/6/06, Yitzchak Scott-Thoennes wrote: > > http://perldoc.perl.org/perl58delta.html#New-Modules-and-Pragmata > I see what you mean... what threw me off was that it is not listed under: http://search.cpan.org/dist/perl-5.8.8/ Cheers, -- Offer Kaye

Re: Binary distributions

2006-02-05 Thread Yitzchak Scott-Thoennes
On Mon, Feb 06, 2006 at 08:16:11AM +0200, Offer Kaye wrote: > OT question - why is Scalar-List-Utils listed as "CORE"? It is not > part of the Perl5 core http://perldoc.perl.org/perl58delta.html#New-Modules-and-Pragmata

Re: IPC::Run or something else?

2006-02-05 Thread Yuval Kogman
On Sun, Feb 05, 2006 at 15:42:26 -0800, Tamas Dober wrote: > It seems I couldn't redirect the output. This is probably because the program prints on STDERR. Look into the redirect examples, and try to also capture \$err after \$out - see if that helps > Maybe IPC::Run is not a good choice? I th

Re: Binary distributions

2006-02-05 Thread Offer Kaye
On 2/5/06, Offer Kaye wrote: > > [3] > http://ppm.activestate.com/BuildStatus/5.8-windows/windows-5.8/Scalar-List-Util-1.15.txt > Something funky here... Last night I looked at "Scalar-List-Util"... but the correct name as Tyler said is "Scalar-List-Utils", with an "s" at the end. Looking at [1]

Re: Default tests, beta testing, etc.

2006-02-05 Thread A. Pagaltzis
* Bryce Harrington <[EMAIL PROTECTED]> [2006-02-05 21:40]: > http://search.cpan.org/src/BRYCE/Test-Parser-1.00/t/01_script_compile.t I know this is beside the point, but I have to point out that this script will break on at least Windows – and probably every other non-Unix OS as well. * Sébastien

Re: Default tests, beta testing, etc.

2006-02-05 Thread Sébastien Aperghis-Tramoni
Bryce Harrington wrote: Default tests - Like probably a lot of perl module writers, I don't write tests nearly as often as I should, but I have collected a few simple default tests that I can toss into a new module and reuse without modification. For example: http://search.cpan.org/src

Re: IPC::Run or something else?

2006-02-05 Thread David Golden
Tamas Dober wrote: I'd like to test that that a batch file (starting a Java app) gives me the expected output or not. Could you please help me what direction I should go, what module should I use? I've had good experiences with IPC::Run3. It's pretty lightweight and intuitive. If you would

Re: IPC::Run or something else?

2006-02-05 Thread Tyler MacDonald
Tamas Dober <[EMAIL PROTECTED]> wrote: > Hello, > > I'm a beginner, please forgive me b/c of the simple questions. > > I'd like to test that that a batch file (starting a Java app) gives me the > expected output or not. I really like IPC::Run, but it is a bit of a heavy package to make

IPC::Run or something else?

2006-02-05 Thread Tamas Dober
Hello, I'm a beginner, please forgive me b/c of the simple questions. I'd like to test that that a batch file (starting a Java app) gives me the expected output or not. What I have now: use strict; use warnings; use IPC::Run 'run'; my $out; my @ls = ( '\/perl\/Feb\/packager\/bin\/package.ba

Re: Default tests, beta testing, etc.

2006-02-05 Thread Michael Peters
Bryce Harrington wrote: > Beta testing - CPAN tracks intra-module dependencies, and does automated > testing, but only on released modules. It would seem useful to allow > an author to upload a "beta" version of their module, and then run the > tests of a dozen or so modules that depend o

Re: Default tests, beta testing, etc.

2006-02-05 Thread Chris Dolan
On Feb 5, 2006, at 2:36 PM, Bryce Harrington wrote: [snip] It would seem to be useful if CPAN were to have a couple really basic tests like this to run for perl modules that haven't created any tests themselves. Obviously, this only benefits immature modules, but this might be a

Re: Binary distributions

2006-02-05 Thread Tyler MacDonald
Offer Kaye <[EMAIL PROTECTED]> wrote: > >Phillipe Chaisson aka "Gozer" (one of the mod_perl authors) is > > responsible for the ActiveState PPM repositories now, > Hi Gozer, nice to meet you. Gratz on ActiveState's move to a new > company, good luck :) It's a Good Thing for all com

Re: Binary distributions

2006-02-05 Thread Tyler MacDonald
Offer Kaye <[EMAIL PROTECTED]> wrote: > Just an example, IO::All [1] version 0.33 has been available since Dec > 17, 2004. It passed testing many times, at least according to its > testers page [2]. My default 5.8.7 ActivePerl distribution lists > IO::All version 0.17 . According to http:/

Re: Binary distributions

2006-02-05 Thread Offer Kaye
On 2/5/06, Tyler MacDonald wrote: > >ActiveState always serves the last available version where all tests > passed on a given platform. It attempts to build and test every package on > CPAN at least once a week. If something isn't available, it means the tests > failed, which could mean: >

Default tests, beta testing, etc.

2006-02-05 Thread Bryce Harrington
Chromatic and I were discussing CPAN testing at a conference yesterday. I made some comments about things that I thought would be useful and he encouraged me to post them here... Default tests - Like probably a lot of perl module writers, I don't write tests nearly as often as I should, but I h

Re: Binary distributions

2006-02-05 Thread Offer Kaye
On 2/5/06, Shlomi Fish wrote: > On Sunday 05 February 2006 13:54, Tels wrote: > > Moin Offer Kaye (sorry, can't identify which part of your name which is > > the one you are called by :-) > > > > Just for everybody's information: > > Offer is his first name. (Means "Bambi" in Hebrew). Moin Tels, d

Re: Binary distributions

2006-02-05 Thread Shlomi Fish
On Sunday 05 February 2006 13:54, Tels wrote: > Moin Offer Kaye (sorry, can't identify which part of your name which is > the one you are called by :-) > Just for everybody's information: Offer is his first name. (Means "Bambi" in Hebrew). Kaye is his last name. (Don't know what it means - it's

Re: TODO test paradox: better TODO test management?

2006-02-05 Thread demerphq
On 2/5/06, demerphq <[EMAIL PROTECTED]> wrote: > On 2/1/06, chromatic <[EMAIL PROTECTED]> wrote: > > Having the test suite quit and say "Sorry, don't use this -- it works better > > than we expect" seems awfully silly. Again, there's already a way to catch > > your (rare) catastrophic bonus tests

Re: TODO test paradox: better TODO test management?

2006-02-05 Thread demerphq
On 2/1/06, chromatic <[EMAIL PROTECTED]> wrote: > Having the test suite quit and say "Sorry, don't use this -- it works better > than we expect" seems awfully silly. Again, there's already a way to catch > your (rare) catastrophic bonus tests -- capture and check their return > values. Yes it is

Re: Binary distributions

2006-02-05 Thread Adam Kennedy
Tyler MacDonald wrote: Offer Kaye <[EMAIL PROTECTED]> wrote: Why not start off by providing ppm.cpan.org (as the OP suggested for linux distors), or something similar? There are many modules that I want to use where the PPM version provided by ActiveState or some other repository is badly of out

Re: Binary distributions

2006-02-05 Thread Tels
Moin Offer Kaye (sorry, can't identify which part of your name which is the one you are called by :-) On Sunday 05 February 2006 07:59, Offer Kaye wrote: > On 1/28/06, Tels wrote: > > Of course you must reliaze that, except for pure-perl modules and > > very controlled environments, binary distri

Re: Binary distributions

2006-02-05 Thread David Golden
Tyler MacDonald wrote: 3) Tests are failing because of ActiveState's build system For 3), that could mean because the build system itself is screwed or they don't have some library available. Phillipe Chaisson aka "Gozer" (one of the mod_perl authors) is responsible for