[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/tramp-nspawn c90c85f1e9 14/22: Minor changes as suggest
From: |
ELPA Syncer |
Subject: |
[elpa] externals/tramp-nspawn c90c85f1e9 14/22: Minor changes as suggested by Stefan Monnier. |
Date: |
Sat, 19 Feb 2022 18:58:04 -0500 (EST) |
branch: externals/tramp-nspawn
commit c90c85f1e911d9d96157c7f15629ea43fc1a9369
Author: Brian Cully <bjc@kublai.com>
Commit: Brian Cully <bjc@kublai.com>
Minor changes as suggested by Stefan Monnier.
- Copyright assignment is current as of 2022
- Documentation for user/container to match GNU guidelines.
- Reword “Privileges” section to be more natural.
- Change ‘nspawn-tramp-machinectl-path’ to
’nspawn-tramp-machinectl-file-name’ to match GNU guidelines.
---
nspawn-tramp.el | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/nspawn-tramp.el b/nspawn-tramp.el
index e5233406fe..2552d24616 100644
--- a/nspawn-tramp.el
+++ b/nspawn-tramp.el
@@ -1,6 +1,6 @@
;;; nspawn-tramp.el -- TRAMP integration for systemd-nspawn containers -*-
lexical-binding: t; -*-
-;; Copyright © 2021 Free Software Foundation, Inc.
+;; Copyright © 2021-2022 Free Software Foundation, Inc.
;; Author: Brian Cully <bjc@kublai.com>
;; Maintainer: Brian Cully <bjc@kublai.com>
@@ -39,16 +39,16 @@
;;
;; Open a file on a running systemd-nspawn container:
;;
-;; C-x C-f /nspawn:user@container:/path/to/file
+;; C-x C-f /nspawn:USER@CONTAINER:/path/to/file
;;
;; Where:
-;; ‘user’ is the user on the container to connect as (optional)
-;; ‘container’ is the container to connect to
+;; USER is the user on the container to connect as (optional)
+;; CONTAINER is the container to connect to
;;
;; ## Privileges
;;
;; systemd-nspawn and its container utilities often require super user
-;; access to run, and this package does not do privilege escalation in
+;; access to run, and this package does not escalate privileges in
;; order to accomplish that.
;;
;; One way of working around this using TRAMP’s built-in multi-hop
@@ -69,8 +69,8 @@
:link '(url-link :tag "Github" "https://github.com/bjc/nspawn-tramp")
:link '(emacs-commentary-link :tag "Commentary" "nspawn-tramp"))
-(defcustom nspawn-tramp-machinectl-path "machinectl"
- "Path to machinectl executable."
+(defcustom nspawn-tramp-machinectl-file-name "machinectl"
+ "File name of machinectl executable."
:type 'string
:group 'nspawn-tramp)
@@ -83,7 +83,7 @@
This function is used by ‘tramp-set-completion-function’, please
see its function help for a description of the format."
(let* ((raw-list (shell-command-to-string
- (concat nspawn-tramp-machinectl-path
+ (concat nspawn-tramp-machinectl-file-name
" list -q")))
(lines (cdr (split-string raw-list "\n")))
(first-words (mapcar (lambda (line) (car (split-string line)))
@@ -93,9 +93,9 @@ see its function help for a description of the format."
(defun nspawn-tramp--add-method ()
- "Add TRAMP method handler for nspawn conainers."
+ "Add TRAMP method handler for nspawn containers."
(push `(,nspawn-tramp-method
- (tramp-login-program ,nspawn-tramp-machinectl-path)
+ (tramp-login-program ,nspawn-tramp-machinectl-file-name)
(tramp-login-args (("shell")
("-q")
("--uid" "%u")
- [elpa] externals/tramp-nspawn 96152bc939 04/22: Get rid of "not part of GNU emacs", (continued)
- [elpa] externals/tramp-nspawn 96152bc939 04/22: Get rid of "not part of GNU emacs", ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn dbfb4f3af9 01/22: Initial commit., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn c98260130b 03/22: Add ‘Maintainer’ pseudo-keyword to header., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn 1608f01157 06/22: Rename ‘nspawn-tramp--init’ to ‘nspawn-tramp-setup’ and autoload it., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn 0756a8d41f 11/22: Assign copyright to the FSF, since I’ve completed my paperwork., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn f7c7ef3851 12/22: Add ‘Maintainer’ header for ELPA compatibility., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn 1c8f42c7bf 08/22: Add feature unload function., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn 3b31544b21 19/22: Rename package to ‘tramp-nspawn’., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn 48102d38e7 05/22: Clean up autoloads., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn 49f23d8ec9 07/22: Use filename in comment header., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn c90c85f1e9 14/22: Minor changes as suggested by Stefan Monnier.,
ELPA Syncer <=
- [elpa] externals/tramp-nspawn b8380ee8a7 16/22: Update version to 1.0 in preparation for ELPA release., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn ae6d0d218b 20/22: Clarify wording on package commentary., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn df4ba32b89 09/22: Add usage info for nspawn-tramp-setup., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn d0a137d560 13/22: Add Makefile for build testing outside of Emacs., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn ebaa155c83 15/22: Update README.org to point to add ELPA install instructions., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn 8c5fbc479e 22/22: Merge pull request #1 from bjc/next, ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn cb58c4f9aa 10/22: tyop, ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn 87a1d64426 17/22: Remove redundant ‘Maintainer’ tag., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn f10849740a 18/22: Rename “TRAMP” to “Tramp”, it’s proper spelling., ELPA Syncer, 2022/02/19
- [elpa] externals/tramp-nspawn 6403f4f883 21/22: Rename tramp-nspawn-machinectl-file-name to -program., ELPA Syncer, 2022/02/19