-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend GraphQL request schema to pull statistics for PRs #22
base: main
Are you sure you want to change the base?
Conversation
@robertbindar awesome to hear that this tool is useful for your community! Something I have wrestled with is: how can we make the GraphQL queries extensible in a way that doesn't require a PR each time we want extra information. I wonder if there could be a section of the PR and ISSUES queries that is configurable at the command-line level. Basically it would insert a few query parameters at request time. Any thoughts on that? (and either way, this PR looks good to me...I think we can leave the extensible queries bit for another issue...my only concern is that at some point users will start hitting request limits if we ask for everything, I see you've already run into this somewhat in #23 ) |
btw - as you're doing community activity analysis, perhaps you'd be interested to see the original repository that motivated the creation of this tool for me :-) https://github.com/choldgraf/jupyter-activity-snapshot e.g.: It's another open source community that I've been a part of, and I've found this tool helpful in getting high-level views of what's going on. I'm also still trying to figure out the right way to download and cache the data that is downloaded (#18)...if you have any ideas on that, I'd love to discuss or take a look at any PRs |
@choldgraf many thanks for the quick answer! :-) On caching downloaded data (#18), On configurable GraphQL requests, |
Of course not!
yep I was imagining something like that too |
Hi!
As part of our efforts to analyze how well we're doing in handling community contributions, MariaDB Foundation ended up using this awesome tool for pulling GitHub activity from MariaDB/server repo. In this process we realized it's useful to have some more statistics for each PR (lines added, lines deleted, number of changed files).
Here's is what we changed to make this work. If you think this may break existing apps/script using github-activity, I can include this functionality under a "--include-pr-stats" option.
Many thanks for this work and please let me know if there's anything I can help with.