Show: File-based heatmap of pull-request changes of the helix project #6191
Unanswered
michaeljones
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I find myself interested in how this project runs given the huge number of PRs that are created and the effort that goes into managing them.
In the long run, I feel like it might be useful to have some kind of queueing system based on how your changes conflict with changes of other pull requests and what is considered high priority and what was opened first (and other metrics.)
As a first step, I've put together some code that attempts to pull in all the open pull requests and examine what changes they have made. It partly uses git commands and partly uses the libgit2 rust bindings and uses the json output of the
gh pr list
as a starting point. In the end, I've generated a kind of heatmap of currently active files. I imagine the results aren't the slightest bit surprising to anyone that is more actively involved in the project but I thought it was an interesting thing to see and a first step towards pulling more data out of the system.Click for long heatmap image
I've just uploaded the code here: https://github.com/michaeljones/public-relations - not sure this'll go anywhere but it is a bit of fun.
Edit: Added a README to make the project a little more approachable.
Beta Was this translation helpful? Give feedback.
All reactions