diff options
| author | Michael Albinus | 2024-02-20 12:52:40 +0100 |
|---|---|---|
| committer | Michael Albinus | 2024-02-20 12:52:40 +0100 |
| commit | 4e9993cada32a866a75b458092de0028db2f5f41 (patch) | |
| tree | 8687fe6e6cf17747b3076b4fe2c7bf22dc38a0c1 /doc/misc | |
| parent | a1cbc4d810bc1b525fa46b23249b414c1ad6b031 (diff) | |
| download | emacs-4e9993cada32a866a75b458092de0028db2f5f41.tar.gz emacs-4e9993cada32a866a75b458092de0028db2f5f41.zip | |
Add Tramp methods dockercp and podmancp
* doc/misc/tramp.texi (External methods): Add dockercp and podmancp.
* etc/NEWS: Add Tramp methods "dockercp" and "podmancp".
* lisp/net/tramp.el (tramp-handle-make-process):
* lisp/net/tramp-adb.el (tramp-adb-maybe-open-connection):
* lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
(tramp-maybe-open-connection):
* lisp/net/tramp-sshfs.el (tramp-sshfs-handle-process-file)
(tramp-sshfs-maybe-open-connection):
* lisp/net/tramp-sudoedit.el (tramp-sudoedit-send-command): Adapt
`tramp-expand-args' calls.
* lisp/net/tramp-container.el (tramp-dockercp-method)
(tramp-podmancp-method): New defconst.
(tramp-methods) <dockercp, podmancp>: Add new methods.
(tramp-container--completion-function): Adapt docstring. Use it
for "dockercp" and "podmancp" completion.
* lisp/net/tramp.el (tramp-get-remote-tmpdir):
* lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
* lisp/net/tramp-sh.el (tramp-maybe-open-connection): Use a default
value with `tramp-get-method-parameter'.
* lisp/net/tramp-sh.el (tramp-methods) <nc>: Add `tramp-copy-file-name'.
(tramp-default-copy-file-name): New defconst.
(tramp-make-copy-file-name): Rename from
`tramp-make-copy-program-file-name'. Use method parameter
`tramp-copy-file-name'. (Bug#69085)
(tramp-do-copy-or-rename-file-out-of-band): Adapt callees.
* lisp/net/tramp.el (tramp-methods): Adapt docstring.
(tramp-get-method-parameter, tramp-expand-args): New optional
argument DEFAULT.
* test/lisp/net/tramp-tests.el (tramp--test-container-p): Adapt.
(tramp--test-container-oob-p): New defun.
(tramp-test17-dired-with-wildcards, tramp-test35-remote-path)
(tramp-test41-special-characters): Use it.
(tramp--test-set-ert-test-documentation): Use `split-string'.
Diffstat (limited to 'doc/misc')
| -rw-r--r-- | doc/misc/tramp.texi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index affd760730b..6d4654f1a8a 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi | |||
| @@ -1059,6 +1059,20 @@ session. | |||
| 1059 | 1059 | ||
| 1060 | These methods support the @samp{-P} argument. | 1060 | These methods support the @samp{-P} argument. |
| 1061 | 1061 | ||
| 1062 | @item @option{dockercp} | ||
| 1063 | @item @option{podmancp} | ||
| 1064 | @cindex method @option{dockercp} | ||
| 1065 | @cindex @option{dockercp} method | ||
| 1066 | @cindex method @option{podmancp} | ||
| 1067 | @cindex @option{podmancp} method | ||
| 1068 | |||
| 1069 | These methods are similar to @option{docker} or @option{podman}, but | ||
| 1070 | they use the command @command{docker cp} or @command{podman cp} for | ||
| 1071 | transferring large files. | ||
| 1072 | |||
| 1073 | These copy commands do not support file globs, and they ignore a user | ||
| 1074 | name. | ||
| 1075 | |||
| 1062 | @item @option{fcp} | 1076 | @item @option{fcp} |
| 1063 | @cindex method @option{fcp} | 1077 | @cindex method @option{fcp} |
| 1064 | @cindex @option{fcp} method | 1078 | @cindex @option{fcp} method |