Commit Graph

31 Commits (master)

Author SHA1 Message Date
Chip Senkbeil 8972013716
Refactor capabilities to version for manager, integrate version checking for client/server/manager, and define protocol version (#219) 10 months ago
Chip Senkbeil 56b3b8f4f1
Fix CLI commands with --format json not outputting errors in JSON 11 months ago
Chip Senkbeil e0b8769087
Fix return code of --help and --version on cli 11 months ago
Chip Senkbeil b163094d49
Update to test READMEs 12 months ago
Chip Senkbeil b8fecaacc0
Apply nightly formatting to reorder imports and use module-level import granularity 1 year ago
Chip Senkbeil 4b983b0229
Refactor into unified settings (#172) 1 year ago
Chip Senkbeil ea2e128bc4
Refactor to use distant manager (#112) 2 years ago
Chip Senkbeil f46eeea8d5
Add environment as new output session type and change defaults to environment for CLI (#98) 2 years ago
Chip Senkbeil 8c234f95d0
Support json ssh auth (#83)
* Add support for JSON communication of ssh auth during launch
* Switch to cbor alternative lib as serde cbor has been abandoned
* Refactor some request & response types to work with new cbor lib
* Update cli to always include serde dep
* Expose origin_id of remote process as method
2 years ago
Chip Senkbeil 3c15a90886
Fix log suppression to occur when running remote process and not logging to a file 3 years ago
Chip Senkbeil c4d1011b14
Add session ext (#53)
* Add `SessionExt` trait for friendlier methods
* Create `Mailbox` and internal `PostOffice` to manage responses to requests
* Refactor `Session` to use a new `SessionChannel` underneath
* Refactor `Response` to always include an origin_id field instead of being optional
* Update `ProcStdout`, `ProcStderr`, and `ProcDone` to include origin id
* Replace `verbose` option with `log-level`
3 years ago
Chip Senkbeil 35fa1197da
Update remote process execution to automatically disabling logging to console; add sleep before checking file write/append results to account for delays from OS 3 years ago
Chip Senkbeil 8cdc9f271d
Refactor distant binary to yield software exit code when oneoff operation fails 3 years ago
Chip Senkbeil 188b5f74e4
Add first example of an e2e test for distant cli 3 years ago
Chip Senkbeil df81894785
Split distant into distant-core and distant (bin) 3 years ago
Chip Senkbeil ba6ebcfcb8
Refactor codebase to be more testable & add some initial tests 3 years ago
Chip Senkbeil 1ca3cd7859
Big refactor that is not finished 3 years ago
Chip Senkbeil 33abcbb5fb
Update logger to properly shutdown when process exits 3 years ago
Chip Senkbeil f12c3428eb
Move around some net structs and impls to their own modules, add some client tests 3 years ago
Chip Senkbeil e2fd3a9bae
Add proper exit codes mirroring sysexits from FreeBSD 3 years ago
Chip Senkbeil d4775477aa
Refactor codebase into cli and core modules, add unix socket support, bump to 0.5.0 3 years ago
Chip Senkbeil a7dd0eb435
Refactor codebase with breaking changes
1. Add --session argument to launch and action
   subcommands that accepts file or pipe for
   launch and environment, file, or pipe for action
2. Unify session string as "DISTANT DATA <host> <port> <auth key>"
3. Rename utils to session
4. Split out Session file functionality to SessionFile
5. Remove SessionError in favor of io::Error
6. Bump version to 0.4.0 in preparation for that release
3 years ago
Chip Senkbeil fa71e40982
Fix failures not returning a bad exit code 3 years ago
Chip Senkbeil 72870b2b7d
Change file logging to include timestamp and remove exposure of derived crypt key 3 years ago
Chip Senkbeil f59ae7f6ed
Fix dropped messages on client side and lockup of transport when trying to read and write concurrently 3 years ago
Chip Senkbeil e4bdde8aae
Update with proper logging; fix bad host parsing 3 years ago
Chip Senkbeil 3c7561bef8
Implemented broken framed logic 3 years ago
Chip Senkbeil 9d7be8b4d7
Refactor operations to be both cli and request data 3 years ago
Chip Senkbeil 273e55fa0b
Refactor to create tokio runtimes within commands instead of at main 3 years ago
Chip Senkbeil 1b7d017c14
Implement some of the session setup code 3 years ago
Chip Senkbeil b506943607
Initial commit 3 years ago