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

This commit is contained in:
Joey Hess 2014-04-29 22:20:25 -04:00
commit fe7c713f08
4 changed files with 82 additions and 0 deletions

View file

@ -0,0 +1,23 @@
### Please describe the problem.
Not sure if it's a bug, but pls explain why it sync files and how to stop it by cfg.
Repos. created with Assistant - git annex sync i an indirect mode not only fetch metadata but also a files. What is the correct way to disable file sync (so only broken links are created in working tree)
Desired:
to boostrap annex infrastructure with assistant, but then some repos switch to indirect mode (while still synced by assistant/webapp) but only metadata (not files). Files to be fetched on request (like git annex get xyz/*) when needed.
### What steps will reproduce the problem?
1. with git annex webapp create two repos on two nodes (Alice and Bob).
2. pair them using discovery on local lan
3. on Bob stop assistant and fire "git annex indirect"
4. add files to Alice repo
5. run git annex sync on Bob repo from CLI
Bob's repo not only sync metadata but also retrive files.
The documentation says "sync" only sync metadata.
### What version of git-annex are you using? On what operating system?
git-annex version: 5.20140420-ga25b8bb

View file

@ -0,0 +1,28 @@
### Please describe the problem.
git annex installer on Windows only installs git-annex-licenses.txt git-annex-uninstall.exe git-annex.exe
This makes git-annex unusable over ssh (Windows box runs cygwin sshd).
### What steps will reproduce the problem?
### What version of git-annex are you using? On what operating system?
Windows 7 64bit
git annex version
git-annex version: 5.20140421-g78d6aa1
build flags: Assistant Webapp Webapp-secure Pairing Testsuite S3 WebDAV DNS Feeds Quvi TDFA CryptoHash
key/value backends: SHA256E SHA1E SHA512E SHA224E SHA384E SKEIN256E SKEIN512E SHA256 SHA1 SHA512 SHA224 SHA384 SKEIN256 SKEIN512 WORM URL
remote types: git gcrypt S3 bup directory rsync web webdav tahoe glacier hook external
### Please provide any additional information below.
[[!format sh """
# If you can, paste a complete transcript of the problem occurring here.
# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
# End of transcript or log.
"""]]

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="http://joeyh.name/"
ip="209.250.56.114"
subject="comment 2"
date="2014-04-29T21:03:41Z"
content="""
You need to fix your system so that git-annex-shell in in PATH automatically wheneven you ssh into it, and then it will work.
I'm sorry, but I can't help you do so. I suggest you read the documentation for your login shell.
"""]]

View file

@ -0,0 +1,21 @@
[[!comment format=mdwn
username="https://www.google.com/accounts/o8/id?id=AItOawmTIL7ubr5opWM69Q5VtCxuxC2H0SSnzic"
nickname="Petr"
subject="SOLVED"
date="2014-04-29T21:42:39Z"
content="""
You were right.
When executed command over SSH it does not perform login (so .**rc files are not necessarily loaded).
Zsh:
.zprofile or rather .zshenv (is loaded, use these to set PATH)
Note: .profile is not loaded at all (it's Bash stuff)
Bash:
.bashrc is said to be loaded but not .profile
See:
http://shreevatsa.wordpress.com/2008/03/30/zshbash-startup-files-loading-order-bashrc-zshrc-etc/
http://superuser.com/questions/187639/zsh-not-hitting-profile
https://wiki.archlinux.org/index.php/zsh
"""]]