Improving core-dev workflow by quickly finding PRs that deals with particular module

(Sanyam Khurana) #1


I just worked on this in the PyCon Sprints:

Source code here:

You can search for directories or files you maintain and it will filter the list of PRs that has edited those files.

These all are open pull requests.

This is based on @csabella’s work. @vstinner @csabella and I discussed this in the sprint and I quickly developed this prototype.

If this is something we would like to use, I can clean up things and deploy it somewhere.

Please let me know your thoughts!


(Victor Stinner) #2

I love it and I want it now :slight_smile:

1 Like
(Stéphane Wirtel) #3

Hi, I am also interested but mainly by the code and your interaction with the Github API. Where is the code?

Thank you

(Sanyam Khurana) #4


You can find the code here:

We would probably need to clean up the code a bit and hit the GitHub Server in parallel to fetch the data faster.

(Stéphane Wirtel) #5

I have started a new version of your script with aiohttp and the GraphQL api of GitHub. I can get the PRs and their files in few seconds.

(Sanyam Khurana) #6

Amazing! I’ll be heading out in an hour and take a look later in the day!