bug-hurd
[Top][All Lists]
Advanced

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

Re: [RFC] git fs translator


From: Shakthi Kannan
Subject: Re: [RFC] git fs translator
Date: Wed, 23 Dec 2009 11:06:34 +0530

Hi,

--- On Wed, Dec 23, 2009 at 5:38 AM, Thomas Schwinge
<thomas@schwinge.name> wrote:
| That's the one to use.  Here is a tutorial for libnetfs:
| <http://www.gnu.org/software/hurd/hurd/libnetfs.html>.
\--

Thanks.

---
| Isn't Git implemented in terms of an (internal?) library like libgit (or
| similar), these days?
\--

Will look into this.

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

My initial idea is to use:

  a-repo/<branches>/<commits>/<diffs>

Most of the git web interfaces return HTML. I was hoping that if they
returned XML, it would be consistent, and simpler to parse (libnxml)
them and use it. cgit, for example, uses a html() method to write HTML
content.

Some web interfaces provide RSS/Atom, but, that is only for the
top-level commits. There are some Ruby on Rails git projects that
return plain text for diffs, which is good.

Regards,

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com




reply via email to

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