Moin,

On Thursday 26 January 2006 15:26, Thomas Klausner wrote:
> Hi!
>
> I finally found some tuits to work on CPANTS again. As the previous
> implementation had some drawbacks, I started from scratch, and from
> another direction.
>
> I just uploaded Module::CPANTS::Analyse to CPAN. MCA contains most of
> the previous Kwalitee indicators and some code to check if one
> distribution tarball conforms to those indicators. It also includes a
> script calls <i>cpants_lint.pl</p> which is basically a frontend to the
> module.

Very cool.

However, I am _really really_ starting to wonder whether we need a 
Kwalitee rating based on *excessive usage of prerequisites*.

On the box I tried to use it I had to install basically dozens of modules, 
with a few twists:

* cant use CPAN (due to network security), so have to download everything 
manually, transfer it via USB stick etc.
* technically, I would have to audit each module before installing it...
* "perl Makefile.PL && make test && make install" is the mantra for 
everything except:

  ** some modules use Module::Build and the above doesn't work
  ** for some modules Makefile.PL will succeed, even tho the PREREQ are
     not met, meaning you get lots of silly test failures (at least it
     doesn't install the module because "make test" will fail)

* in the middle of the operation search.cpan.org broke down, so I had to
  stop and wait 15 mins until I could continue (Murphy :)
* in the end, tests fail, so all was probably for naught:

 Failed Test Stat Wstat Total Fail  Failed  List of Failed
 ----------------------------------------------------------------------
 t/analyse.t    2   512    10    2  20.00%  6-7
 Failed 1/10 test scripts, 90.00% okay. 2/56 subtests failed, 96.43% okay.
 make: *** [test] Error 255

:-( Will send you the full output off-list.

I am still considering building something[0] that shows the 
module-dependency as a graph to show how "bad" the problem has become. 
Even "simple" modules like YAML seem to include everything and the 
kitchen-sink :-(

Best wishes,

Tels

[0] As soon as I can extract the nec. data from CPANTS, which has failed 
the last two times I tried that for very similiar reasons - lots of 
dependencies, test failures, database scheme changed etc. ...

-- 
 Signed on Fri Jan 27 15:33:57 2006 with key 0x93B84C15.
 Visit my photo gallery at http://bloodgate.com/photos/
 PGP key on http://bloodgate.com/tels.asc or per email.

 "The need for a Steam account to play HL2 is like having to login to MS
 Passport to play Minesweeper." -- Tels

Attachment: pgpwx4HJDGsDy.pgp
Description: PGP signature

Reply via email to