[petsc-dev] Getting credit for Contributors graph on github?

Satish Balay balay at mcs.anl.gov
Thu Sep 28 18:32:55 CDT 2017


>From petsc/.mailmap

# See 'git help shortlog' for details

$ git log |grep ^Author |grep -i mills |sort | uniq
Author: Richard Mills <rtm at eecs.utk.edu>
Author: Richard Tran Mills <rmills at ornl.gov>
Author: Richard Tran Mills <rmills at rmills.org>


So perhaps the following change.

diff --git a/.mailmap b/.mailmap
index aa4cc0b5da..53fa78858d 100644
--- a/.mailmap
+++ b/.mailmap
@@ -39,7 +39,8 @@ Peter Brune <brune at uchicago.edu>                <brune at cs.uchicago.edu>
 Peter Brune <brune at uchicago.edu>                <emppter at pbrune>
 Peter Brune <brune at mcs.anl.gov>                 <brune at localhost>
 Peter Brune <brune at mcs.anl.gov>                 <prbrune at localhost>
-Richard Tran Mills <rtm at eecs.utk.edu>
+Richard Tran Mills <rmills at rmills.org>          <rmills at ornl.gov>
+Richard Tran Mills <rmills at rmills.org>          <rtm at eecs.utk.edu>
 Semih Özmen <semihozmen at gmail.com>
 Shri Abhyankar <abhyshr at mcs.anl.gov>
 Stefano Zampini <stefano.zampini at gmail.com>

Satish

On Thu, 28 Sep 2017, Richard Tran Mills wrote:

> In my case, the easiest thing for me to do would be to add all of my
> addresses to my GitHub account, but I can't validate all of those, as I
> have commits associated with email addresses (e.g., rmills at ornl.gov) that
> haven't existed for years.
> 
> I'm not familiar with the .mailmap file format. I want to make my
> "canonical" email address "rmills at rmills.org", and map all of my old email
> addresses to be associated with that. Can someone please tell me what I
> need to enter in the .mailmap file to do this?
> 
> (Followup question: Once I've done this, since GitHub knows that "
> rmills at rmills.org" is associated with my account, will it count my commits
> made under my old email addresses in the "contributors" graph?)
> 
> Thanks,
> Richard
> 
> On Wed, Sep 27, 2017 at 4:20 PM, Smith, Barry F. <bsmith at mcs.anl.gov> wrote:
> 
> >
> >   Just a reminder for developers who want to get credit for their PETSc
> > commits.
> >
> >
> > Begin forwarded message:
> >
> > *From: *Jed Brown <jed at jedbrown.org>
> > *Subject: **Re: [petsc-maint] Contributors graph on github?*
> > *Date: *September 27, 2017 at 11:01:48 AM CDT
> > *To: *Richard Tran Mills <rtmills at anl.gov>, PETSc-maint <
> > petsc-maint at mcs.anl.gov>
> >
> > Add the addresses to your account or add yourself to .mailmap.
> >
> > Richard Tran Mills <rtmills at anl.gov> writes:
> >
> > I hadn't seen this "contributors" graph before and found it interesting:
> >
> > https://github.com/petsc/petsc/graphs/contributors
> >
> > What would I need to do to get the various commits I've made over there
> > years to be associated with my 'rtmills' github account?
> >
> > --Richard
> >
> >
> >
> 


More information about the petsc-dev mailing list