Skip to contentSkip to conversation

v0.75 contributors credits ( experimental) (take 2)

DISCUSSION Loic Dachary 1 participant 2 messages Jan 15, 2014 – Jan 16, 2014

lore
Share & tools
lore
#0 lore raw

[Amended after comments from Noah Watkins, Patrick McGarry, Andrew Woodward, Ian Colle, Robin H. Johnson]

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

All commits are reviewed but the number of reviews is a fraction of the number of commits. The reviewer(s) is only mentioned in the message of the merge although it means that all associated commits have been reviewed.

If you are curious about how it is done, the details are at the end of this mail.

Commits by authors
1 259 Sage Weil <[email protected]>
2 80 Loic Dachary <[email protected]>
3 39 Greg Farnum <[email protected]>
4 38 Yan, Zheng <[email protected]>
5 30 Noah Watkins <[email protected]>
6 23 Yehuda Sadeh <[email protected]>
7 15 Ilya Dryomov <[email protected]>
8 14 Josh Durgin <[email protected]>
9 14 João Eduardo Luís <[email protected]>
10 8 Haomai Wang <[email protected]>
11 4 Alfredo Deza <[email protected]>
12 3 Robin H. Johnson <[email protected]>
13 3 David Zafman <[email protected]>
14 3 Alexandre Oliva <[email protected]>
15 2 Tamil Muthamizhan <[email protected]>
16 2 John Wilkins <[email protected]>
17 2 Andreas Peters <[email protected]>
18 1 Xihui He <[email protected]>
19 1 Wido den Hollander <[email protected]>
20 1 Thomas Bechtold <[email protected]>
21 1 Steve Stock <[email protected]>
22 1 Sebastien Han <[email protected]>
23 1 Rutger ter Borg <[email protected]>
24 1 Laurent Barbe <[email protected]>
25 1 Ken Dreyer <[email protected]>
26 1 Kai Zhang <[email protected]>
27 1 Gary Lowell <[email protected]>
28 1 Dan van der Ster <[email protected]>
29 1 Christophe Courtaut <[email protected]>
30 1 Christian Marie <[email protected]>
31 1 Bjørnar Ness <[email protected]>
Commits by organizations
1 407 Inktank <[email protected]>
2 81 Cloudwatt <[email protected]>
3 38 Intel <[email protected]>
4 8 UnitedStack <[email protected]>
5 3 GNU <[email protected]>
6 3 Gentoo <[email protected]>
7 3 CERN <[email protected]>
8 1 Xihui He <[email protected]>
9 1 Wido 42on <[email protected]>
10 1 Thomas Bechtold <[email protected]>
11 1 Steve Stock <[email protected]>
12 1 Rutger ter Borg <[email protected]>
13 1 Laurent Barbe <[email protected]>
14 1 Kai Zhang <[email protected]>
15 1 eNovance <[email protected]>
16 1 Christian Marie <[email protected]>
17 1 Bjørnar Ness <[email protected]>
Reviews by authors (one review spans multiple commits)

     1	     54 Sage Weil <[email protected]>
     2	     14 Greg Farnum <[email protected]>
     3	     11 Loic Dachary <[email protected]>
     4	      7 Josh Durgin <[email protected]>
     5	      6 Samuel Just <[email protected]>
     6	      6 João Eduardo Luís <[email protected]>
     7	      3 Christophe Courtaut <[email protected]>
     8	      2 Yehuda Sadeh <[email protected]>
     9	      1 Andreas Peters <[email protected]>

Reviews by organizations (one review spans multiple commits)
1 89 Inktank <[email protected]>
2 14 Cloudwatt <[email protected]>
3 1 CERN <[email protected]>

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'
range=$1
echo "Commits by authors"
git log --pretty='%aN <%aE>' $range | sort | uniq -c | sort -rn | nl
echo "Commits by organizations"
git log --pretty='%aN <%aE>' $range | git -c mailmap.file=.organizationmap check-mailmap --stdin | sort | uniq -c | sort -rn | nl
echo "Reviews by authors (one review spans multiple commits)"
git log --pretty=%b $range | 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 (one review spans multiple commits)"
git log --pretty=%b $range | 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
bash credits.sh tags/v0.74...tags/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.

More sophisticated reports can be generated and visualized by tools such as http://bitergia.com/ or http://stackalytics.com/.

Cheers

Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre
#1 lore raw

Hi,

