[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] git fs translator

From: Carl Fredrik Hammar
Subject: Re: [RFC] git fs translator
Date: Sun, 20 Dec 2009 15:13:44 +0100
User-agent: Mutt/1.5.20 (2009-06-14)


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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]