+1 (and I'm bumming I only get a "1" for my +) This would be a really sweet addition to fossil. Consider caching under /var/tmp or something so that performance is decent.
I'm not sure you'd be able to deliver a precompiled binary with dependencies on fuse but being able to compile in this feature would be very appreciated. On Thu, Apr 24, 2014 at 1:11 PM, Richard Hipp <d...@sqlite.org> wrote: > > On Thu, Apr 24, 2014 at 3:47 PM, Andy Goth <andrew.m.g...@gmail.com>wrote: > >> What I most look forward to in libfossil is the potential to expose a >> repository, including all its yummy history, into a Unix filesystem. >> > > I don't think you need libfossil to do this. Looking at the "hello world" > example of fuse at > http://fuse.sourceforge.net/doxygen/hello_8c.html it seems to me that we > ought to be able to add a command (linux only) like, perhaps, > > fossil fuse $MOUNT_DIR > > and do everything that we need within the standard Fossil executable. I > propose adding this command in a new source file "src/fuse.c". (NB: The > foregoing is written without ever before used fuse or the fuse API, so > perhaps it is more difficult than I imagine.) > > The "fossil fuse" server would need to maintain a cache of recently > accessed manifests and of check-in names, for efficiency. But the "/doc" > URL already does that, so there is precedent. > > Maybe several different ways to access files: > > hash/$HASH/$filename > tag/$TAG/$HASH/$filename > date/$YYYYMMDD/$HHMMSS/$HASH/$filename > > In all of the above, $HASH would be the first 10 characters of the SHA1 > hash for the check-in if the hash is unique, or as many additional > characters as are needed to make it unique. We can think about ways of > adding support for wiki, events, and tickets later. > -- > D. Richard Hipp > d...@sqlite.org > > _______________________________________________ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > > -- Matt -=- 90% of the nations wealth is held by 2% of the people. Bummer to be in the majority...
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users