git2json
git2json copied to clipboard
Convert git logs to JSON for easy analysis
Hi 😄 , an exception occured to me when ```parse_message_line``` receives an empty string. When this occurs, ```parse_message_line``` returns None. After that, ```"\n".join``` throws an exception when one of the...
- Git commits can optionally be signed using GNU Privacy Guard (GPG). - Without checking for `gpgsig` in the `git` output, signed commits would be skipped by `git2json`. - Adds...
Python bindings for Git: https://www.pygit2.org/ [opening a repository](https://www.pygit2.org/repository.html) [parsing ids](https://www.pygit2.org/revparse.html) [revwalk in C](https://ben.straub.cc/2013/10/02/revwalk/) | [in python](https://www.pygit2.org/log.html) [commits](https://www.pygit2.org/objects.html#commits) [commit author](https://www.pygit2.org/objects.html#signatures) [tree-to-tree diffs](https://www.pygit2.org/objects.html#pygit2.Tree.diff_to_tree)
``` git2json --since 2018-01-01 usage: git2json [-h] [--git-dir GIT_DIR] git2json: error: unrecognized arguments: --since 2018-01-01 ``` Also other date formats and "this year" (which git log supports) don't work. -h...
I was playing around with http://nbviewer.ipython.org/urls/raw.github.com/tarmstrong/code-analysis/master/IPythonReviewTime.ipynb and noticed two issues: - The --git-dir expects the .git dir, but the error messages suggest it is looking for one directory up. See...
If I run git2json in my home directory, this happens: ``` tavish@temeraire:~ $ git2json fatal: Not a git repository (or any parent up to mount parent /home) Stopping at filesystem...