[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ssh-deploy efc8be3 058/133: Added another example using
From: |
Stefan Monnier |
Subject: |
[elpa] externals/ssh-deploy efc8be3 058/133: Added another example using plug-in functions from script |
Date: |
Sat, 27 Mar 2021 14:48:43 -0400 (EDT) |
branch: externals/ssh-deploy
commit efc8be32307abe869bc01d5f7bfb5a74c55b6cbe
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>
Added another example using plug-in functions from script
---
README.md | 22 ++++++++++++++++++----
1 file changed, 18 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index 12b7627..d05136c 100644
--- a/README.md
+++ b/README.md
@@ -92,19 +92,33 @@ You really need to do a bit of research about how to
connect via different proto
You can pipe remote connections as well like this:
-### SSH, not asynchronous, with automatic uploads, piped to other user on
remote server and with custom deployment script.
+### SSH, asynchronous using threads, with automatic uploads, piped to other
user on remote server and with custom deployment script.
``` emacs-lisp
((nil . (
(ssh-deploy-root-local . "/Users/username/Web/MySite/")
(ssh-deploy-root-remote .
"/ssh:myuser@myserver.com|sudo:web@myserver.com:/var/www/MySite/")
- (ssh-deploy-async . 0)
+ (ssh-deploy-async . 1)
+ (ssh-deploy-async-with-threads . 1)
(ssh-deploy-on-explicit-save . 1)
- (ssh-deploy-script . (lambda() (let ((default-directory
ssh-deploy-root-remote))(shell-command "bash compile.sh"))))
+ (ssh-deploy-script . (lambda() (let ((default-directory
ssh-deploy-root-remote)) (shell-command "bash compile.sh"))))
+)))
+```
+
+### SSH, asynchronous not using threads, without automatic uploads, piped to
other user on remote server and with custom deployment script.
+
+``` emacs-lisp
+((nil . (
+ (ssh-deploy-root-local . "/Users/username/Web/MySite/")
+ (ssh-deploy-root-remote .
"/ssh:myuser@myserver.com|sudo:web@myserver.com:/var/www/MySite/")
+ (ssh-deploy-async . 1)
+ (ssh-deploy-async-with-threads . 0)
+ (ssh-deploy-on-explicit-save . 0)
+ (ssh-deploy-script . (lambda() (let ((default-directory
ssh-deploy-root-local)) (shell-command "bash compile.sh")
(ssh-deploy-upload-handler))))
)))
```
-If you have a password-less sudo on your remote host you should be to do this
asynchronously.
+If you have a password-less sudo on your remote host you should be to do this
asynchronously or if you have your sudo credentials in your `~/.authinfo.gpg`
file.
### FTP, with automatic uploads
- [elpa] externals/ssh-deploy e133963 125/133: Default exclude value for DirectoryVariables now matches only .dir-locals.el, (continued)
- [elpa] externals/ssh-deploy e133963 125/133: Default exclude value for DirectoryVariables now matches only .dir-locals.el, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 168c66d 114/133: Updated .gitignore to ignore test-generated files, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 93a0e18 128/133: Resolved hydra declaration if hydra is not installed, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 89bb950 131/133: Merge pull request #69 from housensen/patch-1, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 7a5a087 066/133: Updated version, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 664f52c 072/133: Improved missing async function error and replaced require with autoload, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 8c354e1 092/133: Added Travis CI file to repo, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy f61f1ef 041/133: Fixed bug where all DirectoryVariables was not passed on from handlers, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy a1a9d3c 051/133: Work on lisp code styling with (if), (progn) and (when), Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy e0bf686 054/133: More (if), (when) and (progn) optimizations, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy efc8be3 058/133: Added another example using plug-in functions from script,
Stefan Monnier <=
- [elpa] externals/ssh-deploy 4044f78 064/133: Hydra compilation working, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy ae5354a 065/133: Fixed issue were remote paths with symlinks didn't work with recursive diff function, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 6e37aae 067/133: Added unit test for download, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 8107b9e 073/133: Added unit test for rename and delete, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy e895d6d 079/133: Replaced asynchronous (require) with (autoload), Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 5846974 082/133: Added instructions about how to trigger unit test with async.el integration, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 85a7c37 080/133: Added unit tests for asynchronous operations, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 6ddb12b 090/133: All unit tests for remote changes sync and async and compilation passing, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 8e2507b 085/133: Refactored remote changes function and made unit tests for it, Stefan Monnier, 2021/03/27
- [elpa] externals/ssh-deploy 8c26f61 091/133: Updated version and change-date, Stefan Monnier, 2021/03/27