Merge remote-tracking branch 'branchable/master'

This commit is contained in:
Joey Hess 2011-04-08 16:46:39 -04:00
commit 208ce72e7d
6 changed files with 48 additions and 1 deletions

View file

@ -0,0 +1 @@
I have files with very long filenames on an xfs at home. On my laptop the annex should have been checked out on an encfs, but there filenames can't be as long as on the xfs. So perhaps it would be good to limit the keysize to a sane substring of the filename e.g. use only the first 120 characters.

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="http://joey.kitenet.net/"
nickname="joey"
subject="comment 1"
date="2011-04-08T17:14:25Z"
content="""
Seems like you probably have files in git with nearly as long filenames as the key files. Course, you can rename those yourself.
This couldn't be changed directly in WORM without some ugly transition, but it would be possible to implement it as a WORM100 or so. OTOH, if you're going to git annex migrate, you might as well use SHA1.
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawkptNW1PzrVjYlJWP_9e499uH0mjnBV6GQ"
nickname="Christian"
subject="comment 3"
date="2011-04-08T07:31:03Z"
content="""
So perhaps checking if git-status (or similar) complains about missing files is a possible solution for this?
"""]]

View file

@ -0,0 +1,20 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawkptNW1PzrVjYlJWP_9e499uH0mjnBV6GQ"
nickname="Christian"
subject="comment 4"
date="2011-04-08T07:54:37Z"
content="""
And something else i've done is, that i symlinked the video/ directory from the media annex to the normal raid annex
ln -s ~/media/annex/video ~/annex
And it's working out great.
~annex $ git annex whereis video/series/episode1.avi
whereis video/series/episode1.avi(1 copy)
f210b45a-60d3-11e0-b593-3318d96f2520 -- Trantor - Media
ok
I really like this, perhaps it is a good idea to store all log files in every repo, but maybe there is a possibilitiy to to pack multiple log files into one single file, where not only the time, the present bit and the annex-repository is stored, but also the file key. I don't know if this format would also be merged correctly by the union merge driver.
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawkSq2FDpK2n66QRUxtqqdbyDuwgbQmUWus"
nickname="Jimmy"
subject="comment 1"
date="2011-04-08T07:23:08Z"
content="""
+1 for this feature, I've been longing for something like this other than rolling my own perl/shell scripts to parse the outputs of \"git annex whereis .\" to see how many files are on my machine or not.
"""]]

View file

@ -31,7 +31,7 @@
* git-annex is also not [boar](http://code.google.com/p/boar/),
although it shares many of its goals and characteristics. Boar implements
its own version control system, rather than simply embarcing and
its own version control system, rather than simply embracing and
extending git. And while boar supports distributed clones of a repository,
it does not support keeping different files in different clones of the
same repository, which git-annex does, and is an important feature for