Re: [ANNOUNCE]: PyGit and libgit-thin

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Luiz Fernando N. Capitulino <lcapitulino@...>
Cc: <git@...>, Shawn O. Pearce <spearce@...>
Date: Wednesday, July 25, 2007 - 3:50 pm

On Mon, Jul 23, 2007 at 09:35:47AM -0300, Luiz Fernando N. Capitulino wrote:

The python module would really be useful to StGIT.  Currently, an
stgit commands typically has to fork several git commands at least,
and using library calls instead would surely help with the
performance.

I had a quick look at the current pygit API (as described in the
README), and I find the current revlist one somewhat confusing.  Why
using post-contructor methods, and not using named args in the
constructor itself ?

That is, the example reading:

...  print commit.id()
... 


would be IMHO much nicer to use as:

...                   count = 10,
...                   show_merges = true)
...
...  print commit.id()
... 


What do you think ?

Best regards,
-- 
Yann
-
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:
[ANNOUNCE]: PyGit and libgit-thin, Luiz Fernando N. Capitulino..., (Mon Jul 23, 8:35 am)
Re: [ANNOUNCE]: PyGit and libgit-thin, Yann Dirson, (Wed Jul 25, 3:50 pm)
Re: [ANNOUNCE]: PyGit and libgit-thin, Luiz Fernando N. Capitulino..., (Wed Jul 25, 4:55 pm)
Re: [ANNOUNCE]: PyGit and libgit-thin, David Kastrup, (Wed Jul 25, 3:57 pm)
Re: [ANNOUNCE]: PyGit and libgit-thin, Jan Hudec, (Wed Jul 25, 5:21 pm)