Commit Graph

96 Commits

Author SHA1 Message Date
Chip Senkbeil
2c0883878d
Add --key-from-stdin option to listen cli command to read key from stdin instead of generating 2021-11-11 13:03:36 -06:00
Chip Senkbeil
669d419672
Remove dns resolution for ssh session and add disclaimer to distant session about dns resolution 2021-11-10 12:41:08 -06:00
Chip Senkbeil
0f56669ccd
Add more logging to distant and ssh handler proc_run methods 2021-10-18 00:18:54 -05:00
Chip Senkbeil
a672515378
Improve distant-core readme 2021-10-16 16:00:07 -05:00
Chip Senkbeil
fc2a6ab09c
Bump to v0.15.0 release and add readme for distant-ssh2 2021-10-16 15:38:07 -05:00
Chip Senkbeil
fefcc66737
Bump to v0.15.0-alpha.22 and update distant/ssh handlers to inject exit code 0 when successful 2021-10-16 14:48:48 -05:00
Chip Senkbeil
1dc5b69236
Bump to v0.15.0-alpha.21 2021-10-16 13:41:58 -05:00
Chip Senkbeil
4957651696
Fix append_file and append_file_text not creating a file when missing 2021-10-16 13:41:23 -05:00
Chip Senkbeil
dba8a80dd8
Bump to v0.15.0-alpha.20 and fix ssh -> distant session not binding to proper interface 2021-10-15 23:45:45 -05:00
Chip Senkbeil
d62f91be76
Bump to v0.15.0-alpha.19 2021-10-15 21:15:24 -05:00
Chip Senkbeil
e01a322866
Bump to v0.15.0-alpha.18 2021-10-15 16:50:21 -05:00
Chip Senkbeil
976544eebd
Fix inmemory stream getting stuck 2021-10-15 16:26:34 -05:00
Chip Senkbeil
0f6cf3d537
Bump to v0.15.0-alpha.17 2021-10-14 16:24:14 -05:00
Chip Senkbeil
ab3417c7f2
Fix clippy warnings 2021-10-14 12:38:09 -05:00
Chip Senkbeil
d025ff28ab
Fix stdout, stderr, and stdin causing deadlock; update status to only acquire a read lock 2021-10-14 09:36:00 -05:00
Chip Senkbeil
11c3e5c34e
Update nvim_wrap_async to use vim.defer_fn instead of schedule and support optional interval; bump to v0.15.0-alpha.16 2021-10-14 02:04:21 -05:00
Chip Senkbeil
a8b6f3eb31
Add status method to RemoteProcess and lua module equivalent 2021-10-14 01:16:43 -05:00
Chip Senkbeil
e0312c118c
Bump to v0.15.0-alpha.15 2021-10-13 02:36:07 -05:00
Chip Senkbeil
4050a421bc
Add spacing and change to DISTANT CONNECT from DISTANT DATA 2021-10-13 01:06:42 -05:00
Chip Senkbeil
d4312649e6
Fix lockup of AsyncWrite for write half of transport by directly doing async call to trigger cx 2021-10-13 00:28:06 -05:00
Chip Senkbeil
7c27c24636
Fix InmemoryStreamWriteHalf AsyncWrite to properly yield pending upon full channel 2021-10-12 22:51:59 -05:00
Chip Senkbeil
f1e0f82df5
Added missing error response support in SessionChannelExt 2021-10-12 19:56:05 -05:00
Chip Senkbeil
201101cb7f
Bump to v0.15.0-alpha.14 2021-10-10 23:11:11 -05:00
Chip Senkbeil
c2e588544f
Update wezterm-ssh dep to 0.2.0, fix ssh -> distant session, refactor session to have optional details included 2021-10-10 23:09:42 -05:00
Chip Senkbeil
043ae6ca4b
Couple of changes:
1. Add support to detach processes from distant server
2. Refactor distant_bin and distant_args to distant.bin and distant.args
3. Add use_login_shell option for launch distant opts
2021-10-10 15:05:04 -05:00
Chip Senkbeil
bd526c9c82
Fix clippy warning 2021-10-10 02:46:51 -05:00
Chip Senkbeil
a5c761c62c
Fix bug where ReadBuf.put_slice(...) was used, but the slice was too big 2021-10-10 02:11:42 -05:00
Chip Senkbeil
733cc152ea
Bump to v0.15.0-alpha.12 and fix nil for distant_args 2021-10-10 00:03:57 -05:00
Chip Senkbeil
5cc05b8a7a
Bump to v0.15.0-alpha.11 2021-10-09 22:45:31 -05:00
Chip Senkbeil
c994d090da
Bump to v0.15.0-alpha.10 2021-10-09 22:00:13 -05:00
Chip Senkbeil
2ae80950cf
Bump to v0.15.0-alpha.9 2021-10-09 20:58:38 -05:00
Chip Senkbeil
cf24ba21c3
Bump to 0.15.0-alpha.8 2021-10-09 19:26:32 -05:00
Chip Senkbeil
4cb5ba3b98
Fix tests 2021-10-09 19:24:59 -05:00
Chip Senkbeil
788fa48e96
Several core and lua enhancements
1. Implement system_info and spawn_wait for lua session
2. Implement wait and output for remote process
3. Switch mlua to git latest
4. Update core data error to be error type with io error conversions
5. Add proper error reporting when process gets an error response
6. Update lua launch and connect options to have defaults
2021-10-09 17:38:35 -05:00
Chip Senkbeil
0dca0c9aa6
Bump to 0.15.0-alpha.7 w/ new release.yml 2021-10-07 15:40:07 -05:00
Chip Senkbeil
16bed4690b
Add lua lib & support compiling distant cli on windows (#59)
* Update distant-ssh2 with new changes to wezterm-ssh
* Implement lua module (distant-lua)
* Implement tests for lua module (distant-lua-tests)
* Add untested windows daemon support
* distant binary now compiles on windows
* Split up Github actions for Windows, MacOS, and Linux into individual yaml files
2021-10-06 23:17:07 -05:00
Chip Senkbeil
b27f0a4109
Bump to 0.15.0-alpha.6 2021-09-29 12:03:42 -05:00
Chip Senkbeil
5d28b69596
Bump to 0.15.0-alpha.5 2021-09-29 11:21:18 -05:00
Chip Senkbeil
6381006edd
Bump to 0.15.0-alpha.4 2021-09-29 10:57:58 -05:00
Chip Senkbeil
97536c7b2b
Refactor Metadata and SystemInfo response data types to support subtypes as singular parameters 2021-09-29 10:54:37 -05:00
Chip Senkbeil
4a4a06ef80
Bump to 0.15.0-alpha.3 2021-09-29 00:05:32 -05:00
Chip Senkbeil
fd2a5a985c
Update Metadata to be cloneable, debuggable, serializable, and deserializable; remove unused ssh2 feature deps from core 2021-09-29 00:05:03 -05:00
Chip Senkbeil
e586891463
Update to 0.15.0-alpha.2
* Rename SessionExt -> SessionChannelExt
* Rename SessionExtError -> SessionChannelExtError
* Update SessionChannel to implement SessionChannelExt
* Update Session to not implement SessionChannelExt as it gets this for
  free through Deref/DerefMut targeting SessionChannel
2021-09-28 11:49:26 -05:00
Chip Senkbeil
88efcb2e5e
Mark version as pre-release 0.15.0-alpha.1 2021-09-28 10:45:53 -05:00
Chip Senkbeil
6c1073a8ae
Add missing spawn_lsp method to SessionExt 2021-09-28 01:32:06 -05:00
Chip Senkbeil
0a11ec65a2
Add native ssh (#57)
* Bump to 0.15.0
* Add new distant-ssh2 subcrate to provide an alternate session as an ssh client
* Add rpassword & wezterm-ssh dependencies
* Rename core -> distant-core in project directory structure and move ssh2 feature into distant-ssh2 crate
* Upgrade tokio to 1.12,
* Update github actions to detect changes and apply testing for only those changes
* Add method parameter to support distant & ssh methods for action and lsp subcommands
* Add ssh-host, ssh-port, and ssh-user parameters to specify information for ssh method
2021-09-28 00:04:26 -05:00