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

This commit is contained in:
Joey Hess 2013-05-31 13:58:34 -04:00
commit 201815f5de
6 changed files with 84 additions and 0 deletions

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="EvanDeaubl"
ip="12.130.123.174"
subject="comment 2"
date="2013-05-31T13:38:43Z"
content="""
I share the concerns about the semi-deprecated status, although it's probably safer than they make it sound in the man page. The git test suite for sparse checkouts uses the same command to find files with skip-worktree set, and there are other tools that use it as well (magit being one example). The git maintainers couldn't remove it, or even fully deprecate it for eventual removal. It's been semi-deprecated for almost 3 years.
I have a patch that fixes `git annex sync` and `git annex get` (it retrieved files marked skip-worktree) and it passes `git annex test`, but I'm going to more rigorously test it out on my particular use case before calling it good. When it is ready, I didn't see instructions on how you would like patches submitted anywhere in the wiki. How would you like to receive it?
"""]]

View file

@ -0,0 +1,20 @@
Git annex refuses to get/drop files until it's manually relaunched.
I'm trying to setup a basic dropbox like system where a couple of computers sync with a local server I have constantly running ubuntu with ssh.
I think I've setup git annex correctly: when I put files in the repo folder they get uploaded to the bare git repo on the server over ssh automatically and the other computer updates with a broken alias to the file. However the file does not then download from the server despite it being available without a manual restart of the daemon or a git-annex get command from the terminal.
Additionally, files inside archive folders do not get dropped once uploaded to the server without a restart of the daemon.
My computers are each setup with the ssh server as a 2nd repository (fullarchive), they are both OSX, and running Version: 4.20130521-g25dba9d according to the webapp. I have also entered my gmail/jabber account on each mac which I believe allows them to communicate indirectly when using the ssh repo.
I don't know if this is a setup/misconfiguration error or a bug but I can't see how I've setup the assistant wrong, I did manually change the remote url in the config file, as the assistant was having issues connecting (I'm sshing on 21 for various reasons, although I thought this was supported and I no longer receive errors in the webapp now I've specified my remote.
Should I put the corresponding computers as a repositories of each other? I thought each syncing independently with a centralised git would be a more reliable/simple situation than a potential 3 way sync?
I hope this is enough information, I'm usually good at working out issues myself, however this is just frustrating me and the git-annex solution is so nearly perfect if it would work reliably that I can't bring myself to give up on it!
Thanks!

View file

@ -0,0 +1,18 @@
### Please describe the problem.
`git annex reinject` refuses to work while in direct mode.
When in direct mode git annex reinject could simply perform `rm $symlink; mv $file_copy .; git annex add $file`. I prefer having git annex doing that so I am sure I am not messing up (mistakenly adding new files for instance) and everything is properly managed.
### What version of git-annex are you using? On what operating system?
git-annex 4.20130516.1
~~~~
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.2 LTS
Release: 12.04
Codename: precise
~~~~

View file

@ -0,0 +1,11 @@
[[!comment format=mdwn
username="ka7"
ip="2001:7b8:155d:0:222:64ff:fe16:dc52"
subject="comment 3"
date="2013-05-31T15:45:51Z"
content="""
ah, great.
I'll try the samba way.
And i guess my git-annex is too old (using the git-annex version: 3.20120629~bpo60+2 from debian-backports)
thanks !
"""]]

View file

@ -0,0 +1,18 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawnaH44G3QbxBAYyDwy0PbvL0ls60XoaR3Y"
nickname="Nigel"
subject="AWS credentials"
date="2013-05-31T10:23:23Z"
content="""
This looks very valuable - Google are offering a free 5GB up until 2013 June 30th
Sign in here[1] get your credentials here[2] under the section “Interoperable Access” (Source[3])
# Set up AWS credentials
$ export AWS_ACCESS_KEY_ID=\"YOUR-KEY\"
$ export AWS_SECRET_ACCESS_KEY=\"YOUR-SECRET\"
1. http://gs-signup-redirect.appspot.com/ -or- https://developers.google.com/storage/docs/signup
2. https://storage.cloud.google.com/m
3. http://fog.io/storage/
"""]]

View file

@ -0,0 +1,7 @@
I would like to use the automated AWS lifecycle rules to move the git annex files store on S3 to Glacier after a bit of time. Git annex need must support this kind of S3 files explicitly in order for it to work.
This is different from the adding a Glacier remote to git annex because of the reasons explained in <http://aws.typepad.com/aws/2012/11/archive-s3-to-glacier.html>.
Basically, the files moved by AWS from S3 to Glacier are not available under the normal Glacier API. In fact, the moved S3 files are listed as available but under the `GLACIER` storage class and need a RESTORE request before they can be GET like other S3 files. Trying to GET an S3 file that has been moved to Glacier will not restore it from Glacier and will result in an 403 error.
I suppose DELETE needs special care as well.