facebookarchive / mention-bot

Automatically mention potential reviewers on pull requests.
Other
3.36k stars 270 forks source link

Switch from parsing github.com to GraphQL API #217

Open trevorcreech opened 7 years ago

trevorcreech commented 7 years ago

This should be possible now with Github's "Early Access" GraphQL API.

Docs here: https://developer.github.com/early-access/graphql/

Sample query for blame of file at specific commit: https://gist.github.com/trevorcreech/df3b1780926b970f0f1d126eabea5aa9

mspangdal commented 7 years ago

Nice, they have blame age readily available to incorporate into algorithm too 👍

i1skn commented 7 years ago

Has somebody already started to work on that?

shaneog commented 7 years ago

Linking this to the other issue: https://github.com/facebook/mention-bot/issues/166#issuecomment-264432896

cancan101 commented 6 years ago

Any updates on either using GQL or some alternative to having to supply an account password?