Re: [announce] Sharebox, a FUSE filesystem relying on git-annex

2011-06-12 Thread Harley J Pig
Thank you for taking the time to do this.

On Sun, Jun 12, 2011 at 11:52, Richard Hartmann
 wrote:
> * no use strict in validate_metadata?

How embarassing!  Thank you for pointing that out.  I have no idea how
that happened.  I *always* start writing my perl scripts with 'use
strict; use warnings;' ... excuses excuses

> * validate_metadata uses -e, not -f to check of .metafile exists

Good point, fixed.

> * .metafile seems to reside in $GIT_WORK_TREE/.git/hooks, not in 
> $GIT_WORK_TREE?

I'm not sure where you're seeing this.  build_metafile blindly opens a
file relative to the directory 'git --rev-parse --show-toplevel'
reports.  post-commit calls 'build_metafile .metafile' which will
create .metafile in the git repo toplevel directory.

> * post-commit sets $OLDPWD, but does not use it. Why?

It's a relic of the original project I scavanged from.  This has been fixed.

> * post-merge seems to be buggy and a no-op?

post-merge is, or should be, a symlink to post-commit.

> * post-commit will always clobber all local data. This seems to be unsafe.

I'm not sure what you mean.  .metafile will be overwritten with the
current information but since its being committed to the repository
the changes will always be accessible.  Nothing else is affected.
-- 
Harley J Pig
___
vcs-home mailing list
vcs-home@lists.madduck.net
http://lists.madduck.net/listinfo/vcs-home


Re: [announce] Sharebox, a FUSE filesystem relying on git-annex

2011-04-10 Thread Harley J Pig
On Sun, Apr 10, 2011 at 18:12, Richard Hartmann
 wrote:
> Done.

Thanks.
-- 
Harley J Pig
___
vcs-home mailing list
vcs-home@lists.madduck.net
http://lists.madduck.net/listinfo/vcs-home


Re: [announce] Sharebox, a FUSE filesystem relying on git-annex

2011-04-10 Thread Harley J Pig
On Sun, Apr 10, 2011 at 09:48, Richard Hartmann
 wrote:
> Are you willing to bounce that onto the git list or should I do so?

I'm not subscribed to that list, go ahead and post it if you would.  Thank you.
-- 
Harley J Pig
___
vcs-home mailing list
vcs-home@lists.madduck.net
http://lists.madduck.net/listinfo/vcs-home


Re: [announce] Sharebox, a FUSE filesystem relying on git-annex

2011-04-10 Thread Harley J Pig
I've written a metastore clone for a project where we need to store a
linux distribution in version control (legacy code).  I'm also using
it for my personal vcs-home stuff.  It is a naive and bluntly
straightforward way to do this, but it seems to be working.  You can
find it at https://github.com/harleypig/gitperms

I use git hooks and a central file to (re)store the metadata.  Maybe
it can be of some use to someone else.
-- 
Harley J Pig
___
vcs-home mailing list
vcs-home@lists.madduck.net
http://lists.madduck.net/listinfo/vcs-home