1029 Commits (c380a21b5fc2501bc60c0908c13bc0917ab187ee)
 

Author SHA1 Message Date
Sayan Nandan 1c16e43d3d
Upgrade deps 3 years ago
Sayan Nandan 7c9058a02e
Upgrade deps 3 years ago
Glydr 160e475019
Merge pull request #234 from skytable/storage/native-endian
Support system native endian storage
3 years ago
Sayan Nandan 6800b5eb0a
Use native endian for testing
Add changelog
3 years ago
Sayan Nandan 87f260d6b2
Support writing in native endian 3 years ago
Sayan Nandan c0497e4339
Support reading data from a different endian 3 years ago
Sayan Nandan e67dfb2453
Clean-up validation impls in sky-bench 3 years ago
Sayan Nandan 50eb183f46
Upgrade deps 3 years ago
Sayan Nandan 93d1004c80
Add changelog and switch to using rustc edition 2021 3 years ago
Sayan Nandan f48e565065
Fix runner impl to use non-null typed array 3 years ago
Sayan Nandan 769378f7ce
Fix tests for `whereami` 3 years ago
Sayan Nandan 1deac63fb9
Use typed non-null array for `whereami` 3 years ago
Sayan 76f493753b
Add the `whereami` action (#232)
* Move macros into module

* Add the `whereami` action to identify the current entity

* Show entity group in the skysh prompt

* Add tests and actiondoc for `whereami`

* Add changelog entry

* Upgrade deps
3 years ago
Sayan Nandan c260dac3a4
Revoke old public security key 3 years ago
Sayan Nandan b7f34d849f
Add the `!pipe` command to the shell 3 years ago
Sayan Nandan ce8b6e2340
Disable caching on ARM64 CI
Caching only adds latency to the entire workflow, so we'll disable
it until GitHub fixes the issue with their caching on IPv6.
3 years ago
Sayan Nandan 6ea2f33840
Use a shorter startup message on skysh
The "huge" welcome is maybe not what we exactly want right on startup.
Hence, we will switch to using a shorter message.
3 years ago
Sayan Nandan fe5319bdea
Add shell specific commands
A shell-specific help command was added along with support for
explanations of shell-specific commands.
3 years ago
Sayan Nandan 57555e40c0
Use drain to avoid unnecessary clones 3 years ago
Sayan Nandan 58a755bf58
Simplify readline impl in skysh 3 years ago
Sayan Nandan bc318dd78d
Simplify `Runner` impl in skysh 3 years ago
Sayan Nandan b63d90fa58
Add benches for skyd::protocol
This was added under the 'nightly' feature gate
3 years ago
Sayan Nandan b440a7ceec
Merge branch 'pipeline' into next 3 years ago
Sayan Nandan 9656d7d9f6
Upgrade deps
Also added changelog entry
3 years ago
Sayan Nandan cac9a9225f
Add a sanity test for errors in pipelines 3 years ago
Sayan Nandan 048e79df2c
Fix pipeline impl and add basic pipeline tests
The pipeline impl had a bug which caused a parse error; this happened
because we directly wrote the length as an integer (with the tsymbol)
when we were supposed to only write the integer in its string form
to the stream. This was fixed.

Also, some preliminary tests were added for pipelines.
3 years ago
Sayan Nandan f33b8dc00c
Support backticks in skysh 3 years ago
Sayan Nandan 12db246725
Implement basic pipelines
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan 9b132f4351
Upgrade deps
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan 87b8d91f2c
Support inline comments in `skysh`
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan 01ab66f64c
Support comments in `skysh`
Also support multiline pasting in the interactive shell

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan eb22456b18
Fix input of multiline commands in skysh
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan 55fca51815
Disallow text directly before quotes
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan e18205c4d3
Disallow text directly after quote(s)
If we do permit this to happen, it can lead to several errors. For
example, if we ran this:

get rust'ferris'

the tokenizer would have inferred this as ["get", "rust", "ferris"]
which will lead to an action error. This commit prevents that from
happening.

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan 7973730de5
Issue errors with single quotes
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan af53eda1f7
Simplify line append op and add changelog entry
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan 58d32c0a96
Add tests for skysh tokenizer
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan fcc99268fb
Support multiline strings in skysh
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan 49d7eecbab
Remove re expressions used for queries in skysh
These are no longer relevant because of the last commit

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan 4d4ce95f13
Use manual tokenization for queries in skysh
This avoids all the regex fuss

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan 2814bdb151
Bump up version to 0.7.1
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan 0e645569b0
Fix quote inputs to skysh for whitespaced vals
If the matched group has a starting 0x22, only then remove the trailing
quotes. Similarly, if the matched group has a starting 0x27, only then
remove the trailing quote.

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan 90276e3ead
Upgrade deps
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan 18a0f557a0
Merge branch 'config/env' into next 3 years ago
Sayan Nandan 374ba57133
Add support for environment variable configuration
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan 2387103c5c
Fix missing check for durations in config
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan 468b1460e4
Fix conflict check tests
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan ef652befc9
Add env var `ConfigError` variant and rename ident
The `ParsedConfig` struct was renamed to `ConfigurationSet` because it
is more clear in contexts as parsing can be an ambiguous term in several
places.

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan 29a154f70e
Add tests for configuration conflict
Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago
Sayan Nandan f56610123e
Fix check of host and port values in config file
43bef62a incorrectly dismissed the check for host/port config in the
case of a non-TLS setup. This commit fixes that.

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
3 years ago