This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit author/co-author distinction #95
Comments
AFAIK surf just reexports |
Oh interesting, that may be enough then, will have a look. |
Ok, I've managed to get committer information, however it's not what I expected, ie. it's not the co-author, but the signer. Take the above commit for example: if we look at the signature we get:
The committer here is actually "GitHub", as provided by libgit/surf. I think for now this is good enough, but perhaps this is something we can look into in the next iteration, as ideally we would be a bit smarter about it. |
The `Co-authored-by` is something GH started to do at some point when you
press the green button, but the contributor doesn’t have push access to the
repo (I think). I mistakenly took this for a DCO in a different context.
(Aside: It’s actually outrageous to have GH do these things on users’
behalf. Otoh, this is exactly the use case for the Substrate “Secret Store”)
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When a commit is merged by a different person than the author, this information is usually preserved in the commit body. Eg. see this commit:
We would like to present this information in the UI, in this case the co-author, in a similar way that GitHub does, and so would need surf to provide it in some way or form.
The text was updated successfully, but these errors were encountered: