[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#69085: 29.2; Tramp: Extend tramp-make-copy-program-file-name via tra
From: |
Michael Albinus |
Subject: |
bug#69085: 29.2; Tramp: Extend tramp-make-copy-program-file-name via tramp-methods |
Date: |
Tue, 13 Feb 2024 13:18:12 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Sean Devlin <spd@toadstyle.org> writes:
> Hi Michael,
Hi Sean,
> The copy parameters for my method look like so:
>
> (defconst tramp-mymethod
> '("mymethod"
> ...
>
> (tramp-copy-program “my-copy-program")
> (tramp-copy-args
> ((“-id" "%h")))))
>
> Invocations of the copy program look like:
>
> my-copy-program -id HOST SRC-FILE DEST-FILE
>
> The HOST is not a DNS name in this case; instead, it’s an identifier
> for a sort of
> abstract container.
>
> For SRC-FILE and DEST-FILE, “remote” file paths just have a fixed
> prefix string,
> i.e. it’s not dependent on the “host” name or the user.
>
> So all I really need is a way to format “remote” file paths like:
>
> (format "myprefix:%s" localname)
Hmm. Some questions:
- What if SRC-FILE or DEST-FILE is local, and the other one is remote?
Would it still be something like "my-copy-program -id HOST SRC-FILE
DEST-FILE"?
- In case both SRC-FILE and DEST-FILE are remote, are they always files
on the same remote host identified as HOST? Or do you need also a copy
between two different hosts, using "mymethod"?
- And if HOST is a kind of container, would it be possible for you to
use the "docker" or "podman" method of Tramp directly?
> Thanks for your help!
Best regards, Michael.
- bug#69085: 29.2; Tramp: Extend tramp-make-copy-program-file-name via tramp-methods, Sean Devlin, 2024/02/12
- bug#69085: 29.2; Tramp: Extend tramp-make-copy-program-file-name via tramp-methods, Michael Albinus, 2024/02/12
- bug#69085: 29.2; Tramp: Extend tramp-make-copy-program-file-name via tramp-methods, Sean Devlin, 2024/02/12
- bug#69085: 29.2; Tramp: Extend tramp-make-copy-program-file-name via tramp-methods,
Michael Albinus <=
- bug#69085: 29.2; Tramp: Extend tramp-make-copy-program-file-name via tramp-methods, Sean Devlin, 2024/02/13
- bug#69085: 29.2; Tramp: Extend tramp-make-copy-program-file-name via tramp-methods, Michael Albinus, 2024/02/14
- bug#69085: 29.2; Tramp: Extend tramp-make-copy-program-file-name via tramp-methods, Sean Devlin, 2024/02/14
- bug#69085: 29.2; Tramp: Extend tramp-make-copy-program-file-name via tramp-methods, Michael Albinus, 2024/02/16
- bug#69085: 29.2; Tramp: Extend tramp-make-copy-program-file-name via tramp-methods, Sean Devlin, 2024/02/16
- bug#69085: 29.2; Tramp: Extend tramp-make-copy-program-file-name via tramp-methods, Michael Albinus, 2024/02/17
- bug#69085: 29.2; Tramp: Extend tramp-make-copy-program-file-name via tramp-methods, Sean Devlin, 2024/02/19
- bug#69085: 29.2; Tramp: Extend tramp-make-copy-program-file-name via tramp-methods, Michael Albinus, 2024/02/20
- bug#69085: 29.2; Tramp: Extend tramp-make-copy-program-file-name via tramp-methods, Sean Devlin, 2024/02/20