Convert git logs to JSON for easier analysis.
Project description
Convert git logs to JSON for easier analysis.
Free software: BSD license
Documentation: http://git2json.rtfd.org.
Usage
usage: git2json [-h] [--git-dir GIT_DIR] optional arguments: -h, --help show this help message and exit --git-dir GIT_DIR Path to the .git/ directory of the repository you are targeting
The resulting JSON log is printed to standard output.
Example JSON
The following shows the structure of the JSON emitted by the tool.
[{ "committer": { "date": 1379903278, "timezone": "-0400", "name": "Tavish Armstrong", "email": "tavisharmstrong@gmail.com" }, "parent": "e307663594031738c932877c8589552d5aafc953", "author": { "date": 1379903278, "timezone": "-0400", "name": "Tavish Armstrong", "email": "tavisharmstrong@gmail.com" }, "tree": "bd03127651335e3a51241f507f3bf194d8336485", "commit": "d06454c160218b4a782afad2429abda1add54df0", "message": "Allow user to specify git-dir on the command line.", "changes": [ [23, 3, "git2json/__init__.py"] ] }, // ... More commits ]
History
0.1.0 (2013-08-11)
First release on PyPI.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
git2json-0.1.0.tar.gz
(6.1 kB
view hashes)
Built Distribution
Close
Hashes for git2json-0.1.0.linux-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07288a8a85104f9ae6bf6ac6207ed5058475c40d1db8bbf6fda11a4f47252b87 |
|
MD5 | 1d58a4949aed8111163fc250e5a8d716 |
|
BLAKE2b-256 | 1b0f5d3eca4ba242564f438c5ba17ee2330ee6b25f3d155f634c61e32804408a |