Re: intercept file access to git-annex repos

2012-04-16 Thread Joey Hess
Thomas Koch wrote:
> Hi,
> 
> still about photos and git-annex: When my wife edits photos prior to 
> uploading 
> them, it would be fine if she wouldn't need to know about git-annex. Hacking 
> git-annex support in every photo application is no option.
> 
> But is there any linux kernel or LD_PRELOAD magic that could intercept access 
> to a git-annex repo and make it look "normal"? (I just realize that we 
> already 
> talked about a fuse filesystem for git-annex.)

http://git-annex.branchable.com/todo/automatic_bookkeeping_watch_command/

I have a proof of concept branch using inotify, however, to make it
truely end user friendly with syncing is going to be a lot more work. I
have been thinking about doing a Kickstarter to pay for 3 months of my
time to seriously tackle this.

-- 
see shy jo


signature.asc
Description: Digital signature
___
vcs-home mailing list
vcs-home@lists.madduck.net
http://lists.madduck.net/listinfo/vcs-home

Re: intercept file access to git-annex repos

2012-04-16 Thread Karsten Heymann
Hi,

Am 16. April 2012 11:47 schrieb Thomas Koch :
> still about photos and git-annex: When my wife edits photos prior to uploading
> them, it would be fine if she wouldn't need to know about git-annex. Hacking
> git-annex support in every photo application is no option.
>
> But is there any linux kernel or LD_PRELOAD magic that could intercept access
> to a git-annex repo and make it look "normal"? (I just realize that we already
> talked about a fuse filesystem for git-annex.)

maybe hack something with inotify instead of LD_PRELOAD?

Best,
Karsten
___
vcs-home mailing list
vcs-home@lists.madduck.net
http://lists.madduck.net/listinfo/vcs-home


intercept file access to git-annex repos

2012-04-16 Thread Thomas Koch
Hi,

still about photos and git-annex: When my wife edits photos prior to uploading 
them, it would be fine if she wouldn't need to know about git-annex. Hacking 
git-annex support in every photo application is no option.

But is there any linux kernel or LD_PRELOAD magic that could intercept access 
to a git-annex repo and make it look "normal"? (I just realize that we already 
talked about a fuse filesystem for git-annex.)

The interceptor should show the real files instead of symlinks and should do an 
edit-add roundtrip for any write access.

Regards,

Thomas Koch, http://www.koch.ro
___
vcs-home mailing list
vcs-home@lists.madduck.net
http://lists.madduck.net/listinfo/vcs-home