Merge branch 'master' of ssh://git-annex.branchable.com
This commit is contained in:
commit
35db45a1a3
6 changed files with 73 additions and 0 deletions
|
@ -0,0 +1,10 @@
|
|||
[[!comment format=mdwn
|
||||
username="yarikoptic"
|
||||
avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4"
|
||||
subject="downgrading helped! "
|
||||
date="2018-09-24T17:56:42Z"
|
||||
content="""
|
||||
Downgrading (testing on local laptop) local git-annex all the way down (didn't try intermediates yet) to 6.20170101-1+deb9u2 helped - I can fetch data from that server.
|
||||
|
||||
My wild guess is that it all relates to the fact that remote git-annex-shell, being outdated, has no clue about `p2pstdio` command, and local new git-annex doesn't fall back anyhow to use some other way to transfer.
|
||||
"""]]
|
|
@ -0,0 +1,16 @@
|
|||
[[!comment format=mdwn
|
||||
username="yarikoptic"
|
||||
avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4"
|
||||
subject="comment 5"
|
||||
date="2018-09-24T18:05:15Z"
|
||||
content="""
|
||||
FWIW, here is what I see if I just try to invoke directly
|
||||
[[!format sh \"\"\"
|
||||
$> ssh bids@rolando.cns -T git-annex-shell 'p2pstdio' '/inbox/BIDS/dbic/QA' '--debug' 'ba8f2cea-f229-422c-82be-6580e5e07ed5' --uuid 6384a551-a41d-4290-b186-9258befede97
|
||||
...
|
||||
fatal: Run with no arguments or with -c cmd
|
||||
git-annex-shell: git-shell failed
|
||||
1 5358 ->1
|
||||
\"\"\"]]
|
||||
so - exit code is `1` (happen annex decides on exit code about availability of p2pstdio)
|
||||
"""]]
|
|
@ -0,0 +1,22 @@
|
|||
[[!comment format=mdwn
|
||||
username="mario"
|
||||
avatar="http://cdn.libravatar.org/avatar/4c63b0935789d29210d0bd8cad8d7ac7"
|
||||
subject="re: comment 1"
|
||||
date="2018-09-24T18:02:38Z"
|
||||
content="""
|
||||
Hi Ilya_Shlyakhter, thanks for your answer.
|
||||
|
||||
I'm not sure about using different branches. What prevents other users from just checking out the branches, also the git-annex branch tracks the clear names of all remotes. Moreover, it's a scalability question. Assume the server has thousands (millions?) of files while the phone has only a few. Then it still would be \"bothered\" all the location tracking information of the server.
|
||||
|
||||
But one thing in the »local caching« tip raised my attention: \"git config remote.cache.annex-speculate-present true\"
|
||||
|
||||
The tip says: \"The annex-speculate-present setting is the essential part. It makes git-annex know that the cache repository may contain the content of any annexed file. So, when getting a file, git-annex will try the cache repository first.\"
|
||||
|
||||
Together with \"git config remote.cache.annex-pull false; git config remote.cache.annex-push false\" this could be pretty close to my \"local location tracking\" idea.
|
||||
|
||||
It further says: \"The cache repository will remain an empty git repository (except for the content of annexed files). This means that the same cache can be used with multiple different git-annex repositories, without intermingling their git data.\" Thus, there should be no »information leaks« between two repos that both use this cache.
|
||||
|
||||
A thing I would have to work around is that I should not do \"git annex --copy --to server --not --in server\". Or, at least before doing this I should always log into the server and do \"git-annex get\" first.
|
||||
|
||||
Thanks again for your suggestion. I will give this approach a try.
|
||||
"""]]
|
|
@ -0,0 +1,8 @@
|
|||
[[!comment format=mdwn
|
||||
username="Ilya_Shlyakhter"
|
||||
avatar="http://cdn.libravatar.org/avatar/1647044369aa7747829c38b9dcc84df0"
|
||||
subject="comment 3"
|
||||
date="2018-09-24T18:29:36Z"
|
||||
content="""
|
||||
See also config settings remote.<name>.annex-readonly , remote.<name>.annex-push, remote.<name>.annex-pull etc.
|
||||
"""]]
|
|
@ -0,0 +1,8 @@
|
|||
[[!comment format=mdwn
|
||||
username="Ilya_Shlyakhter"
|
||||
avatar="http://cdn.libravatar.org/avatar/1647044369aa7747829c38b9dcc84df0"
|
||||
subject="comment 2"
|
||||
date="2018-09-24T17:27:34Z"
|
||||
content="""
|
||||
If I understand correctly, git-annex-unused will by default cause old versions of files to be lost?
|
||||
"""]]
|
|
@ -0,0 +1,9 @@
|
|||
[[!comment format=mdwn
|
||||
username="Ilya_Shlyakhter"
|
||||
avatar="http://cdn.libravatar.org/avatar/1647044369aa7747829c38b9dcc84df0"
|
||||
subject="comment 3"
|
||||
date="2018-09-24T18:50:46Z"
|
||||
content="""
|
||||
thanks a lot!
|
||||
|
||||
"""]]
|
Loading…
Reference in a new issue