1111 Commits (37ba222428868bb169e03c7a6fa992d24a3829ef)
 

Author SHA1 Message Date
Sayan Nandan 36b02e9099
Fix backup restoration and simplify `arbiter::run` 3 years ago
Glydr 5c5fe3573f
Merge pull request #236 from skytable/config/modeset
Implement dev/prod mode, error stack and fix config bugs
3 years ago
Sayan Nandan d550e0d7a7
Expect `noart` in production mode
This might make one think that we are being outrageously strict,
but at the end of the day, it can help investigate crashes
or inspect logs without artwork all over the place.

Following some discussions, the `user` mode was renamed to `dev`
mode.

This commit also upgrades some deps, other than clap which has
deprecated yaml support (we will continue to use 2.x).

Finally, the CHANGELOG was updated.
3 years ago
Sayan Nandan 46c048f855
Fix rlimit check on Windows
Windows (obviously) doesn't have libc's rlimit so simply avoid
any references to it
3 years ago
Sayan Nandan d121fa96fb
Enable config evaluation for prod mode 3 years ago
Sayan Nandan 0d2a143e12
Fix warningstack_fmt test 3 years ago
Sayan Nandan d2d96e745e
Improve maxcon diagnostic 3 years ago
Sayan Nandan 481509d927
Fix rlimit impl for 32-bit 3 years ago
Sayan Nandan 6b54217fb2
Add production-mode setting evaluation 3 years ago
Sayan Nandan 4325cf9065
Add method to check number of open files on unix-based systems 3 years ago
Sayan Nandan 857e05529a
Add CLI config tests and improve diagnostic tests 3 years ago
Sayan Nandan 59a67ba0c5
Add cfg file tests 3 years ago
Sayan Nandan 53218ee98a
Add tests for types that implement `TryFromConfigSource` 3 years ago
Sayan Nandan 647d6ce05c
Add tests for config impl 3 years ago
Sayan Nandan ce7d7bef25
Fix config change checks and error messages 3 years ago
Sayan Nandan 86b9ac3dee
Switch to using new config framework 3 years ago
Sayan Nandan b46a5ac13f
Add method for chaining configuration sets 3 years ago
Sayan Nandan d820ef910d
Add config file impl using new config impl 3 years ago
Sayan Nandan afcd8031c2
Fix missing checks for server.noart and server.maxcon for CLI config 3 years ago
Sayan Nandan a48b3fd423
Rewrite CLI config using new config impl 3 years ago
Sayan Nandan 3861a32c2e
Rewrite `cfgenv` using new config impl 3 years ago
Sayan Nandan d46d73301b
Add config impls for `bgsave`, `snapshot` and `ssl` 3 years ago
Sayan Nandan 09afcd3e74
Add new config impl for server section 3 years ago
Sayan Nandan bd56ee2db5
Add `FeedbackStack`, `ErrorStack` and `WarningStack` 3 years ago
Sayan Nandan 9614e9e171
Use specific working directory in Docker image 3 years ago
Sayan Nandan 3b3666f264
Enable the use of configuration files in `Dockerfile` 3 years ago
Sayan Nandan 0b1ed6af6e
Add `ErrorStack` definition 3 years ago
Sayan Nandan 85e789a1ee
Upgrade deps 3 years ago
Sayan 2cdabfc43e
Automatically package Debian packages on release (#235)
* Add debian package generation

* Install cargo-deb on `make deb`

* Reload systemd daemon on postinst

* Add auto upload for Debian packages

* Consider using runner.os for simplicity
3 years ago
Sayan Nandan 88a8095f42
Upgrade deps 3 years ago
Sayan Nandan c68d3ea3f4
Upgrade deps
All deps except for `clap` has been upgraded. Due to the removal of
the `args` field in `ArgMatches` in v3, and our dependence on the
field, we cannot upgrade to the latest version.

A PR has been created and once it is merged or a workaround
suggested, we can upgrade. (see clap-rs/clap#3265)
3 years ago
Sayan Nandan 12d90944a3
Report error when sample space is too low for key generation
It's important that we report an error when the sample space is too
low for the given k/v size and key count. Previously, we'd end up
entering an infinite wait time (essentially an infinite loop); this
has been fixed.
3 years ago
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