Open karagenit opened 7 years ago
Comparing Commits:
https://developer.github.com/v3/repos/commits/#compare-two-commits
Doesn't appear to exist in the GraphQL API. Additionally, doing this with the v3 API would cost 1 request per comparison, which isn't really feasible.
Re: comparing commits:
We could only run the comparison on repos above a certain point threshold, see #18
... on Commit
from a ref connection...
^^^
Can get the master refs of both the parent and each fork, and compare them. To see how many ahead/behind the fork is, could trace through the history
of both parent & fork - accuracy up to say 20?
Can't list commits of a repo - can only get
ref
s andcommitComments
. Could run a separate query with a random commit's ID and then get it'shistory
.Only way to look at commits: