login
Header Space

 
 

Re: Using git from Python

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Eric Hanchrow <offby1@...>
Cc: <git@...>
Date: Thursday, May 8, 2008 - 12:23 am

On Wed, May 7, 2008 at 8:54 PM, Eric Hanchrow <offby1@blarg.net> wrote:

There have been many questions about this lately.
For the impatient, grab git.py from the python-git directory of the
ugit project:

http://repo.or.cz/w/ugit.git?a=tree;f=python-git;h=1ef75cef116ce750b5bdf5dd38a4cf1ab2c...

http://repo.or.cz/w/ugit.git

I will work on making git.py a separate python-git project, upload it
to pypi, and create a separate repo for it very soon.

The interface is blazingly simple.  It is a 1:1 correspondance to the
git command line interface.  e.g. git.commit(F='/some/path.txt',
s=True)

There are many examples in the t/ directory and within the ugit
project itself.  Let me know offline if you have any questions.  The
documentation could probably use some work.

-- 
 David
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Using git from Python, Eric Hanchrow, (Wed May 7, 11:54 pm)
Re: Using git from Python, David Aguilar, (Thu May 8, 12:23 am)
speck-geostationary