rough perl module status (was: Re: EPEL Meeting: Call for Topics)
Thorsten Leemhuis
fedora at leemhuis.info
Sat Feb 9 13:45:32 UTC 2008
On 04.02.2008 20:22, Michael Stahnke wrote:
> [...]
> Something I'd like to see is an overall perl module status. Out of
> the available perl modules in fedora, how many are branched and built
> for EPEL? This probably isn't too important, but that's what I find
> my company most commonly wanting ( and not always finding) from EPEL.
Well, some stats are easy to generate with a proper repo file on a fedora
machine, requery and some tools/scipts . Someone could put the following
commands (and some more) into a script and run it regularly:
[thl at ankh-morpork epel]$ repoquery -qa --repoid=centos5-source --repoid=epel5-source --repoid=epel5-testing-source --qf '%{NAME}' --arch="src" | grep '^perl' > perl-el
[thl at ankh-morpork epel]$ repoquery -qa --repoid=development-source --qf '%{NAME}' --arch="src" | grep '^perl' > perl-rawhide
[thl at ankh-morpork epel]$ wc -l perl-* | grep perl
294 perl-el
824 perl-rawhide
[thl at ankh-morpork epel]$ grep -v --line-regexp --file=perl-el perl-rawhide | sort > perl-missing-el
[thl at ankh-morpork epel]$ wc -l perl-missing-el
531 perl-missing-el
/me attaches that file to this mail
[thl at ankh-morpork epel]$ cat perl-rawhide | fedoradev-pkgowners | awk '{print $1}' > perl-rawhide-owners
[thl at ankh-morpork epel]$ cat perl-el | fedoradev-pkgowners --epel | awk '{print $1}' > perl-el-owners
/me likes to note that this results in some errors for perl-packages from centos
/me ignored those
/me also likes to point out that fedoradev-pkgowners can be found on http://fedoraproject.org/wiki/PackageMaintainers/UsefulScripts
[thl at ankh-morpork epel]$ (echo owner rawhide epel; for owner in $(cat perl-rawhide-owners perl-el-owners | sort | uniq); do echo "${owner} $(grep -c ${owner} perl-rawhide-owners) $(grep -c ${owner} perl-el-owners)"; done | sort -r -n -t " " -k 2) | column -t
owner rawhide epel
cweyl 163 6
spot 158 63
steve 141 43
rnorwood 71 13
corsepiu 49 0
pghmcfc 25 14
ixs 22 3
alexlan 18 0
xavierb 16 0
iburrell 15 1
pertusus 13 11
sindrepb 12 5
orion 11 9
hardaker 11 0
ruben 9 9
berrange 6 0
wtogami 5 2
scop 5 0
mmcgrath 5 4
abompard 5 0
jcollie 4 0
xulchris 3 0
robert 3 3
nim 3 0
gouldwp 3 2
[...]
Is that what you wanted?
Cu
knurd
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: perl-missing-el
URL: <http://listman.redhat.com/archives/epel-devel-list/attachments/20080209/0764a7f3/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: epel5.repo
URL: <http://listman.redhat.com/archives/epel-devel-list/attachments/20080209/0764a7f3/attachment-0001.ksh>
More information about the epel-devel-list
mailing list