[Top][All Lists]

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

Re: [RFC] git fs translator

From: olafBuddenhagen
Subject: Re: [RFC] git fs translator
Date: Tue, 22 Dec 2009 18:51:30 +0100
User-agent: Mutt/1.5.19 (2009-01-05)


On Sun, Dec 20, 2009 at 02:49:19PM +0530, Shakthi Kannan wrote:

> The idea is to write a simple translator that can query results from a
> remote git repository.

The "remote repository" part really makes it tricky. I'm not aware of
any public API in Git that allows fetching individual objects from
remote repositories independent of the used transport mechanism...
That's not the usual way of working with Git.

I'd strongly suggest dropping the "remote" part.

> * 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

I wouldn't approve of such an implementation. It would be pretty
fragile; and it would be a gitwebfs rather than a gitfs...


reply via email to

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