Closed TechplexEngineer closed 11 years ago
Hey Blake,
Theoretically it could be quite easy. You can export and import trees with the export tree
and import tree
command, so I already have support for arbitrary loading.
I would just need a bash script that would take a git repo, parse the structure of the branches, and put it into the format that my vis accepts. For most repros this would make a nice visualization, but if there were orphan branches (or stale branches that were hundreds of commits back) it might degrade :-/
It would be nice to run a quick bash command and then open up the "status" of your repro in the browser. Is that how you would use it?
You hit the nail on the head.
This would be a totally awesome feature.
I wonder if there would be a way to rig this up to write the json from the bash script to a file then pass the file location as a querystring parameter to have the engine load it.
Cheers, Blake
Great, I'll leave the task open then since it's a cool idea. I have a script that can easily find the difference in commits between other branches and master, it would just be a matter of putting that into JSON.
It'd actually be easiest to encode the json and stick it in the URL which the engine would load upon init. I have a bunch of hidden-ish query parameters that I abuse all the time for sending people examples, this could be another one of them
You may be interested in working with ungit http://www.youtube.com/watch?v=hkBVAi3oKvo&feature=youtu.be
Yeah I saw this, it's awesome!!!! Looks like someone closed this out for me :D
On Tue, Aug 20, 2013 at 9:40 PM, Ryan Leach notifications@github.comwrote:
Yhttp://www.youtube.com/watch?v=hkBVAi3oKvo&feature=youtu.be
— Reply to this email directly or view it on GitHubhttps://github.com/pcottle/learnGitBranching/issues/119#issuecomment-22995095 .
Peter M Cottle UC Berkeley Class of 2012 Master's of Science, Mechanical Engineering UC San Diego Class of 2011 Bachelor's of Science, Mechanical Engineering (408) 455 9405
"Equipped with his five senses, man explores the universe around him and calls the adventure Science." - Edwin Hubble
Right now I'm not sure if it makes sense to work together per se, but I'd be really interested to see how ungit parses out the underlying tree structure and how I could leverage that with my app. Glad it's open source!
This isn't really an issue, but I am wondering how hard it would be to use the visualizer on an existing git repo. I really like how the tree looks.