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

Re: End year project : minimal Git client based on libgit2

From
Andreas Ericsson <ae@op5.se>
Date
May 19, 2011, 06:18 UTC
Message-ID
<4DD4B648.8040509@op5.se>
In-Reply-To
<BANLkTinGPvekMDT5nmsFQp3SpR_QOYq+UA@mail.gmail.com>
On 05/18/2011 06:42 PM, Marc Pegon wrote:
Show 9 quoted lines
> Hello everyone. We are a team of four students from a French school of
> engineering (Ensimag: http://ensimag.grenoble-inp.fr/). To end the
> school year, we are supposed to work on a four-week full-time project,
> under the supervision of Matthieu Moy, who has been following Git's
> development for quite a few years now. We thought it would be
> interesting to contribute to git/libgit2. We are especially interested
> in one of the GSoC2011 ideas : Build a minimal Git client based on
> libgit2 (http://git.wiki.kernel.org/index.php/SoC2011Ideas#Build_a_minimal_Git_client_based_on_libgit2)
> 
Cool project :)
Show 8 quoted lines
> We started by taking a look at libgit2 API and Git source code, and we
> have already begun to write some (quick and dirty) code.
> We would like to know more about your expectations around the
> "minimal" git client. What are the key features to implement ?
> According to the GSoC proposal, we should implement some high level
> functionalities (push, commit, branch...). Perhaps we should
> concentrate on more "plumbing" commands ?
> 

If you can make the plumbing commands work it should be trivial to script the other tools on top of the plumbing.

Otoh, coding up the commands currently implemented as scripts in C with libgit2 as backend would increase the chance of acceptance into git.git proper, since you'd then be doing something worthwhile for the git core.

Then again, creating bindings into other languages and writing up the minimal git in python or some such would also be extremely useful and worthwhile, and probably faster than writing the minimal git from scratch in C as well.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.
Previous: Marc PegonNext: Romain Geissler
Message 2 of 3 in “End year project : minimal Git client based on libgit2”
  1. Marc PegonMay 18, 2011
  2. Andreas EricssonMay 19, 2011
  3. Romain GeisslerMay 19, 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.