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 acces

more git-annex plumbing

2012-04-16 Thread Thomas Koch
Hi, I have a few things that I'd like to do with git-annex but that are hard because git-annex does not expose internal plumbing commands. I intend to start a list of such commands here with possible use cases: - calculate checksum of a file - doesAnnexHasChecksum? - doesAnnexHasFile? Useful

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

Re: more git-annex plumbing

2012-04-16 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hello, Am Mo den 16. Apr 2012 um 10:59 schrieb Thomas Koch: > I have a few things that I'd like to do with git-annex but that are hard > because git-annex does not expose internal plumbing commands. I intend to > start a list of such commands here

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_PREL

Re: more git-annex plumbing

2012-04-16 Thread Joey Hess
Thomas Koch wrote: > Hi, > > I have a few things that I'd like to do with git-annex but that are hard > because git-annex does not expose internal plumbing commands. I intend to > start a list of such commands here with possible use cases: > > - calculate checksum of a file > - doesAnnexHasChec