Commit Graph

318 Commits

Author SHA1 Message Date
Chip Senkbeil
cfa736bf99
Add musl-cc as linker when building lua module for musl 2021-10-12 17:49:34 -05:00
Chip Senkbeil
9f5af13c86
Add version information to lua module 2021-10-12 17:18:18 -05:00
Chip Senkbeil
f3fc15c197
Bump mlua to v0.6.6 2021-10-12 11:20:44 -05:00
Chip Senkbeil
89039e6dd8
Add rustflags to cargo/config.toml for x86_64-unknown-linux-musl to enable building cdylib without needing to export RUSTFLAGS 2021-10-12 01:25:31 -05:00
Chip Senkbeil
3d4e8e3063
Update release.yml with musl lib release 2021-10-11 21:49:21 -05:00
Chip Senkbeil
78f827faea
Fix clippy warning 2021-10-11 00:12:08 -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
3d09ced685
Improve error reporting for failed directory creation via ssh2 2021-10-10 02:43:22 -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
c1bc1f9db5
Update lua spawn, spawn_wait, and spawn_lsp args parameter to be optional 2021-10-09 22:44:53 -05:00
Chip Senkbeil
c994d090da
Bump to v0.15.0-alpha.10 2021-10-09 22:00:13 -05:00
Chip Senkbeil
8757b8af44
Add distant_bin and distant_args to LaunchOpts 2021-10-09 21:58:54 -05:00
Chip Senkbeil
2ae80950cf
Bump to v0.15.0-alpha.9 2021-10-09 20:58:38 -05:00
Chip Senkbeil
909fe9c7ba
Change lua append_file_text and write_file_text data parameter to text 2021-10-09 20:50:50 -05:00
Chip Senkbeil
3c50bec8ea
Fix formatting and adjust cargo.lock 2021-10-09 19:29:45 -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
89d1cf0e5a
Remove MacOS universal and ARM Lua libs due to https://github.com/khvzak/mlua/issues/82 2021-10-08 18:49:40 -05:00
Chip Senkbeil
79d938218c
Update release with configurable lua version 2021-10-08 12:59:28 -05:00
Chip Senkbeil
54b88cda32
Remove unnecessary scripts 2021-10-07 16:10:59 -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
62e152c499
Add disclaimer about where the lua module needs to be placed 2021-10-07 00:48:35 -05:00
Chip Senkbeil
349c5382eb
Include neovim example 2021-10-07 00:00:34 -05:00
Chip Senkbeil
cb3f808a6c
Revise distant-lua readme example 2021-10-06 23:58:34 -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
43ffd7ae58
Update Ssh2AuthHandler to take a lifetime 2021-09-29 12:00:41 -05:00
Chip Senkbeil
5d28b69596
Bump to 0.15.0-alpha.5 2021-09-29 11:21:18 -05:00
Chip Senkbeil
fb747a3455
Add extra option as fallback for ssh options 2021-09-29 11:20:26 -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
e136686b58
Add release script 2021-09-28 10:33:33 -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
Chip Senkbeil
32639166bc
Refactor codebase to support Minimum Supported Rust Version (MSRV) of 1.51.0 (#55) 2021-09-19 13:18:17 -05:00
Chip Senkbeil
f4eae0a467
Export SessionExt and related components 2021-09-19 00:10:56 -05:00
Chip Senkbeil
8c9a35025b
Update core readme with badges 2021-09-19 00:05:23 -05:00
Chip Senkbeil
2277f9634d
Replace DISTANT_AUTH_KEY with DISTANT_KEY for environment variable parsing 2021-09-18 21:49:21 -05:00
Chip Senkbeil
3c15a90886
Fix log suppression to occur when running remote process and not logging to a file 2021-09-18 21:25:24 -05:00
Chip Senkbeil
cad8ed5ac9
Bump next version to 0.15.0 and update README to reflect new version 2021-09-18 20:49:12 -05:00