From: Bryan Donlan Date: Mon, 24 Mar 2008 19:50:04 GMT Subject: Re: thread-safe libgit.a as a GSoC project, was Re: [SoC RFC] libsvn-fs-git: A git backend for the subversion filesystem Message-ID: <3e8340490803241250w186d6ae2l38031521c2d5c6c2@mail.gmail.com> In-Reply-To: On Sat, Mar 22, 2008 at 7:35 AM, Johannes Schindelin wrote: > Hi, > > On Sat, 22 Mar 2008, Bryan Donlan wrote: > > > On Wed, Mar 19, 2008 at 12:08 AM, Bryan Donlan wrote: > > > > > I'm planning to apply for the git summer of code project. My proposal > > > is based on the project idea of a subversion gateway for git, > > > implemented with a new subversion filesystem layer. A draft of my > > > proposal follows; I'd appreciate any comments/questions on it before > > > the application period proper begins. > > > > Thanks for all the comments. To try to avoid spamming the list, I've > > replied in a single message, if it'd be better to reply individually > > in the future please let me know. > > My preference is to have single replies, possibly changing the subject > ("xyz, was Re: blabla"), but it is maybe just me. > > > Also, after looking at libgit in a bit more detail, I think it might be > > necessary to not use it after all, as subversion requires support for > > multiple open repositories, as well as thread safety (at least when > > accessing different open repo from different threads). Perhaps a > > thread-safe git library would be a nice SoC project as well? > > As I said on IRC yesterday, I think that such a libgit.a would be nice, > _but_ > > - a lot of git programs expect to be one-shot, and libgit.a shows that, > > - not many people will help you with your effort, but just ignore it and > actively introduce things that do not help libification (at least that's > my experience), > > - unless you have a proper need for such a library, I do not think there > is enough motivation to actually get it to completion. > > I once thought that libification would be nice, and important, but as I do > not need it myself, I reversed my opinion. All right. If I do end up having to recreate (thread-safe, multiple-git-dir-safe) logic for my project, I'll try to keep in mind the possibility of spinning it off into a proper library later though :)