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

This commit is contained in:
Joey Hess 2019-07-17 12:25:30 -04:00
commit 5d7b13b6af
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 24 additions and 2 deletions

View file

@ -1,9 +1,13 @@
**EDIT:** Is there a way to apply ```annex.addunlocked``` permanently to a single file? It would be great if it could be added to the ```annex.largefiles``` options. This way a repository could have locked large files, unlocked large files, and regular files added directly to git.
Leaving my confusion below for reference (Sorry should have read the unlocked files page more before I posted).
---
I'm having trouble getting unlocked files in version 7 repositories to work and I think I'm pretty confused (what I mean is that it's not git annex's fault).
I have my Calibre library in a git-annex repo. I want ```metadata.db```, Calibre's sqlite database to stay unlocked but I don't get the expected results.
Also I put ```metadata.db annex.largefiles=nothing``` in my ```.gitattributes``` file, could this be causing an issue?
Version information:

View file

@ -0,0 +1,18 @@
[[!comment format=sh
username="eigood"
avatar="http://cdn.libravatar.org/avatar/fa5ae017e5432f6cfbf82109a94afaea"
subject="Add support for bup daemon?"
date="2019-07-16T23:45:18Z"
content="""
==
git annex --debug initremote originbup type=bup autoenable=true encryption=none buprepo=bup://localhost:1982/srv/app/fs/global-storage/XXXX/bup
...
[2019-07-16 23:24:01.852275553] process done ExitSuccess
(storing uuid...) [2019-07-16 23:24:01.852581845] call: ssh [\"bup\",\"-S\",\".git/annex/ssh/bup\",\"-o\",\"ControlMaster=auto\",\"-o\",\"ControlPersist=yes\",\"-n\",\"-T\",\"cd '//localhost:1982/srv/app/fs/global-storage/XXXX/bup' && git config annex.uuid 11ddfb21-f6ca-4281-a0a1-aef9b17437e0\"]
...
==
Annex is attempting to ssh to a machine called \"bup\", then doing a cd to a very wrong path. To get this far, I had to do a few fixed to client.py in bup, as that code has decayed since 2017. I haven't yet looked at the annex source, to see why it needs to do that cd, but I would prefer *not* have ssh access for this.
This scenario I have locally is git-annex+bup+duplicity running inside a reduced, isolated, docker-container, where everything is trusted, and I can throw all pieces away.
"""]]