Re: [RFC] git fs translator

2009-12-23 Thread olafBuddenhagen
Hi, On Wed, Dec 23, 2009 at 01:08:50AM +0100, Thomas Schwinge wrote: > Isn't Git implemented in terms of an (internal?) library like libgit > (or similar), these days? I don't think so... Even if it is, it definitely doesn't have a stable and/or public API. The command line is the API -- that's

Re: [RFC] git fs translator

2009-12-23 Thread olafBuddenhagen
Hi, 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 object

Re: [RFC] git fs translator

2009-12-22 Thread Shakthi Kannan
Hi, --- On Wed, Dec 23, 2009 at 5:38 AM, Thomas Schwinge wrote: | That's the one to use.  Here is a tutorial for libnetfs: | . \-- Thanks. --- | Isn't Git implemented in terms of an (internal?) library like libgit (or | similar), these days?

Re: [RFC] git fs translator

2009-12-22 Thread Thomas Schwinge
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 b

Re: [RFC] git fs translator

2009-12-20 Thread Carl Fredrik Hammar
Hi, On Sun, Dec 20, 2009 at 07:47:27PM +0530, Shakthi Kannan wrote: > > --- On Sun, Dec 20, 2009 at 7:43 PM, Carl Fredrik Hammar > wrote: > | 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 m

Re: [RFC] git fs translator

2009-12-20 Thread Shakthi Kannan
Hi, --- On Sun, Dec 20, 2009 at 7:43 PM, Carl Fredrik Hammar wrote: | 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? \-- Sorry, which git commands or low-level commands

Re: [RFC] git fs translator

2009-12-20 Thread Carl Fredrik Hammar
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 b

[RFC] git fs translator

2009-12-20 Thread Shakthi Kannan
Hi, 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. * Using gitw