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

Re: start of git2 (based on libgit2)

From
Sam Vilain <sam@vilain.net>
Date
Mar 26, 2011, 06:33 UTC
Message-ID
<4D8D88AF.9010306@vilain.net>
In-Reply-To
<20110325231203.GA7961@jakstys.lt>
On 26/03/11 12:12, Motiejus Jakštys wrote:
> 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".

Another one you might like to look at is "ccanlint" - it wraps a whole bunch of things that make for exceptional quality code, such as code coverage by the test suite, documentation coverage, compilable examples, even cranks it up using valgrind to check that it's right.

As far as your question about how much to implement or bring across from git - try to do it feature by feature, with reference to the test suite and make sure each feature has a test. It's a very bad idea IMHO to port across untested features. I'd much rather have a core set of commands which are well tested and stable, than a handful of fully-implemented but buggy commands.

Sam
Previous: Vincent van Ravesteijn
Message 7 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.