Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use graphql to request repo & fork info #22

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

use graphql to request repo & fork info #22

wants to merge 2 commits into from

Conversation

techgaun
Copy link
Owner

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

@milahu
Copy link

milahu commented Dec 25, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants