SMOLNET PORTAL home about changes
iClarified script and edited man page - drist - a remote deployment tool	Err	bitreich.org	70
hgit clone git://bitreich.org/drist/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/drist/	URL:git://bitreich.org/drist/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/drist/	bitreich.org	70
1Log	/scm/drist/log.gph	bitreich.org	70
1Files	/scm/drist/files.gph	bitreich.org	70
1Refs	/scm/drist/refs.gph	bitreich.org	70
1Tags	/scm/drist/tag	bitreich.org	70
1README	/scm/drist/file/README.gph	bitreich.org	70
1LICENSE	/scm/drist/file/LICENSE.gph	bitreich.org	70
i---	Err	bitreich.org	70
1commit ea86129164b490267a2980d73361a6dbbea308c2	/scm/drist/commit/ea86129164b490267a2980d73361a6dbbea308c2.gph	bitreich.org	70
1parent 85503f58e13e10b2b34e3a00a659b896d4aea33c	/scm/drist/commit/85503f58e13e10b2b34e3a00a659b896d4aea33c.gph	bitreich.org	70
hAuthor: jared <jared@fastmail.com>	URL:mailto:jared@fastmail.com	bitreich.org	70
iDate:   Sat, 30 Jan 2021 14:36:30 -0500	Err	bitreich.org	70
i	Err	bitreich.org	70
iClarified script and edited man page	Err	bitreich.org	70
i	Err	bitreich.org	70
iHello and thank you for the nice tool! I had some trouble understanding	Err	bitreich.org	70
ithe usage due to some discrepancies with the man page or comments and	Err	bitreich.org	70
ithe code.	Err	bitreich.org	70
i	Err	bitreich.org	70
iI believe this small patch will help new users (like me) to not be	Err	bitreich.org	70
iconfused.	Err	bitreich.org	70
i	Err	bitreich.org	70
i- The flags in usage() still showed [-n], this is no longer used	Err	bitreich.org	70
i- Removed inaccurate reference to dry-run in man page	Err	bitreich.org	70
i- Missing reference to 3rd arg in comments of copy_files()	Err	bitreich.org	70
i	Err	bitreich.org	70
iDiffstat:	Err	bitreich.org	70
i  M drist                               |       3 ++-	Err	bitreich.org	70
i  M drist.1                             |       7 -------	Err	bitreich.org	70
i	Err	bitreich.org	70
i2 files changed, 2 insertions(+), 8 deletions(-)	Err	bitreich.org	70
i---	Err	bitreich.org	70
1diff --git a/drist b/drist	/scm/drist/file/drist.gph	bitreich.org	70
i@@ -8,12 +8,13 @@ TRUNCATE=0	Err	bitreich.org	70
i TEMPDIR=""	Err	bitreich.org	70
i 	Err	bitreich.org	70
i usage() {	Err	bitreich.org	70
i-        echo "$0 [-n] [-d] [-s [-e sudo|doas]] server [...]"	Err	bitreich.org	70
i+        echo "$0 [-p] [-d] [-s [-e sudo|doas]] server [...]"	Err	bitreich.org	70
i         exit 0	Err	bitreich.org	70
i }	Err	bitreich.org	70
i 	Err	bitreich.org	70
i # $1 = directory name	Err	bitreich.org	70
i # $2 = remote server	Err	bitreich.org	70
i+# $3 = tempdir	Err	bitreich.org	70
i copy_files() {	Err	bitreich.org	70
i         # -l = keep symlink / -D = special device	Err	bitreich.org	70
i         if [ -d "${1}" ]	Err	bitreich.org	70
1diff --git a/drist.1 b/drist.1	/scm/drist/file/drist.1.gph	bitreich.org	70
i@@ -6,7 +6,6 @@	Err	bitreich.org	70
i .Nd dumb remote installer shell tool, a remote deployment tool	Err	bitreich.org	70
i .Sh SYNOPSIS	Err	bitreich.org	70
i .Op Fl p	Err	bitreich.org	70
i-.Op Fl n	Err	bitreich.org	70
i .Op Fl d	Err	bitreich.org	70
i .Op Fl s Op Fl e Ar sudo|doas	Err	bitreich.org	70
i .Ar destination	Err	bitreich.org	70
i@@ -17,12 +16,6 @@ to use persistent ssh connection, allowing to ssh only once	Err	bitreich.org	70
i for the differents steps.	Err	bitreich.org	70
i This uses ControlMaster feature from	Err	bitreich.org	70
i .Xr ssh 1 .	Err	bitreich.org	70
i-.It Op Fl n	Err	bitreich.org	70
i-to simulate.	Err	bitreich.org	70
i-Tells	Err	bitreich.org	70
i-.Nm	Err	bitreich.org	70
i-to show what will happens if it runs.	Err	bitreich.org	70
i-This will make a ssh connection to check the remote hostname.	Err	bitreich.org	70
i .It Op Fl d	Err	bitreich.org	70
i to truncate reported hostname.	Err	bitreich.org	70
i Tells	Err	bitreich.org	70
.
Response: text/plain
Original URLgopher://bitreich.org/0/scm/drist/commit/ea86129164b49026...
Content-Typetext/plain; charset=utf-8