ncsokas / github-actions-training

MIT License
0 stars 0 forks source link

Write a git internals structure visualiser #86

Open ncsokas opened 2 months ago

ncsokas commented 2 months ago

It would be really cool to have a tool that can run through (small) git repos, and create a diagram of the entire structure including tree and blob objects. There are plenty of tools for visualising only the commit graph, but I have found nothing that can really show the internals.

┆Card is synchronized with this Github issue by Unito

ncsokas commented 2 months ago

Jan Krag commented in Trello:

Zander hacked up a quick Python script today as an initial starting point. This prints out a tree structure to console.

Zander and I then started investigating if we can generate output for Mermaid.js to render, but this is WIP.

This would make a fun pair/mob hackathon session as there is potential for parallel work on improving the python traversal while also investigating how to improve the visualisation in Mermaid (or something else)..

ncsokas commented 2 months ago

Jan Krag commented in Trello:

@zah23 Can you share what you have hacked together so far.

ncsokas commented 2 months ago

Zander Havgaard commented in Trello:

@jankrag2

All files are on branch "tree-vis" in git-katas reop :-) https://github.com/eficode-academy/git-katas/tree/tree-vis/utils/tree-vis

ncsokas commented 2 months ago

Jan Krag commented in Trello:

I constructed a working version of this during a previous Spike friday where we were testing out ChatGPT. I will publish it on GH at some point.