[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: statistics: who maintains R packages in Debian (was: Re: Debhelper for R packages)



Le Sun, Oct 09, 2016 at 06:44:29PM +0200, Joost van Baal-Ilić a écrit :
> 
> Who exactly maintains how many r-cran, r-bioc and r-other packages currently in
> testing/stretch:
> 
> joostvb@banach:~% for p in \
>  $( apt-cache search --names-only 'r-cran-|r-bioc-|r-other-' | cut -d' ' -f1 ); \
>   do echo -n "$p "; apt-cache show $p | grep Maintainer; done | \
>   cut -d' ' -f3- | cut -d\< -f2 | sed 's/^/</' | sort | uniq -c | sort -n 

Hi Joost and everybody,

I have not found time to play with the new dh command, and perhaps I will not
manage before November, but in the meantime I can not help making this small
side comment: you can simplify your oneliner above by using the powerful
`grep-aptavail` command from the `dctrl-tools` package.

$ grep-aptavail -e -P 'r-cran|r-bioc|r-other' -s 'Maintainer' |
    cut -d' ' -f3- | cut -d\< -f2 | sed 's/^/</' | sort | uniq -c | sort -n
      1 <ivo@maintz.de>
      1 <lifongsun@gmail.com>
      1 <ondrej@debian.org>
      2 <jdg@debian.org>
     11 <debichem-devel@lists.alioth.debian.org>
     19 <lawrencc@debian.org>
     88 <debian-science-maintainers@lists.alioth.debian.org>
    129 <edd@debian.org>
    192 <debian-med-packaging@lists.alioth.debian.org>

(Super tiny bonus nitpick: no need to escape the newline character if ending a
shell line with a pipe.)

Have a nice day,

Charles

-- 
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan


Reply to: