Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #110941

View committed code via gitpython

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Jason Bailey <JBailey@emerytelcom.com>
Newsgroups comp.lang.python
Subject View committed code via gitpython
Date Sat, 2 Jul 2016 05:04:31 +0000
Lines 12
Message-ID <mailman.14.1467435875.2295.python-list@python.org> (permalink)
References <8CA2692E-0B46-4F10-A692-F1584C6A0FB5@emerytelcom.com>
Mime-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de nVYX6w+StpS4QRZCGPbyHAzy6Xrm5FZbVnGYc+1waHrQ==
Return-Path <JBailey@emerytelcom.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.028
X-Spam-Evidence '*H*': 0.94; '*S*': 0.00; 'essentially': 0.04; 'subject:code': 0.07; 'commit': 0.15; 'received:io': 0.16; 'received:psf.io': 0.16; 'repo': 0.16; 'all,': 0.20; 'to:name :python-list@python.org': 0.20; 'trying': 0.22; 'matching': 0.23; 'module': 0.25; "i'm": 0.30; 'code': 0.30; 'anyone': 0.32; 'could': 0.35; 'jason': 0.35; 'quite': 0.35; 'to:addr:python- list': 0.36; 'received:10': 0.37; 'thanks': 0.37; 'charset:us- ascii': 0.37; 'listing': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.40; 'some': 0.40; 'savvy': 0.84; 'subject:via': 0.84
Thread-Topic View committed code via gitpython
Thread-Index AQHR1B83jutGoS7mBEKwPfqQ4xGhAg==
Accept-Language en-US
Content-Language en-US
X-MS-Has-Attach
X-MS-TNEF-Correlator
Content-ID <BFB2F87CF5CDA047A06252F27067490E@corp.emerytelcom.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <8CA2692E-0B46-4F10-A692-F1584C6A0FB5@emerytelcom.com>
Xref csiph.com comp.lang.python:110941

Show key headers only | View raw


Hi all,

I'm trying to essentially replicate "gift grep" functionality with gitpython and am not quite sure how to pull the committed code from the repo using gitpython. I am successfully listing all the commits, so now all I need to do is view the code in each commit to do some regex matching on it. Anyone savvy with this module that could steer me in the right direction???

Thanks

Jason

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

View committed code via gitpython Jason Bailey <JBailey@emerytelcom.com> - 2016-07-02 05:04 +0000

csiph-web