Re: Test::SDK being temporarily pulled

2001-10-23 Thread Autrijus Tang

On Mon, Oct 22, 2001 at 11:46:29PM -0400, Michael G Schwern wrote:
> > since the CPAN Bundle lets you specify exact versions, the purpose
> > of SDK currently seems to be mostly about simplifying download
> > (i.e. one big file).
> There is the notion that an SDK is a collection of versions of modules
> that are known to all work together.  A Bundle simply grabs the latest
> version of each, and it's possible a change in one might break the
> others.

as mentioned above, bundle lets you specify the exact distfile, and
in effect the version.

> No, it'll simply skip Test::More and move on to Test::Inline.

but a change in Test::More might break Test::Inline! :-p

...however it's up to Test::Inline's tests to find out. as CPAN does
not currently have a downgrade option, methinks this behaviour is
more or less correct.

> I was thinking just skipping MakeMaker entirely for that part and
> write a simple little custom Makefile.  The point being more to keep
> the familiar interface than to wedge it into MakeMaker.

very good point. i'd like to hack on it after a prototype's there. :)

thanks,
/Autrijus/

 PGP signature


Re: Test::SDK being temporarily pulled

2001-10-22 Thread Autrijus Tang

On Mon, Oct 22, 2001 at 09:48:56PM -0400, Michael G Schwern wrote:
> It then orders them in terms of which needs to be installed first.  In
> Test::SDK it would be Test::Harness, Test::Simple and finally
> Test::Inline.

since the CPAN Bundle lets you specify exact versions, the purpose
of SDK currently seems to be mostly about simplifying download
(i.e. one big file). while this along is fine, it should arguably
be a integrated utility (i.e. sidekick) that lets you construct
one easily from an existing bundle (and apply to ISPs, etc), rather
than putting the duplicated distributions on CPAN.

but then, i could be totally mistaken.

> Then each module is individually tested and installed in turn.  Before
> performing the test & installation it first checks that there's not
> already a higher version installed.
> If any one fails the sequence stops.

does it means if a higher version of Test::More installed, it will
not try to install Test::Inline anymore?

> This shouldn't be too much extra work to pull off.  The only unknown
> I'm pondering is if it's worth trying to wedge this into the usual
> "perl Makefile.PL; make; make test; make install" sequence or to just
> have a simple "installsdk" program that gets run.

you'll probably need a stronger ExtUtils::MakeMaker that understands
CPAN.pm. i've been using my ExtUtils::AutoInstall to achieve similiar
ends, also operating in a SDK-like environment (where the CPAN build
directory, passed via -config, is just '.').

cheers,
/Autrijus/

 PGP signature