# GitHub attribution for prior direct SVN commits

**URL:** <https://discourse.slicer.org/t/github-attribution-for-prior-direct-svn-commits/2163>\
**Category:** Development\
**Created:** [February 23, 2018, 11:39pm UTC](https://discourse.slicer.org/t/github-attribution-for-prior-direct-svn-commits/2163 "2018-02-23T23:39:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ihnorton](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ihnorton/32/9_2.png) [@ihnorton](https://discourse.slicer.org/u/ihnorton)\
**Post date:** [February 23, 2018, 11:39pm UTC](https://discourse.slicer.org/t/github-attribution-for-prior-direct-svn-commits/2163/1 "2018-02-23T23:39:55Z")

</div>

Related to @jcfr’s earlier [post](https://discourse.slicer.org/t/commit-message-collaborative-work-and-acknowledgment/2160): it is possible to link SVN direct-commit history in Slicer github to each contributor’s profile, although this must be done individually by the contributor, because github does not support mailmap. The following steps allow authors to claim their direct commits in the SVN history, which will then show up in the [GitHub - Slicer/Slicer: Multi-platform, free open source software for visualization and image computing.](http://github.com/slicer/slicer) contributor list, and on the author’s github profile.

Steps:

1. Go to Github settings

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/a/7a8b9370b83e2af80ef892c0d2293be65adaffa7.png)

1. From the side bar, select “Emails”, then “Add email address”

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/c/5/c504a0bba5c25c331ef06637903d93daf239c7d1.png)

1. Add “svn username”@`3bd1e089-480b-0410-8dfb-8563597acbee`

* * *

Slicer has many more than the 7 contributors currently listed, so would be great if people could consider doing the steps above. Similar to “stars”, I think one of the quick heuristics people look at these days when considering a project on GitHub is the total number of contributors (proxy for community) as well as history of top contributors (proxy for sustained development).

Pinging a few active people with suggestion ready to copy and paste…

@Nicole_Aucoin naucoin@3bd1e089-480b-0410-8dfb-8563597acbee  
@lassoan lassoan@3bd1e089-480b-0410-8dfb-8563597acbee  
@cpinter pinter@3bd1e089-480b-0410-8dfb-8563597acbee  
@fedorov fedorov@3bd1e089-480b-0410-8dfb-8563597acbee  
@ljod lauren@3bd1e089-480b-0410-8dfb-8563597acbee  
@msmolens msmolens@3bd1e089-480b-0410-8dfb-8563597acbee  
@tokjun tokuda@3bd1e089-480b-0410-8dfb-8563597acbee

---

<div class="post-metadata">

**Author:** ![ihnorton](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ihnorton/32/9_2.png) [@ihnorton](https://discourse.slicer.org/u/ihnorton)\
**Post date:** [February 23, 2018, 11:41pm UTC](https://discourse.slicer.org/t/github-attribution-for-prior-direct-svn-commits/2163/2 "2018-02-23T23:41:46Z")

</div>

(@jcfr has mentioned rewriting the git history if we move so that everyone is attributed, but this is quick/simple for now)

---

<div class="post-metadata">

**Author:** ![Nicole\_Aucoin](https://avatars.discourse-cdn.com/v4/letter/n/ebca7d/32.png) [@Nicole\_Aucoin](https://discourse.slicer.org/u/Nicole_Aucoin)\
**Post date:** [February 26, 2018, 3:00pm UTC](https://discourse.slicer.org/t/github-attribution-for-prior-direct-svn-commits/2163/3 "2018-02-26T15:00:51Z")

</div>

I added the email you gave above, but the contributor list hasn’t updated yet. It’s the same hash for every contributor?

---

<div class="post-metadata">

**Author:** ![ihnorton](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ihnorton/32/9_2.png) [@ihnorton](https://discourse.slicer.org/u/ihnorton)\
**Post date:** [February 26, 2018, 3:16pm UTC](https://discourse.slicer.org/t/github-attribution-for-prior-direct-svn-commits/2163/4 "2018-02-26T15:16:42Z")

</div>

> [@Nicole\_Aucoin](#):
>
> It’s the same hash for every contributor?

Yes, apparently it’s the svn repository UUID:

```auto
BWH003265:s5 inorton$ git svn info
Path: .
URL: http://svn.slicer.org/Slicer4/trunk
Repository Root: http://svn.slicer.org/Slicer4
Repository UUID: 3bd1e089-480b-0410-8dfb-8563597acbee
Revision: 26553

```

However, I don’t think the list updates immediately – they probably batch process the email\<-\>commit history matching for new emails (too expensive to do realtime?).

Andrey was not listed on Friday, but is today.

---

<div class="post-metadata">

**Author:** ![Nicole\_Aucoin](https://avatars.discourse-cdn.com/v4/letter/n/ebca7d/32.png) [@Nicole\_Aucoin](https://discourse.slicer.org/u/Nicole_Aucoin)\
**Post date:** [February 26, 2018, 3:28pm UTC](https://discourse.slicer.org/t/github-attribution-for-prior-direct-svn-commits/2163/5 "2018-02-26T15:28:46Z")

</div>

Makes sense, will check again later this week.
