]> git.eshelyaron.com Git - emacs.git/commit
Add Tramp method "apptainer"
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 7 May 2024 07:56:05 +0000 (09:56 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 8 May 2024 16:48:33 +0000 (18:48 +0200)
commitbef5b80e944ed5825be81a72bf5b788378c98572
tree884c4708163d182fdd2fb8e5ebe332c65edacaf6
parent6f36fc836030e9a602f119c77479fc1845476617
Add Tramp method "apptainer"

* doc/misc/tramp.texi (Top, Configuration): Add "Optional methods".
(Optional methods): New section.
(Inline methods) <androidsu, toolbox, flatpak>: These are optional
methods.
(Inline methods) <apptainer>: Add.

* etc/NEWS: New Tramp method "apptainer".
Some Tramp methods are optional.
Fix typos.

* lisp/net/tramp-androidsu.el (tramp-enable-androidsu-method):
New defun.  Call it when `system-type' is `android'.

* lisp/net/tramp-container.el (tramp-apptainer-program): New defcustom.
(tramp-apptainer-method): New defconst.
(tramp-apptainer--completion-function)
(tramp-enable-toolbox-method, tramp-enable-flatpak-method)
(tramp-enable-apptainer-method): New defuns.

* lisp/net/tramp.el (tramp-enable-method): New defun.

* test/lisp/net/tramp-tests.el (tramp--test-container-p):
Add "apptainer".
(tramp--test-supports-processes-p): Extend function.

(cherry picked from commit 4808c63d43f529f41aac2f2bb14df7ab8f882440)
doc/misc/tramp.texi
etc/NEWS
lisp/net/tramp-androidsu.el
lisp/net/tramp-container.el
lisp/net/tramp.el
test/lisp/net/tramp-tests.el