bug-hurd
[Top][All Lists]
Advanced

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

Re: [RFC] git fs translator


From: Thomas Schwinge
Subject: Re: [RFC] git fs translator
Date: Wed, 23 Dec 2009 01:08:50 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

Hello!

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.

That's the one to use.  Here is a tutorial for libnetfs:
<http://www.gnu.org/software/hurd/hurd/libnetfs.html>.


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

Why don't you start simpler: work on a *local* repository (that is, one
that has already been cloned, for example)?  I suggest to start by
writing a translator for translating the Git repository (that is, the
content of the .git directory) into a directory / filesystem hierarchy.

Isn't Git implemented in terms of an (internal?) library like libgit (or
similar), these days?  Perhaps you could use that one, too?  Doing so
would greatly simplify the project.


One important task is: how to map the content of the Git repository into
a filesystem hierarchy.


Regards,
 Thomas

Attachment: signature.asc
Description: Digital signature


reply via email to

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