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

This commit is contained in:
Joey Hess 2019-10-28 12:24:29 -04:00
commit 27e10fdbd7
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
6 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,10 @@
I am probably doing something fundamentally wrong. Here are the steps I've tried:
1. Create a new repository using the webapp (on two virtual machines)
2. Create a nextcloud account and folder and on the first VM ran: `WEBDAV_USERNAME=test WEBDAV_PASSWORD=whocaresforatest git annex initremote owncloud type=webdav url=https://SERVERNAME/remote.php/webdav/annex chunk=10mb encryption=hybrid keyid=randomkey@igenerated.forthis`. This seemed to lead to some synchronization.
3. Did the same thing on the second virtual machine.
4. On the first VM ran: `git annex enableremote owncloud keyid+=keyigenerated@forthesecond.vm`
The problem is, both seem to sync something to the nextcloud installation but they don't seem to be syncing with each other.
What did I do wrong?

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="nordmagnus999"
avatar="http://cdn.libravatar.org/avatar/d5d5b418451be64f8fa5f56909fcc4c3"
subject="A possible solution"
date="2019-10-28T15:49:12Z"
content="""
You could use [git-annex-remote-rclone script](https://github.com/DanielDent/git-annex-remote-rclone) which support nextcloud/owncloud with its webdav remote iirc. (Also the rclone remote is officially supported by git-annex on the last version afaik + its bundled in some distro's repos).
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="nordmagnus999"
avatar="http://cdn.libravatar.org/avatar/d5d5b418451be64f8fa5f56909fcc4c3"
subject="Oh yeah, use verbose flag too."
date="2019-10-28T15:50:42Z"
content="""
I think it would make more sense to use the verbose flag for debugging imo.
"""]]

View file

@ -0,0 +1,7 @@
[[!comment format=mdwn
username="Simon"
subject="Can you give more details?"
date="2019-10-28T16:04:52Z"
content="""
I just started trying to use git-annex. To which command should I add the verbose flag?
"""]]

View file

@ -0,0 +1,7 @@
[[!comment format=mdwn
username="Simon"
subject="Should there have been a combine step?"
date="2019-10-28T16:06:22Z"
content="""
From watching the introductory video it looks like there should be a different step for adding the second remote. Did I maybe screw up using `init` again?
"""]]

View file

@ -0,0 +1,7 @@
[[!comment format=mdwn
username="Simon"
subject="Maybe this is the problem..."
date="2019-10-28T16:13:18Z"
content="""
When I look at the .git/config on both machines the remotes have a different annex-uuid. I guess those should be the same, right?
"""]]