Re: Phalanx update please!

2004-12-28 Thread Sébastien Aperghis-Tramoni
Selon Sébastien Aperghis-Tramoni [EMAIL PROTECTED]:

 Hello,

 Here are the final lists of the modules dependencies. This time I grouped
 the modules by their respective distribution name.

I forgot to say that these lists were made by reading the META.yml when
available, or by parsing Makefile.PL or Build.PL otherwise (borrowed the
code from Thomas Klausner's Module::CPANTS::Generator::Prereq). Therefore
they represent the dependencies of a large part of the CPAN.


--
Sébastien Aperghis-Tramoni

Close the world, txEn eht nepO.


Re: Phalanx update please!

2004-12-27 Thread Thomas Klausner
Hi!

On Mon, Dec 27, 2004 at 12:33:36AM +0100, S?bastien Aperghis-Tramoni wrote:

 Oops! I didn't include the list on my first reply.
 But on the other hand I have completed the analysis. So here is the 
 final list:
   http://rafb.net/paste/results/p4hveb43.html

I haven't got any time in the last months to spend on CPANTS, but similar
data is available here:
http://cpants.dev.zsi.at/

from the cpants.db (sqlite)

sqlite select requires,count(requires) as cnt from prereq group by requires
order by cnt desc limit 30;
requires  cnt   
  --
Test::More992   
Carp  274   
perl  255   
DBI   222   
File::Spec202   
Data::Dumper  159   
Digest::MD5   156   
LWP::UserAgent151   
Storable  151   
Test::Simple  121   
URI   116   
Scalar::Util  105   
XML::Parser   97
Tk97
IO::File  95
Template  94
Time::HiRes   93
POE   93
MIME::Base64  88
File::Basename80
Params::Validate  80
File::Temp72
DateTime  71
CGI   70
LWP   67
Error 62
HTML::Parser  62
Kwiki 62
POSIX 60
HTTP::Request 60


-- 
#!/usr/bin/perl   http://domm.zsi.at
for(ref bless{},just'another'perl'hacker){s-:+-$-gprint$_.$/}


Re: Phalanx update please!

2004-12-26 Thread Michael G Schwern
On Sat, Dec 25, 2004 at 11:04:15PM -0600, Andy Lester wrote:
 I'm working on an article for perl.com on the Phalanx project.  Those of
 you involved, can you please give a summary of what you've done?  Or
 better yet, give me a summary and update the wiki as well?

Don't know if you saw Maddingue's update of his analysis of how many modules
depend on module X.

Maddingue http://nopaste.snit.ch:8001/1458 -- using Module::CoreList and 
checking against 5.8.0

That's just for what has META.yml which leaves out about 5500 distributions.
He's working on extending it for the rest.

Also some of them should be aggrigated together (ie. URI and URI::URL are the
same distribution, LWP, LWP::Simple and HTTP::Request, etc...).

There's the circle jerk or nepotism score to be taken into account.  ie.  
Dependencies from modules of the same author should carry less weight.  For 
example, Kwiki has a lot of dependencies.  But before you weigh its 
importance you must consider many of the modules that depend on 
Kwiki were written by Ingy and Autrijus.  So another metric to look at is 
not just how many dependents a module has but how many different authors 
depend on it.

Finally, you can do a deep dependency scan.  The how much will break when
this breaks score.  Taking into account not just what depends on a given
module but what depends on that, and on that and so on down the line.
For example.  In Maddingue's list Class::DBI has 32 dependencies.  Class::DBI
depends on Ima::DBI but Ima::DBI doesn't even show up on the list.  If
Ima::DBI breaks, Class::DBI and everything it depends on breaks.  So all of
Class::DBI's dependencies can be weighted towards Ima::DBI.

I think all of this can be derived from a list of 
Module: Dependency1, Dependency 2, etc...


-- 
Michael G Schwern [EMAIL PROTECTED] http://www.pobox.com/~schwern/
Commence simultaneous panic on my mark.


Re: Phalanx update please!

2004-12-26 Thread Sébastien Aperghis-Tramoni
Oops! I didn't include the list on my first reply.
But on the other hand I have completed the analysis. So here is the 
final list:
  http://rafb.net/paste/results/p4hveb43.html

Michael G Schwern wrote:
On Sat, Dec 25, 2004 at 11:04:15PM -0600, Andy Lester wrote:
I'm working on an article for perl.com on the Phalanx project.  Those 
of
you involved, can you please give a summary of what you've done?  Or
better yet, give me a summary and update the wiki as well?
Don't know if you saw Maddingue's update of his analysis of how many 
modules depend on module X.
Here is the current version of my script if anyone wants to play it:
http://rafb.net/paste/results/mQIw3x42.html
It generates a simple text file with the name of each prereq module on 
each line. Then I use the following script prereqs2score.pl to generate 
the score list
http://rafb.net/paste/results/DjokqD87.html

Maddingue http://nopaste.snit.ch:8001/1458 -- using Module::CoreList 
and checking against 5.8.0
Here is a new version of the list: 
http://rafb.net/paste/results/1jHQhu17.html

It includes only modules from A to M. This time, I used 
Module::Depends::Intrusive to gather more information, so it contains 
the dependencies of nearly all the modules up to this. Currently, I 
also record all the distributions that are buggy or that have a 
Makefile.PL too interactive for Module::Depends::Intrusive in order to 
skip them for next run. Some just die() or exit() and must also be 
skipped in order

Also some of them should be aggrigated together (ie. URI and URI::URL 
are the same distribution, LWP, LWP::Simple and HTTP::Request,  
etc...).

There's the circle jerk or nepotism score to be taken into 
account.  ie.
Dependencies from modules of the same author should carry less weight. 
 For
example, Kwiki has a lot of dependencies.  But before you weigh its
importance you must consider many of the modules that depend on
Kwiki were written by Ingy and Autrijus.  So another metric to look at 
is
not just how many dependents a module has but how many different 
authors
depend on it.

Finally, you can do a deep dependency scan.  The how much will break 
when
this breaks score.  Taking into account not just what depends on a 
given
module but what depends on that, and on that and so on down the line.
For example.  In Maddingue's list Class::DBI has 32 dependencies.  
Class::DBI depends on Ima::DBI but Ima::DBI doesn't even show up on 
the list.  If Ima::DBI breaks, Class::DBI and everything it depends on 
breaks.  So all of
Class::DBI's dependencies can be weighted towards Ima::DBI.

I think all of this can be derived from a list of
Module: Dependency1, Dependency 2, etc...
I'll add more information to the dependency list once I have sorted out 
all the distributions that prevent any automated running of these 
scripts.

Sébastien Aperghis-Tramoni
 -- - --- -- - -- - --- -- - --- -- - --[ http://maddingue.org ]
Close the world, txEn eht nepO


Phalanx update please!

2004-12-25 Thread Andy Lester

I'm working on an article for perl.com on the Phalanx project.  Those of
you involved, can you please give a summary of what you've done?  Or
better yet, give me a summary and update the wiki as well?

I want to be able to say SouthFlorida PM has improved the coverage of
Wango::Tango from 60% to 90%, and Chicago.PM has found and fixed three
bugs in HTML::Googah.

Thanks,
xoxo,
Andy

-- 
Andy Lester = [EMAIL PROTECTED] = www.petdance.com = AIM:petdance


Re: Phalanx update

2004-12-05 Thread Mark Stosberg
On 2004-12-02, Andy Lester [EMAIL PROTECTED] wrote:
 I've reorganized all the trees in http://svn.perl.org/phalanx.  A
 description of how things should be is at
 http://svn.perl.org/phalanx/structure.pod.

I think I missed something. This clearly has something to do with SVN
hosting and the Phalanx project, but what's the big picture here?

Mark

-- 
http://mark.stosberg.com/ 



Re: Phalanx update

2004-12-05 Thread Andy Lester
On Mon, Dec 06, 2004 at 02:27:47AM +, Mark Stosberg ([EMAIL PROTECTED]) 
wrote:
 On 2004-12-02, Andy Lester [EMAIL PROTECTED] wrote:
  I've reorganized all the trees in http://svn.perl.org/phalanx.  A
  description of how things should be is at
  http://svn.perl.org/phalanx/structure.pod.
 
 I think I missed something. This clearly has something to do with SVN
 hosting and the Phalanx project, but what's the big picture here?

PMers who are Phalanxing modules can use svn.perl.org to host their code
so that all can collaborate easily.

xoxo,
andy

-- 
Andy Lester = [EMAIL PROTECTED] = www.petdance.com = AIM:petdance