Skip to content

desync make --store ssh://... invokes invalid casync pull #295

Description

@HaleTom

desync tries to run casync pull by default -- and that's not a valid casync verb.

% echo $store
ssh://nas/tmp/cacache/

% cat ~/bin/nas-desync
#!/bin/bash
printf "$0 called with args: %s\n" "$(shell-quote "$@")" >&2
ssh -C "$@"

% CASYNC_SSH_PATH=bin/nas-desync desync make --verbose -n4 -m=16:24:64 -r=true -s "$store" --error-retry=0 /dev/null /etc/issue
bin/nas-desync called with args: nas 'casync pull - - - '\''/tmp/cacache/'\'
bin/nas-desync called with args: nas 'casync pull - - - '\''/tmp/cacache/'\'
bin/nas-desync called with args: nas 'casync pull - - - '\''/tmp/cacache/'\'
bin/nas-desync called with args: nas 'casync pull - - - '\''/tmp/cacache/'\'
Error: store 'ssh://nas/tmp/cacache/' does not support writing

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions