Skip to content

Add commit graph tools - #109

Open
dinhngtu wants to merge 1 commit into
mainfrom
dnt/commit-graph-tools
Open

Add commit graph tools#109
dinhngtu wants to merge 1 commit into
mainfrom
dnt/commit-graph-tools

Conversation

@dinhngtu

@dinhngtu dinhngtu commented Sep 3, 2026

Copy link
Copy Markdown
Member

The two tools help us investigate a patchqueue and identify potential fixes/discussions around each patch.

  • find-fixers-recursive.py takes a list of commit hashes (12 chars) and their titles, then emits a recursive relationship graph of what commits fix each patch, as well as commits that mention the patch's original hash(es) and title in their commit messages.
  • find-applied-fixes-recursive.py scans the list emitted by find-fixers-recursive.py and finds what has been and has not been applied to our tree.

Assisted-by: LLM * This is pretty much entirely vibe-coded.

@dinhngtu
dinhngtu requested a review from a team as a code owner September 3, 2026 13:11
@dinhngtu
dinhngtu force-pushed the dnt/commit-graph-tools branch from 5beab80 to dee9db4 Compare September 3, 2026 13:17
@dinhngtu

dinhngtu commented Sep 3, 2026

Copy link
Copy Markdown
Member Author

I'll try to convert this to its own tool directory (like g-r-r and kabi) Done

The two tools help us investigate a patchqueue and identify potential
fixes/discussions around each patch.

* find-fixers-recursive.py takes a list of commit hashes (12 chars) and
  their titles, then emits a recursive relationship graph of what
  commits fix each patch, as well as commits that mention the patch's
  original hash(es) and title in their commit messages.
* find-applied-fixes-recursive.py scans the list emitted by
  find-fixers-recursive.py and finds what has been and has not been
  applied to our tree.

Assisted-by: LLM
Signed-off-by: Tu Dinh <ngoc-tu.dinh@vates.tech>
@dinhngtu
dinhngtu force-pushed the dnt/commit-graph-tools branch from dee9db4 to cdfae9b Compare September 3, 2026 13:34
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.

1 participant