Open roberthopman opened 6 years ago
All would be interesting and helpful to see! Probably prioritised in the order listed from top to bottom.
Just like to mention using https://gititback.netguru.co/dashboard/exercism (a free dashboard that tracks public contributions, requires logging into github) may serve as a non-code stop-gap solution while this repo is being build out. It offers some basic stats, drill down by repo or contributors. See screenshot:
@serixscorpio Thanks for this. The problem is that the data seems to be very wrong. For example, I don't think @petertseng has made 1458 contributions to Exercism in the last 7 days.
amazing
I meant "amazing" in the "that's hilarious" sense. I also find it unlikely that I've made 1458 contributions. Historically I think GitHub counts each force-push as one contribution per commit in the force-push, which I have always thought is strange because the previous commits should then be subtracted from my total. But actually, even taking that into account, I would have a hard time telling you where all those numbers came from.
Thanks for your feedback. You're right, the numbers looks quite wrong, don't know why (unfortunately that dashboard isn't open source).
Another prototype/exploratory approach to answer a narrow slice of
weekly total merged pr's across all languages
would be using github GraphQL explorer. For example, to count number of merged pr's between 2018-11-13
and 2018-11-20
for repo exercism/javascript
:
{
search(first: 100, query: "repo:exercism/javascript merged:2018-11-13..2018-11-20 type:pr is:merged", type: ISSUE) {
issueCount
nodes {
__typename
... on PullRequest {
title
mergedAt
}
}
}
}
result:
{
"data": {
"search": {
"issueCount": 8,
"nodes": [
{
"__typename": "PullRequest",
"title": "Fix ESLint errors in Flatten Array test script",
"mergedAt": "2018-11-19T06:31:15Z"
},
...
{
"__typename": "PullRequest",
"title": "Update example and tests for simple-linked-list",
"mergedAt": "2018-11-13T11:19:46Z"
}
]
}
}
}
Things that are close to the organisation's wellbeing are:
No idea if one of these is doable for hacktoberfest.
Please advise