active-forks icon indicating copy to clipboard operation
active-forks copied to clipboard

use graphql to request repo & fork info

Open techgaun opened this issue 6 years ago • 1 comments

This does not work yet. Also, github graphql requires oauth token right now so not really interested in getting this in until github probably provides read-only access without token

techgaun avatar Apr 10 '19 04:04 techgaun

graphQL can also get fork commits, see here

so we can get ahead/behind status of forks with just one query and even more fancy stuff like plotting a commit graph

This does not work yet.

i even got variables and pagination to work ^^ included suggestions for oauth, fetch-retry, graphql-client

github graphql requires oauth token right now so not really interested in getting this in until github probably provides read-only access without token

poor excuse : P the benefits of graphql are well worth the "sign in with github" click we can still offer a "light version" without login

related projects:

github has its own network graph in the repo-insights menu

gitgraph.js can render commit graphs in html + svg has support for different graph styles

graphql rover is a graphQL schema browser, rendering to canvas/webGL

a study on: Commit graph drawing algorithms

SO/pretty-git-branch-graphs has a huge list of commit graphs and SO/visualizing-branch-topology-in-git has even more its hard to choose only one graph style, so ideally provide a variety of styles

toddsifleet.com/projects/github-forks is another github fork browser, also with d3.js visuals [found here]

hbt/git-forks-analysis is a git fork analyzer, only html

milahu avatar Dec 25 '19 08:12 milahu