git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: start of git2 (based on libgit2)

From
Motiejus Jakštys <desired.mta@gmail.com>
Date
Mar 26, 2011, 02:13 UTC
Message-ID
<20110326021300.GC2934@jakstys.lt>
In-Reply-To
<4D8D2B31.4040908@lyx.org>
On Sat, Mar 26, 2011 at 12:54:25AM +0100, Vincent van Ravesteijn wrote:
Show 12 quoted lines
> On 26-3-2011 0:12, Motiejus Jakštys wrote:
> >According to Jeff King[2], I should start with plumbing commands. I
> >agree.  However, how deep?  I.e. do I have to make sure all git rev-list
> >possible arguments are implemented?
> 
> I guess a lot can be copied from Git itself. Actually
> builtin/rev-list.c consists mostly of command line arguments parsing
> methods, and outputting functions. The key is to parse what you want
> to know and ask libgit2 to provide the info. If libgit2 has
> implemented the basic functionality that is needed, the rest would
> be relatively simple.
> AFAICS, current git is a single binary on Windows already.

So I have the answer. Thank you. Further working path is getting clearer. Finish with rev-list, make it work with t/. Then pick up dependencies of one of the must-have commands (commit/merge/diff?), implement them and implement the command.

Show 7 quoted lines
> 
> >Build tool. Currently libgit2 uses waf. I am not against it (I've chosen
> >waf for one of my own C++ projects), However, it's too clumsy for me. Is
> >it me who lacks experience? Scons looks much easier for me. Moreover, we
> >do not need automatic configuration, so it makes waf "overfeatured".
> 
> Why not CMake which is also used for libgit2 ?

Did not notice that. I noticed wscript and stopped looking... I never tried CMake before. But I have nothing against it.

> 
> I already wrote a CMakeLists file for your git2 app.
Very nice. Pull request? Patch?
> 
> As you know, this project can be possibly fulfilled by a GSoC
> student (either you or someone else). Maybe people are awaiting this
> before diving into the project.

Competition is a good thing. The most important thing is picking the best choice.

Thank you Vincent, Motiejus

Previous: Vincent van RavesteijnNext: Jeff King
Message 3 of 7 in “start of git2 (based on libgit2)”
  1. Motiejus JakštysMar 25, 2011
  2. Vincent van RavesteijnMar 25, 2011
  3. Motiejus JakštysMar 26, 2011
  4. Jeff KingMar 26, 2011
  5. Junio C HamanoMar 27, 2011
  6. Vincent van RavesteijnMar 27, 2011
  7. Sam VilainMar 26, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.