webconverger / git-fs Goto Github PK
View Code? Open in Web Editor NEWfuse + libgit2
Home Page: http://webconverger.org/upgrade
License: MIT License
fuse + libgit2
Home Page: http://webconverger.org/upgrade
License: MIT License
$ sudo git-fs -o rev=master . fs/ -d
opening repo before fuse_main
using rev master
using commit b28184b32fe496a68a7b9808fc7c91bd8c438970
using tree 280188f8a98533537b2546845f00b7216a8daa5b
FUSE library version: 2.9.2
nullpath_ok: 0
nopath: 0
utime_omit_ok: 0
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
INIT: 7.20
flags=0x000017fb
max_readahead=0x00020000
chrooting to /home/meta/stuff/.git
opening repo after fuse_main
success!
INIT: 7.19
flags=0x00000011
max_readahead=0x00020000
max_write=0x00020000
max_background=0
congestion_threshold=0
unique: 1, success, outsize: 40
^Clibgcc_s.so.1 must be installed for pthread_cancel to work
Note that I ^C only after trying to access the directory.
Apparantly gitfs_readdir isn't called, as that would yield debug output:
line 333, function gitfs_readdir
: debug("readdir called for '%s'\n", path);
$ pacman -Q fuse libgit2
fuse 2.9.2-1
libgit2 0.17.0-2
That libgit2 is the latest from the development branch (not as the version says 0.17.0-2).
Using ArchLinux, completely updated as of 3rd March 2013.
I pulled the latest libgit2 from https://github.com/libgit2/libgit2 and built it and am now trying to build git-fs...
here's the error I'm getting:
[ mstolten@numatt ~/work/gitfs/git-fs :) ] $ make
rm -f git-fs
gcc -Wall -lfuse -I/opt/local/mstolten/work/gitfs/PREFIX/usr/local/include -L/opt/local/mstolten/work/gitfs/PREFIX/usr/local/lib -lgit2 -o git-fs git-fs.c
git-fs.c: In function ‘gitfs_getattr’:
git-fs.c:185:3: warning: implicit declaration of function ‘git_tree_entry_attributes’ [-Wimplicit-function-declaration]
/tmp/cciwbqLK.o: In function gitfs_getattr': git-fs.c:(.text+0x551): undefined reference to
git_tree_entry_attributes'
/tmp/cciwbqLK.o: In function gitfs_read': git-fs.c:(.text+0x736): undefined reference to
git_tree_entry_attributes'
/tmp/cciwbqLK.o: In function gitfs_readlink': git-fs.c:(.text+0x87a): undefined reference to
git_tree_entry_attributes'
collect2: error: ld returned 1 exit status
make: *** [git-fs] Error 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.