Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2014-06-16 18:35:59 -04:00
commit 784e916ded
6 changed files with 54 additions and 0 deletions

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="108.236.230.124"
subject="comment 2"
date="2014-06-16T17:52:34Z"
content="""
View's don't scale to lots of files yet. Discussed in [[design/caching_database]]
"""]]

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawmvzzyDA8uXFz8yokeCrepbh8PwWe_WrjE"
nickname="Michael"
subject="comment 3"
date="2014-06-16T18:19:20Z"
content="""
@joeyh, thanks - is that code all up to date here: https://github.com/joeyh/git-annex/tree/database ?
I'd be interested in helping test it.
"""]]

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="108.236.230.124"
subject="comment 1"
date="2014-06-16T17:55:13Z"
content="""
`git annex addurl` does not support storing cookies needed to access files. I doubt that makes sense anyway, since most login cookies expire.
So, your best bet seems to just be to `git annex add` the file after you download it.
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="108.236.230.124"
subject="comment 2"
date="2014-06-16T17:59:20Z"
content="""
Another option would be to set up some kind of http proxy that adds the login cookie to requests.. If you really wanted to use `git annex addurl`.
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="108.236.230.124"
subject="comment 3"
date="2014-06-16T18:04:48Z"
content="""
Actually, a simpler option may be to set `annex.http-headers` in the git config, to the appropriate http headers that set the cookie.
"""]]

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="108.236.230.124"
subject="comment 1"
date="2014-06-16T17:58:22Z"
content="""
All your files are still there..
You can either use `git annex indirect` to switch to indirect mode and then `git revert`, or you could git clone the repo to someplace else, do the revert there, and then run `git annex sync` in first the clone and then in the direct mode repo to sync the reversion back.
"""]]