Git Product home page Git Product logo

gitlogparser's Introduction

GitLogParser

Python script to parse 'git log'

Usage

Script is intented to be used via commandline where you pipe 'git log' output to the script. For example:

> git log | gitLogParser.py

Example

git log output:

commit 80eab6766c4718cb27d4f6aa40bf71e79ba3ebcc
Author: John Chiu <[email protected]>
Date:   Sun Oct 13 17:59:43 2013 -0700

    Upgraded to 4.X and added Fragments

commit 30ce75f436a0b8a493e022c20e4c3d7138126030
Author: johnkchiu <[email protected]>
Date:   Sun Oct 13 17:00:24 2013 +0000

    Created new branch dev

commit 2677b9d6d8b100d85fbd6da1b4a4187a21b676ab
Author: John Chiu <[email protected]>
Date:   Tue Oct 16 20:33:33 2012 -0700

    - Rewrote song properties
    - Added Android Support Library
    - Clean up some code

commit 55b61986d82842f20788310cf7ffe4a02ca49437
Author: Chiu <jchiu@LM-SJN-00713306.(none)>
Date:   Thu Apr 5 23:43:30 2012 -0700

    Added back Eclipse files
...

script output:

[jchiu@laptop]$ git log | ~/bin/gitLogParser.py
Author           Email                 Hash      Message
=================================================================================
John Chiu        [email protected]      80eab67   Upgraded to 4.X and added Fragments
johnkchiu        [email protected]   30ce75f   Created new branch dev
John Chiu        [email protected]      2677b9d   - Rewrote song properties
Chiu             jchiu@LM-SJN-0071330  55b6198   Added back Eclipse files
Chiu             jchiu@LM-SJN-0071330  1af4d7d   Added songs.properties file and data models
Chiu             jchiu@LM-SJN-0071330  884293f   Merge branch 'master' of https://bitbucket.org/... 
Chiu             jchiu@LM-SJN-0071330  006b306   Added splash screen and refactor filenames
Chiu             jchiu@LM-SJN-0071330  7b9ce47   Added splash screen and refactor filenames
Chiu             jchiu@LM-SJN-0071330  5885eb7   Working MediaService, SongList and SongView
Chiu             jchiu@LM-SJN-0071330  c6f4003   Remove bin and gen directories

gitlogparser's People

Contributors

johnkchiu avatar kbruegge avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.