Commit Graph

131 Commits (master)

Author SHA1 Message Date
Chip Senkbeil 2b23cd379c
Rename mode -> format; bump to 0.13.0 3 years ago
Chip Senkbeil 33abcbb5fb
Update logger to properly shutdown when process exits 3 years ago
Chip Senkbeil f6e9195503
Update error response to include kind, refactor kind to be from a defined set, support new exists request/response 3 years ago
Chip Senkbeil e2fd3a9bae
Add proper exit codes mirroring sysexits from FreeBSD 3 years ago
Chip Senkbeil 86e4d7f2fc
Refactor to support a payload for request/response with multiple entries; bump to 0.10.0 3 years ago
Chip Senkbeil 24d0c3b2ab
Bump to v0.9.5 and update couple of cli descriptions 3 years ago
Chip Senkbeil fac7687f27
Remove excessive trace logging of send/recv at transport level as this isn't useful 3 years ago
Chip Senkbeil 1a1f219594
Update DirRead to sort returned paths by name 3 years ago
Chip Senkbeil 809baaee85
Add extra aliases for different actions like creating a dir and running a process 3 years ago
Chip Senkbeil f51b8420f3
Update metadata human printout to not include canonicalized_path if missing 3 years ago
Chip Senkbeil 9a67418227
Add option to metadata request to return the canonicalized path in the response; bump to 0.9.0 3 years ago
Chip Senkbeil df80f261bc
Add client timeout support, system info message, and support for including root path in retrieved dir entries 3 years ago
Chip Senkbeil b3a4d79507
Update stdin/stdout/stderr pipes to read into buffers instead of waiting for newlines 3 years ago
Chip Senkbeil 4edf8021cc
Add features and fixes for upcoming 0.6.0
1. Capture errors when listing directory contents and report them
   as part of the response instead of exiting on first error
2. Refactor DirRead request to support providing a depth (instead
   of the "all" flag), canonicalizing the paths, and have the choice
   of returning absolute paths instead of relative
3. Fix forked process for launch not connecting over TCP to
   server due to tokio runtime being inherited from parent
4. Fix leftover launch process caused by forking w/ the old runtime
5. Fix stdout/stderr of running processes not being reported
   (when process looping and not returning) by wrapping stdout/stderr
   in `BufReader` and sending back one line at a time for each
6. Refactor ProcStdout and ProcStderr responses to send back a line
   field that is a string instead of a data field that is a byte vec
   as we are now reading and sending back whole lines, which makes
   more sense and aligns with output flushing and common stdout/stderr
   processing by other programs
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 d1e342f04f
Fix bug where writing file did not work from cli, add text options for write and append, bump to 0.3.2 3 years ago
Chip Senkbeil 3c68bb3377
Add metadata request & response; bump to 0.3.1 3 years ago
Chip Senkbeil f24bb6067d
Rename send -> action and bump to 0.3.0 3 years ago
Chip Senkbeil 3cbdfb19d9
Add extra session commands 3 years ago
Chip Senkbeil 7563855217
Bump version to 0.2.2 3 years ago
Chip Senkbeil 8fd4047b57
Bump version to 0.2.1 3 years ago
Chip Senkbeil 9c5b723511
Bump version 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 a707523fb5
Implement file I/O commands 3 years ago
Chip Senkbeil f2cce4aa34
Refactor code to have request/response format w/ client wrapper for easier processing 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 1b7d017c14
Implement some of the session setup code 3 years ago
Chip Senkbeil b506943607
Initial commit 3 years ago