all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Christian Johansson <christian@cvj.se>
Cc: emacs-devel@gnu.org
Subject: Re: [ELPA] New package: ssh-deploy
Date: Thu, 25 Oct 2018 11:36:13 +0200	[thread overview]
Message-ID: <874ldapdv6.fsf@gmx.de> (raw)
In-Reply-To: <dde0d963-e0ce-40c9-3738-a0aed7bf1696@cvj.se> (Christian Johansson's message of "Sat, 20 Oct 2018 09:54:55 +0200")

Christian Johansson <christian@cvj.se> writes:

> Hi!

Hi Christian,

> The ssh-deploy plug-in for Emacs makes it possible to effortlessly
> deploy local files and directories to remote hosts via TRAMP
> (including but not limited to SSH, SFTP, FTP). It tries to provide
> functions that can be easily used by custom scripts.

Thanks for this, it looks interesting.

I've checked README.md in order to get a first impression.

First of all: could you limit yourself to 80 chars per line in all your files? This makes
reading them more comfortable.

## Features:
* Define syncing configuration per directory or per file (using `DirectoryVariables` or `File Variables`)
* Control whether uploads of files should be automatic on save

This sounds like shadowfile.el functionality. What is the difference in
your implementation? (Note: shadowfile.el was broken for a long
time. I've fixed this recently only, in Emacs 27.0.50)

* Automatic and manual detection of remote changes of files using local revisions

How do you do this? Polling? File notifications?

* Launch difference sessions for directories using a custom implementation of recursive directory differences over TRAMP based on `ediff`

IIRC, ediff offers already something like this. What do you do else?

* All operations support asynchronous mode if `(make-thread`) or `async.el` is installed. (You need to setup an automatic authorization for this, i.e. `~/.netrc`, `~/.authinfo` or `~/.authinfo.gpg` and/or key-based password-less authorization)

I would rather point to auth-source.el, the de-facto standard in
Emacs. And if the problems with user interactions are solved in the
feature/tramp-thread-safe branch, this restriction might not be needed
anymore.

((nil . (
  (ssh-deploy-root-local . "/Users/username/Web/MySite/")
  (ssh-deploy-root-remote . "/ssh:myuser@myserver.com:/var/www/MySite/")
  (ssh-deploy-on-explicit-save . t)
  (ssh-deploy-remote-sql-database . "myuser")
  (ssh-deploy-remote-sql-password . "mypassword")
  (ssh-deploy-remote-sql-user . "myuser")
)))

This looks like directoy-local variables. Have you thought to use
connection-local variables instead?

> Regards
> Christian

Best regards, Michael.



      reply	other threads:[~2018-10-25  9:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-20  7:54 [ELPA] New package: ssh-deploy Christian Johansson
2018-10-25  9:36 ` Michael Albinus [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874ldapdv6.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=christian@cvj.se \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.