On 15/01/2014 16:47, Andrew Woodward wrote: > Loic, > > Have you seen the stackalytics project that we use for OpenStack? > > http://www.stackalytics.com/ > https://github.com/Mirantis/stackalytics > Hi Andrew, I know of stackalytics and recently updated my affiliations there ;-) The purpose of this tiny script is originally to be of use to metrics.ceph.com : it can read from https://github.com/ceph/ceph/blob/master/.organizationmap to figure out the affiliation of authors. More importantly, authors can update this information with the same path they use on a daily basis to contribute to ceph itself: there is nothing to learn to fix a mistake or add a new affiliation. The command line is also a convenient way to see that the mapping works, without the need to deploy a graphical user interface. And to answer Patrick's question : what I would like to see is a count of reviewers in a graphical user interface. It is important to me ( and probably others ) when I explain to my employer the nature of the work I do in Ceph. If reviews show on a leaderboard, it is easier to explain why it is important to keep the project healthy because other developers also spend time reviewing. Cheers > > > On Wed, Jan 15, 2014 at 12:21 AM, Loic Dachary <loic@xxxxxxxxxxx <mailto:loic@xxxxxxxxxxx>> wrote: > > Hi Ceph, > > Here is a sorted list of authors and organizations who contributed to v0.75, by number of commits or reviews back to v0.74. The affiliation of authors to organizations can be updated by submitting a patch to https://github.com/ceph/ceph/blob/master/.organizationmap > > If you are curious about how it is done, the details are at the end of this mail. > > Commits by authors > 1 104 Sage Weil <sage@xxxxxxxxxxx <mailto:sage@xxxxxxxxxxx>> > 2 86 Loic Dachary <loic@xxxxxxxxxxx <mailto:loic@xxxxxxxxxxx>> > 3 18 Noah Watkins <noah.watkins@xxxxxxxxxxx <mailto:noah.watkins@xxxxxxxxxxx>> > 4 12 David Zafman <david.zafman@xxxxxxxxxxx <mailto:david.zafman@xxxxxxxxxxx>> > 5 8 Josh Durgin <josh.durgin@xxxxxxxxxxx <mailto:josh.durgin@xxxxxxxxxxx>> > 6 7 John Wilkins <john.wilkins@xxxxxxxxxxx <mailto:john.wilkins@xxxxxxxxxxx>> > 7 6 Samuel Just <sam.just@xxxxxxxxxxx <mailto:sam.just@xxxxxxxxxxx>> > 8 4 Yan, Zheng <zheng.z.yan@xxxxxxxxx <mailto:zheng.z.yan@xxxxxxxxx>> > 9 3 Ken Dreyer <ken.dreyer@xxxxxxxxxxx <mailto:ken.dreyer@xxxxxxxxxxx>> > 10 2 Yehuda Sadeh <yehuda@xxxxxxxxxxx <mailto:yehuda@xxxxxxxxxxx>> > 11 2 Greg Farnum <greg@xxxxxxxxxxx <mailto:greg@xxxxxxxxxxx>> > 12 2 Gary Lowell <gary.lowell@xxxxxxxxxxx <mailto:gary.lowell@xxxxxxxxxxx>> > 13 2 David Moreau Simard <dmsimard@xxxxxxxx <mailto:dmsimard@xxxxxxxx>> > 14 2 Christophe Courtaut <christophe.courtaut@xxxxxxxxx <mailto:christophe.courtaut@xxxxxxxxx>> > 15 1 Yan, Zheng <ukernel@xxxxxxxxx <mailto:ukernel@xxxxxxxxx>> > 16 1 Xihui He <xihuihe@xxxxxxxxx <mailto:xihuihe@xxxxxxxxx>> > 17 1 Rutger ter Borg <rutger@xxxxxxxxxxx <mailto:rutger@xxxxxxxxxxx>> > 18 1 Kun Huang <academicgareth@xxxxxxxxx <mailto:academicgareth@xxxxxxxxx>> > 19 1 Jonathan Dieter <jdieter@xxxxxxxxx <mailto:jdieter@xxxxxxxxx>> > 20 1 Dan Mick <dan.mick@xxxxxxxxxxx <mailto:dan.mick@xxxxxxxxxxx>> > 21 1 Bjørnar Ness <bjornar.ness@xxxxxxxxx <mailto:bjornar.ness@xxxxxxxxx>> > 22 1 Andreas Peters <andreas.joachim.peters@xxxxxxx <mailto:andreas.joachim.peters@xxxxxxx>> > Commits by organizations > 1 165 Inktank <contact@xxxxxxxxxxx <mailto:contact@xxxxxxxxxxx>> > 2 88 Cloudwatt <libre.licensing@xxxxxxxxxxxxx <mailto:libre.licensing@xxxxxxxxxxxxx>> > 3 4 Intel <contact@xxxxxxxxx <mailto:contact@xxxxxxxxx>> > 4 2 IWeb <contact@xxxxxxxx <mailto:contact@xxxxxxxx>> > 5 1 Yan, Zheng <ukernel@xxxxxxxxx <mailto:ukernel@xxxxxxxxx>> > 6 1 Xihui He <xihuihe@xxxxxxxxx <mailto:xihuihe@xxxxxxxxx>> > 7 1 Rutger ter Borg <rutger@xxxxxxxxxxx <mailto:rutger@xxxxxxxxxxx>> > 8 1 Kun Huang <academicgareth@xxxxxxxxx <mailto:academicgareth@xxxxxxxxx>> > 9 1 Jonathan Dieter <jdieter@xxxxxxxxx <mailto:jdieter@xxxxxxxxx>> > 10 1 CERN <contact@xxxxxxx <mailto:contact@xxxxxxx>> > 11 1 Bjørnar Ness <bjornar.ness@xxxxxxxxx <mailto:bjornar.ness@xxxxxxxxx>> > Reviews by authors > 1 28 Sage Weil <sage@xxxxxxxxxxx <mailto:sage@xxxxxxxxxxx>> > 2 6 Loic Dachary <loic@xxxxxxxxxxx <mailto:loic@xxxxxxxxxxx>> > 3 6 Josh Durgin <josh.durgin@xxxxxxxxxxx <mailto:josh.durgin@xxxxxxxxxxx>> > 4 3 Samuel Just <sam.just@xxxxxxxxxxx <mailto:sam.just@xxxxxxxxxxx>> > 5 2 Yan, Zheng <zheng.z.yan@xxxxxxxxx <mailto:zheng.z.yan@xxxxxxxxx>> > 6 2 João Eduardo Luís <joao.luis@xxxxxxxxxxx <mailto:joao.luis@xxxxxxxxxxx>> > 7 2 Greg Farnum <greg@xxxxxxxxxxx <mailto:greg@xxxxxxxxxxx>> > 8 2 Dan Mick <dan.mick@xxxxxxxxxxx <mailto:dan.mick@xxxxxxxxxxx>> > 9 1 Yehuda Sadeh <yehuda@xxxxxxxxxxx <mailto:yehuda@xxxxxxxxxxx>> > 10 1 Roald J. van Loon <roald@xxxxxxxxxxxxxxx <mailto:roald@xxxxxxxxxxxxxxx>> > 11 1 Noah Watkins <noah.watkins@xxxxxxxxxxx <mailto:noah.watkins@xxxxxxxxxxx>> > 12 1 David Moreau Simard <dmsimard@xxxxxxxx <mailto:dmsimard@xxxxxxxx>> > 13 1 Andreas Peters <andreas.joachim.peters@xxxxxxx <mailto:andreas.joachim.peters@xxxxxxx>> > Reviews by organizations > 1 45 Inktank <contact@xxxxxxxxxxx <mailto:contact@xxxxxxxxxxx>> > 2 6 Cloudwatt <libre.licensing@xxxxxxxxxxxxx <mailto:libre.licensing@xxxxxxxxxxxxx>> > 3 2 Intel <contact@xxxxxxxxx <mailto:contact@xxxxxxxxx>> > 4 1 Roald van Loon Consultancy <roald@xxxxxxxxxxxxxxx <mailto:roald@xxxxxxxxxxxxxxx>> > 5 1 IWeb <contact@xxxxxxxx <mailto:contact@xxxxxxxx>> > 6 1 CERN <contact@xxxxxxx <mailto:contact@xxxxxxx>> > > The script used to generate this output is (copy paste at the root of a git clone https://github.com/ceph/ceph.git): > > cat > credits.sh <<'EOF' > previous_version=$1 > next_version=$2 > > echo "Commits by authors" > git log --after $previous_version --before $next_version --pretty='%aN <%aE>' | sort | uniq -c | sort -rn | nl > echo "Commits by organizations" > git log --after $previous_version --before $next_version --pretty='%aN <%aE>' | git -c mailmap.file=.organizationmap check-mailmap --stdin | sort | uniq -c | sort -rn | nl > echo "Reviews by authors" > git log --after $previous_version --before $next_version --pretty=%b | perl -n -e 'print "$_\n" if(s/^\s*Reviewed-by:\s*(.*<.*>)\s*$/\1/)' | git check-mailmap --stdin | sort | uniq -c | sort -rn | nl > echo "Reviews by organizations" > git log --after $previous_version --before $next_version --pretty=%b | perl -n -e 'print "$_\n" if(s/^\s*Reviewed-by:\s*(.*<.*>)\s*$/\1/)' | git check-mailmap --stdin | git -c mailmap.file=.organizationmap check-mailmap --stdin | sort | uniq -c | sort -rn | nl > EOF > v0_74=2013-12-30 ; v0_75=2014-01-14 ; bash credits.sh $v0_74 $v0_75 > > Authors names are normalized with .mailmap and authors affiliations to a given organization comes from .organizationmap, both of which can be found and patched at the root of the ceph source tree. > > -- > Loïc Dachary, Artisan Logiciel Libre > > > _______________________________________________ > Ceph-community mailing list > Ceph-community@xxxxxxxxxxxxxx <mailto:Ceph-community@xxxxxxxxxxxxxx> > http://lists.ceph.com/listinfo.cgi/ceph-community-ceph.com > > > > > -- > If google has done it, Google did it right! -- Loïc Dachary, Artisan Logiciel Libre
Attachment:
signature.asc
Description: OpenPGP digital signature