Open kszucs opened 7 years ago
First but less elegant solution is:
Con: need to change git flow Pro: doesn't require gitential effort :)
Second less error prone one:
refs/pull/*
referencesCon: identifying squashes is not that trivial* Pro: doesn't require user effort :)
*we could just blacklist jenkins
but that way we might double-count non-jenkins PRs
@tiry @atchertchian Sorry for the delay!
Sadly github removes the refs/pull/<pr_id>/merge
references after a PR actually got merged, so there is currently no way to identify S&M commits without consuming the GitHub API.
I've also contacted GH support to keep those references, my request has landed to the wishlist.
This is particularly frustrating, because solving this via the API requires an order of magnitude more effort...
Whatever, I'm currently developing the following feature to give You better results:
@tdna what is the state of excluding users on the frontend?
The problem is twofold:
Jenkins automatically does a squash-and-merge and we lose a lot of information from actual commits.
and switches committer and author identities
whereas GitHub does not
finally becames a 10x programmer.
The differrence between author and committer is explained on SO.