66 Commits (f6b25ce48ca3707a88d22c5ec0d349c37e274ebd)

Author SHA1 Message Date
Sayan Nandan 94c400c962
Enable actions to be run without the REPL in tsh
If any user needs to run an action without the REPL, they can now do it
by running `tsh -e 'expr'`

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan b257b7286d
Further reduce the size of the docker image
Also the deps were upgraded (there's no point of dependabot creating
multiple commits for upgrading deps)

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan 792351108d
Rollout 0.5.0
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan bfb4b920df
Bump up version and add changelog entry
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan 824944e30e
Don't use an explicit `enabled` flag in `snapshot`
There is no merit in having a redundant `enabled` key under
`snapshot` in the configuration file; if a `snapshot` key is present,
it is inherently obvious that snapshotting is enabled

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan 477acfab4b
Allow tsh to process flags and opts from the shell
This commit enables processing for flags and
options for `tsh`. This is a breaking change as it prevents
users from using the previous launch arguments and
instead requires them to use a `-h` and `-p` combination

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan ac37769b7a
Rollout v0.4.5
Also, the actiondoc for `MKSNAP` was updated and a changelog entry was
added for this release

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan bc1a6fd456
Upgrade tokio to 0.3.2
Upstream changes in tokio have required several changes.
For example, `delay_until` was renamed to `sleep_until`. Similarly,
`notify` was renamed to `notify_one`.
Also, in tdb-macros, the `runtime::Builder::new()` line was changed into
`runtime::Builder::new_multi_thread()` due to changes upstream

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan 0ea02f846a
Add tests for MKSNAP and bump up version
We don't need tests for MKSNAP when it is enabled as we already have
tests for snapshotting in `diskstore::snapshot`

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan a3c5135022
Provide `asyncdb` for `dbtest` macro functions
In `cli` other errors are now formatted in a `[ERR]` format
Also the documentation across the project was updated

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
4 years ago
Sayan Nandan a39a7b82a3
Fix packet errors due to empty queries in cli 4 years ago
Sayan Nandan 3ce9ea6eeb
Bump up version 4 years ago
Sayan Nandan 6ead5ebe6c
Rollout v0.4.4 4 years ago
Sayan Nandan e6250ae68a
Rollout v0.4.3 4 years ago
Sayan Nandan f6be0cd781
Bump up version 4 years ago
Sayan Nandan 1ac8dd896a
Rollout v0.4.2 4 years ago
Sayan Nandan b2a5237191
Bump up version 4 years ago
Sayan Nandan 913cef85e2
Move `tdb-bench` into a separate crate
Since tdb-bench no longer needs to be with cli, it was moved
4 years ago
Sayan Nandan 096a0c901b
Remove unused functions and duplicates
`proc_query` is used by both by `tdb-bench` and `tsh` so it was moved.
Also, the `println`s in the query tests were moved into the macros
4 years ago
Sayan Nandan 85662e1f83
Enable tsh to connect to different ports 4 years ago
Sayan Nandan f69bef7308
Improve terminal output and bump up version
We will show a syntax error when we get an invalid config file.
4 years ago
Sayan Nandan c26a319877
Bump up version 4 years ago
Sayan Nandan b06dedc8bd
Enable configuration files to be used 4 years ago
Sayan Nandan 6ad417e7ce
Bump up version to 0.4.0 4 years ago
Sayan Nandan e23cd5ffcd
Update version and labels 4 years ago
Sayan Nandan d8408a45cd
Bump up version 4 years ago
Sayan Nandan eee6ddbd45
Fix precompiled responses 4 years ago
Sayan Nandan de6f39df4b
Add support for integers 4 years ago
Sayan Nandan e49df70aef
Update license headers 4 years ago
Sayan Nandan a8fe1a77ef
Upgrade benchmarks 4 years ago
Sayan Nandan c11290c620
Impl `Display` for `DataGroup` in cli 4 years ago
Sayan Nandan bbd94e50ba
Fix `proc_query` in `cli` generating wrong length 4 years ago
Sayan Nandan 2e4e9f662a
Fix parsing of sizes greater than 9 4 years ago
Sayan Nandan c5c9709e9b
Upgrade `cli` to use the new protocol 4 years ago
Sayan Nandan 6aee3bf5f4
Remove `libtdb` deps from `server` 4 years ago
Sayan Nandan 67dc83764a
Rename `corelib` to `libtdb` 4 years ago
Sayan Nandan d6d764cfb9
Improve command line output for responses 4 years ago
Sayan Nandan bad7b0999d
Update response codes 4 years ago
Sayan Nandan 2544e28e80
Use the `Response` type alias to avoid clones
Also docs were updated to reflect changes in Navigator.
`Action` was renamed to `DataGroup`
4 years ago
Sayan Nandan 6844de1f0b
Fix client-side parser in cli 4 years ago
Sayan Nandan f536ebb9aa
Upgrade to use new protocol 4 years ago
Sayan Nandan 423c9b37aa
Use blanket implementations for response traits 4 years ago
Sayan Nandan 44e0affc82
Enable remote host connections on tsh 4 years ago
Sayan Nandan 689345cc90
Add tdb-bench to bundle 4 years ago
Sayan Nandan 6f3fea8ebc
Improve command line output 4 years ago
Sayan Nandan a5067ad501
Fix output on empty responses in CLI 4 years ago
Sayan Nandan 79e3b9535f
Removed debug messages and added docs 4 years ago
Sayan Nandan e8d1c0e90c
Improve benchmark program output 4 years ago
Sayan Nandan 0bc5f025a9
Fix response packet parser 4 years ago
Sayan Nandan 9a4dfd2ebc
Upgrade client to use new corelib modules 4 years ago