There are significant differences from the previous mail. For instance Damien Simard does not show anymore although a patch from him was merged in master January 3rd. When publishing a release, some patches are picked and others are left in master. The previous method listed all refs from master in a range of dates and therefore did not account for this. The current method compares the refs from one release tag to another and is accurate.

That does not mean there are no other errors, but I think we got the difference between releases right this time ;-)

Cheers

Quoted 96 lines · Loic Dachary

[Amended after comments from Noah Watkins, Patrick McGarry, Andrew Woodward, Ian Colle, Robin H. Johnson]

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

All commits are reviewed but the number of reviews is a fraction of the number of commits. The reviewer(s) is only mentioned in the message of the merge although it means that all associated commits have been reviewed.

If you are curious about how it is done, the details are at the end of this mail.

Commits by authors
1 259 Sage Weil <[email protected]>
2 80 Loic Dachary <[email protected]>
3 39 Greg Farnum <[email protected]>
4 38 Yan, Zheng <[email protected]>
5 30 Noah Watkins <[email protected]>
6 23 Yehuda Sadeh <[email protected]>
7 15 Ilya Dryomov <[email protected]>
8 14 Josh Durgin <[email protected]>
9 14 João Eduardo Luís <[email protected]>
10 8 Haomai Wang <[email protected]>
11 4 Alfredo Deza <[email protected]>
12 3 Robin H. Johnson <[email protected]>
13 3 David Zafman <[email protected]>
14 3 Alexandre Oliva <[email protected]>
15 2 Tamil Muthamizhan <[email protected]>
16 2 John Wilkins <[email protected]>
17 2 Andreas Peters <[email protected]>
18 1 Xihui He <[email protected]>
19 1 Wido den Hollander <[email protected]>
20 1 Thomas Bechtold <[email protected]>
21 1 Steve Stock <[email protected]>
22 1 Sebastien Han <[email protected]>
23 1 Rutger ter Borg <[email protected]>
24 1 Laurent Barbe <[email protected]>
25 1 Ken Dreyer <[email protected]>
26 1 Kai Zhang <[email protected]>
27 1 Gary Lowell <[email protected]>
28 1 Dan van der Ster <[email protected]>
29 1 Christophe Courtaut <[email protected]>
30 1 Christian Marie <[email protected]>
31 1 Bjørnar Ness <[email protected]>
Commits by organizations
1 407 Inktank <[email protected]>
2 81 Cloudwatt <[email protected]>
3 38 Intel <[email protected]>
4 8 UnitedStack <[email protected]>
5 3 GNU <[email protected]>
6 3 Gentoo <[email protected]>
7 3 CERN <[email protected]>
8 1 Xihui He <[email protected]>
9 1 Wido 42on <[email protected]>
10 1 Thomas Bechtold <[email protected]>
11 1 Steve Stock <[email protected]>
12 1 Rutger ter Borg <[email protected]>
13 1 Laurent Barbe <[email protected]>
14 1 Kai Zhang <[email protected]>
15 1 eNovance <[email protected]>
16 1 Christian Marie <[email protected]>
17 1 Bjørnar Ness <[email protected]>
Reviews by authors (one review spans multiple commits)

     1	     54 Sage Weil <[email protected]>
     2	     14 Greg Farnum <[email protected]>
     3	     11 Loic Dachary <[email protected]>
     4	      7 Josh Durgin <[email protected]>
     5	      6 Samuel Just <[email protected]>
     6	      6 João Eduardo Luís <[email protected]>
     7	      3 Christophe Courtaut <[email protected]>
     8	      2 Yehuda Sadeh <[email protected]>
     9	      1 Andreas Peters <[email protected]>

Reviews by organizations (one review spans multiple commits)
1 89 Inktank <[email protected]>
2 14 Cloudwatt <[email protected]>
3 1 CERN <[email protected]>

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'
range=$1
echo "Commits by authors"
git log --pretty='%aN <%aE>' $range | sort | uniq -c | sort -rn | nl
echo "Commits by organizations"
git log --pretty='%aN <%aE>' $range | git -c mailmap.file=.organizationmap check-mailmap --stdin | sort | uniq -c | sort -rn | nl
echo "Reviews by authors (one review spans multiple commits)"
git log --pretty=%b $range | 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 (one review spans multiple commits)"
git log --pretty=%b $range | 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
bash credits.sh tags/v0.74...tags/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.

More sophisticated reports can be generated and visualized by tools such as http://bitergia.com/ or http://stackalytics.com/.

Cheers

Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre