Hi, On Sun, Dec 20, 2009 at 02:49:19PM +0530, Shakthi Kannan wrote: > > This is in regard to a prototype implementation of gitfs translator > for a student project. The idea is to write a simple translator that > can query results from a remote git repository. > > * Which lib*fs translator can be used for this? cvsfs has been written > earlier using libnetfs.
Yes, libnetfs would be the one. > * Using gitweb, one can obtain the repo details from the URL. So, is > the following flow acceptable? > > gitfs translator->libcurl (HTTP request)->gitweb->HTTP response > > Appreciate any inputs in this regard, Perhaps I'm missing something as I don't know the details well enough, but why not maintain a temporary repository where you fetch (only) the needed repo objects on demand with the usual git commands, or perhaps the more low-level commands? Seems much more straightforward to me. Regards, Fredrik
