jbon / Github-Social-Network-Analysis

Social Network Analisys of GitHub
1 stars 2 forks source link

some commits have no committer #15

Closed jbon closed 7 years ago

jbon commented 7 years ago

certainly because the user does not exist anymore.

See for example the following commit https://github.com/AeroQuad/Frames/commit/838f3502bd48e2e244f41886a83b645be51e2892 it has been committed by "Morgan Cook", but the user does not exist However the information that it has been commited by "Morgan Cook" is still there, but not in commit.author Where can we access this information from?

jbon commented 7 years ago

This seems to be an open issue in PyGithub: https://github.com/PyGithub/PyGithub/issues/279

jbon commented 7 years ago

https://api.github.com/repos/AeroQuad/Frames/commits/838f3502bd48e2e244f41886a83b645be51e2892 gives:


{
  "sha": "838f3502bd48e2e244f41886a83b645be51e2892",
  "commit": {
    "author": {
      "name": "Morgan Cook",
      "email": "morgan@kizazi.com",
      "date": "2012-01-19T03:45:22Z"
    },
    "committer": {
      "name": "Morgan Cook",
      "email": "morgan@kizazi.com",
      "date": "2012-01-19T03:45:22Z"
    },
    "message": "Created new Motor Mounts and new landing Gear",
    "tree": {
      "sha": "970cf858c88203d89c5de68a604f6b267d7e6cb1",
      "url": "https://api.github.com/repos/AeroQuad/Frames/git/trees/970cf858c88203d89c5de68a604f6b267d7e6cb1"
    },
    "url": "https://api.github.com/repos/AeroQuad/Frames/git/commits/838f3502bd48e2e244f41886a83b645be51e2892",
    "comment_count": 0
  },
  "url": "https://api.github.com/repos/AeroQuad/Frames/commits/838f3502bd48e2e244f41886a83b645be51e2892",
  "html_url": "https://github.com/AeroQuad/Frames/commit/838f3502bd48e2e244f41886a83b645be51e2892",
  "comments_url": "https://api.github.com/repos/AeroQuad/Frames/commits/838f3502bd48e2e244f41886a83b645be51e2892/comments",
  "author": null,
  "committer": null,
  "parents": [
    {
      "sha": "a50b23027aa2c72952f0ed43bb7a8204f33966d5",
      "url": "https://api.github.com/repos/AeroQuad/Frames/commits/a50b23027aa2c72952f0ed43bb7a8204f33966d5",
      "html_url": "https://github.com/AeroQuad/Frames/commit/a50b23027aa2c72952f0ed43bb7a8204f33966d5"
    }
  ],