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

This commit is contained in:
Joey Hess 2024-10-22 13:04:37 -04:00
commit 027a9f0849
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="matrss"
avatar="http://cdn.libravatar.org/avatar/59541f50d845e5f81aff06e88a38b9de"
subject="Re: rclone remote config in special remote"
date="2024-10-22T14:13:53Z"
content="""
Rclone has something called \"connection strings\" (<https://rclone.org/docs/#connection-strings>), which can make a separate rclone configuration unnecessary. E.g. you can use `rclone ls :sftp,host=hostname:path/to/dir` to `ls` a sftp remote without first setting it up in the config.
It might be possible to set such a connection string as the remote name in the special remote to avoid a separate rclone config, but I haven't actually tried it out.
"""]]

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="matrss"
avatar="http://cdn.libravatar.org/avatar/59541f50d845e5f81aff06e88a38b9de"
subject="comment 4"
date="2024-10-22T14:44:10Z"
content="""
I just tried it out, something like this works without any further rclone configuration: `git annex initremote icg1220-remote-dir type=rclone encryption=none rcloneremotename=':sftp,host=icg1220' rcloneprefix=remote-dir`. It just prints some log messages from rclone that it can't save config settings for this on the fly backend, but those seem to be purely informational.
"""]]