Merge remote-tracking branch 'origin/master' into reorg
This commit is contained in:
commit
539083b847
15 changed files with 162 additions and 0 deletions
|
@ -0,0 +1,10 @@
|
|||
[[!comment format=mdwn
|
||||
username="https://www.google.com/accounts/o8/id?id=AItOawl9sYlePmv1xK-VvjBdN-5doOa_Xw-jH4U"
|
||||
nickname="Richard"
|
||||
subject="comment 1"
|
||||
date="2011-03-15T14:11:27Z"
|
||||
content="""
|
||||
Keep in mind that lots of small files may have significant overhead, so a warning that it's not possible to make sure there's enough space would make sense for certain corner cases. Actually finding out the exact overhead is beyond git-annex' scope and, given transparent compression etc, ability, but a warning, optionally with a \"do you want to continue\" prompt can't hurt.
|
||||
|
||||
-- RichiH
|
||||
"""]]
|
|
@ -0,0 +1,8 @@
|
|||
[[!comment format=mdwn
|
||||
username="http://joey.kitenet.net/"
|
||||
nickname="joey"
|
||||
subject="comment 2"
|
||||
date="2011-03-16T03:04:50Z"
|
||||
content="""
|
||||
Right. You probably don't want git-annex to fill up your entire drive anyway, so if it tries to reseve 10 mb or 1% or whatever (probably configurable) for overhead, that should be good enough.
|
||||
"""]]
|
|
@ -0,0 +1,27 @@
|
|||
[[!comment format=mdwn
|
||||
username="praet"
|
||||
ip="81.240.159.215"
|
||||
subject="Use variable symlinks, relative to the repo's root ?"
|
||||
date="2011-03-10T16:50:28Z"
|
||||
content="""
|
||||
It all boils down to the fact that the path to a relative symlink's target is determined relative to the symlink itself.
|
||||
|
||||
Now, if we define the symlink's target relative to the git repo's root (eg. using the $GIT_DIR environment variable, which can be a relative or absolute path itself), this unfortunately results in an absolute symlink, which would -for obvious reasons- only be usable locally:
|
||||
|
||||
user@host:~$ mkdir -p tmp/{.git/annex,somefolder}
|
||||
user@host:~$ export GIT_DIR=~/tmp
|
||||
user@host:~$ touch $GIT_DIR/.git/annex/realfile
|
||||
user@host:~$ ln -s $GIT_DIR/.git/annex/realfile $GIT_DIR/somefolder/file
|
||||
user@host:~$ ls -al $GIT_DIR/somefolder/
|
||||
total 12
|
||||
drwxr-x--- 2 user group 4096 2011-03-10 16:54 .
|
||||
drwxr-x--- 4 user group 4096 2011-03-10 16:53 ..
|
||||
lrwxrwxrwx 1 user group 33 2011-03-10 16:54 file -> /home/user/tmp/.git/annex/realfile
|
||||
user@host:~$
|
||||
|
||||
So, what we need is the ability to record the actual variable name (instead of it's value) in our symlinks.
|
||||
|
||||
It *is* possible, using [variable/variant symlinks](http://en.wikipedia.org/wiki/Symbolic_link#Variable_symbolic_links), yet I'm unsure as to whether or not this is available on Linux systems, and even if it is, it would introduce compatibility issues in multi-OS environments.
|
||||
|
||||
Thoughts on this?
|
||||
"""]]
|
|
@ -0,0 +1,8 @@
|
|||
[[!comment format=mdwn
|
||||
username="http://joey.kitenet.net/"
|
||||
nickname="joey"
|
||||
subject="comment 3"
|
||||
date="2011-03-16T03:03:19Z"
|
||||
content="""
|
||||
Interesting, I had not heard of variable symlinks before. AFAIK linux does not have them.
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue