From 43779eb08e900a944bb905d27dc16bdf30886ee1 Mon Sep 17 00:00:00 2001 From: Sayan Nandan Date: Fri, 5 Mar 2021 13:12:05 +0530 Subject: [PATCH] And now we're Skytable Signed-off-by: Sayan Nandan --- .ci.yml | 2 +- .github/workflows/docker-image.yml | 2 +- .github/workflows/sync-mirror.yml | 16 ---------------- AUTHORS.md | 2 +- CHANGELOG.md | 2 +- CLA.md | 2 +- CONTRIBUTING.md | 6 +++--- Dockerfile | 2 +- README.md | 22 +++++++++++----------- actions.jsonc | 8 ++++---- ci/doc.sh | 2 +- cli/src/argparse.rs | 6 +++--- cli/src/cli.yml | 6 +++--- cli/src/main.rs | 4 ++-- cli/src/protocol/deserializer.rs | 4 ++-- cli/src/protocol/mod.rs | 4 ++-- libsky/src/lib.rs | 6 +++--- libsky/src/terrapipe.rs | 4 ++-- libsky/src/util.rs | 4 ++-- server/native/fscposix.c | 4 ++-- server/src/admin/mksnap.rs | 4 ++-- server/src/admin/mod.rs | 6 +++--- server/src/cli.yml | 4 ++-- server/src/config/mod.rs | 6 +++--- server/src/coredb/mod.rs | 4 ++-- server/src/dbnet.rs | 4 ++-- server/src/diskstore/mod.rs | 4 ++-- server/src/diskstore/snapshot.rs | 4 ++-- server/src/diskstore/snapstore.rs | 4 ++-- server/src/kvengine/dbsize.rs | 4 ++-- server/src/kvengine/del.rs | 4 ++-- server/src/kvengine/exists.rs | 4 ++-- server/src/kvengine/flushdb.rs | 4 ++-- server/src/kvengine/get.rs | 4 ++-- server/src/kvengine/jget.rs | 4 ++-- server/src/kvengine/keylen.rs | 4 ++-- server/src/kvengine/mget.rs | 4 ++-- server/src/kvengine/mod.rs | 6 +++--- server/src/kvengine/mset.rs | 4 ++-- server/src/kvengine/mupdate.rs | 4 ++-- server/src/kvengine/set.rs | 4 ++-- server/src/kvengine/strong.rs | 4 ++-- server/src/kvengine/update.rs | 4 ++-- server/src/kvengine/uset.rs | 4 ++-- server/src/main.rs | 27 ++++++++------------------- server/src/protocol/deserializer.rs | 4 ++-- server/src/protocol/mod.rs | 4 ++-- server/src/protocol/responses.rs | 4 ++-- server/src/protocol/tls.rs | 4 ++-- server/src/queryengine/mod.rs | 4 ++-- server/src/resp/mod.rs | 4 ++-- server/src/tests/kvengine.rs | 4 ++-- server/src/tests/mod.rs | 4 ++-- sky-bench/src/cli.yml | 8 ++++---- sky-bench/src/main.rs | 4 ++-- sky-macros/src/lib.rs | 6 +++--- 56 files changed, 130 insertions(+), 157 deletions(-) delete mode 100644 .github/workflows/sync-mirror.yml diff --git a/.ci.yml b/.ci.yml index 2d1a28d3..44bf8826 100644 --- a/.ci.yml +++ b/.ci.yml @@ -38,7 +38,7 @@ steps: - name: push-docker-image image: plugins/docker settings: - repo: Skybase/sdb + repo: Skytable/sdb username: from_secret: docker_username password: diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 1f3b1dfb..f74c86d3 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -41,7 +41,7 @@ jobs: with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - repository: skybasedb/sdb + repository: skytable/sdb tags: latest tag_with_ref: true if: env.BUILD == 'true' || github.event_name == 'create' && startsWith(github.ref, 'refs/tags/v') diff --git a/.github/workflows/sync-mirror.yml b/.github/workflows/sync-mirror.yml deleted file mode 100644 index 9f40d6ba..00000000 --- a/.github/workflows/sync-mirror.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Sync with mirrors -on: push -jobs: - sync-mirror-1: - name: Sync with repo mirror - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - with: - fetch-depth: 0 # Get all tags and branches - - name: Run sync - env: - SYNC_EP: ${{ secrets.MIRROR_GL_API }} - run: | - eval '${SYNC_EP}' diff --git a/AUTHORS.md b/AUTHORS.md index 1058569f..9a1704c2 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -1,3 +1,3 @@ # The Authors -Whenever we refer to "The Skybase Authors", "The Sky Authors", "The SkybaseDB Authors", "The SDB Authors", "The TerrabaseDB Authors", "The TDB Authors", or simply "The Authors", we are referring to: +Whenever we refer to "The Skytable Authors", "The Sky Authors", "The SkybaseDB Authors", "The SDB Authors", "The TerrabaseDB Authors", "The TDB Authors", or simply "The Authors", we are referring to: - Sayan (ohsayan at outlook dot com) \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index ed4b64c9..48ef5c3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -53,7 +53,7 @@ This release adds the following actions: > No breaking changes -This release adds `BGSAVE` for automated background saving (see [#11](https://github.com/skybasedb/skybase/issues/21)) +This release adds `BGSAVE` for automated background saving (see [#11](https://github.com/skytable/skytable/issues/21)) ## Version 0.4.1 [2020-09-06] diff --git a/CLA.md b/CLA.md index 952c534f..41e7c406 100644 --- a/CLA.md +++ b/CLA.md @@ -1,7 +1,7 @@ # Individual Contributor License Agreement Adapted from http://www.apache.org/licenses/icla.txt © The Apache Software Foundation -Thank you for your interest in contributing to Skybase. In order to clarify the intellectual property license granted with Contributions from any person or entity, the Author (Sayan Nandan) must have a Contributor License Agreement ("CLA") on file that has been signed by each Contributor, indicating agreement to the license terms below. This license is for your protection as a Contributor as well as the protection of the Author and its users; it does not change your rights to use your own Contributions for any other purpose. +Thank you for your interest in contributing to Skytable. In order to clarify the intellectual property license granted with Contributions from any person or entity, the Author (Sayan Nandan) must have a Contributor License Agreement ("CLA") on file that has been signed by each Contributor, indicating agreement to the license terms below. This license is for your protection as a Contributor as well as the protection of the Author and its users; it does not change your rights to use your own Contributions for any other purpose. You accept and agree to the following terms and conditions for Your present and future Contributions submitted to the Author. In return, the Author shall not use Your Contributions in a way that is contrary to the public benefit or inconsistent with its bylaws in effect at the time of the Contribution. Except for the license granted herein to the Author and recipients of software distributed by the Author, You reserve all right, title, and interest in and to Your Contributions. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 45af11f2..226f5788 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -33,18 +33,18 @@ In other cases, use the C style. ### Parts of the project * `ci` , `.github` : CI scripts (which, under normal circumstances, don't need to be modified) -* `cli` : Source for `skysh` which is the command-line client for Skybase +* `cli` : Source for `skysh` which is the command-line client for Skytable * `examples` : Example configuration files * `libsky` : This contains functions, structs, ... used by both the `cli` and the * `server` : Source for the main database server `` * `sky-bench` : The source for the benchmarking tool resides here -* `sky-macros` : The source for custom compiler macros used by Skybase +* `sky-macros` : The source for custom compiler macros used by Skytable ### Jargon Each project has its own jargon — and so do we! -* _actiondoc_ and _actions docs_ : This refers to the `actions.jsonc` file, which is used by the Skybase documentation website for automatically building documentation for the actions +* _actiondoc_ and _actions docs_ : This refers to the `actions.jsonc` file, which is used by the Skytable documentation website for automatically building documentation for the actions ### Branches diff --git a/Dockerfile b/Dockerfile index 123cf682..275d44e4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # -# The Dockerfile for the Skybase server sdb +# The Dockerfile for the Skytable server sdb # FROM debian:stable diff --git a/README.md b/README.md index dbe914b3..a7ed5163 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,23 @@
-

Skybase

The next-generation NoSQL database

+

Skytable

The next-generation NoSQL database

![GitHub Workflow Status](https://img.shields.io/github/workflow/status/skybasedb/skybase/Test%20(push)) ![GitHub Workflow Status](https://img.shields.io/github/workflow/status/skybasedb/skybase/Sync%20with%20mirrors?label=mirror%20sync) ![Status: Alpha](https://img.shields.io/badge/status-alpha-critical?style=flat-square) ![Development](https://img.shields.io/badge/development-regular-32CD32?style=flat-square) ![GitHub release (latest SemVer including pre-releases)](https://img.shields.io/github/v/release/skybasedb/skybase?include_prereleases&sort=semver&style=flat-square) -[![Docs](https://img.shields.io/badge/readthedocs-here-blueviolet?style=flat-square)](https://terrabasedb.github.io/docs) [![Contribute Now](https://img.shields.io/badge/%F0%9F%8C%9Fcontribute-now-a94064)](https://ohsayan.github.io/thanks) +[![Docs](https://img.shields.io/badge/readthedocs-here-blueviolet?style=flat-square)](https://skytable.github.io/docs) [![Contribute Now](https://img.shields.io/badge/%F0%9F%8C%9Fcontribute-now-a94064)](https://ohsayan.github.io/skythanks)
-## What is Skybase? +## What is Skytable? -Skybase (or SkybaseDB/SDB) is an effort to provide the best of key/value stores, document stores and columnar databases, that is, **simplicity, flexibility and queryability at scale**. The name 'Skybase' exemplifies our vision to create a database that has limitless possibilities. Skybase was previously known as TerrabaseDB. +Skytable (or SkybaseDB/SDB) is an effort to provide the best of key/value stores, document stores and columnar databases, that is, **simplicity, flexibility and queryability at scale**. The name 'Skytable' exemplifies our vision to create a database that has limitless possibilities. Skytable was previously known as TerrabaseDB (and then Skybase). -Skybase is curently in an alpha stage, but can be used as a **performant**, **secure** and **persistent key-value store**. +Skytable is curently in an alpha stage, but can be used as a **performant**, **secure** and **persistent key-value store**. ## Getting started 🚀 -1. Download a bundle for your platform from [here ⬇️ ](https://github.com/skybasedb/skybase/releases) +1. Download a bundle for your platform from [here ⬇️ ](https://github.com/skytable/skytable/releases) 2. Unzip the bundle 3. Make the files executable (run `chmod +x sdb skysh` on *nix systems) 4. First run `sdb` to start the database server and then run `skysh` to start the interactive shell @@ -30,12 +30,12 @@ You can learn more about installation [here](https://terrabasedb.github.io/docs/ * **Insanely fast**: Scale to millions of queries per second per node * **Key/value store**: `GET` , `SET` , `UPDATE` and [all that stuff](https://terrabasedb.github.io/docs/List-Of-Actions) * **Snapshots**: Automated (and tunable) snapshots for stress-free backups -* **Secure**: Secure connections are built into Skybase with SSL/TLS +* **Secure**: Secure connections are built into Skytable with SSL/TLS * **Multithreaded**: Designed to exploit all CPU cores * **Resource friendly**: The database server doesn't need more than 1MB to run * **Convenient**: Without the setup hassle and system-specific dependencies -(... [and more on the way](https://github.com/skybasedb/skybase/labels/roadmap)) +(... [and more on the way](https://github.com/skytable/skytable/labels/roadmap)) ## Clients 🔌 @@ -59,13 +59,13 @@ This project strictly follows semver, however, since this project is currently i ## Contributing -[![Contribute Now](https://img.shields.io/badge/%F0%9F%8C%9Fcontribute-now-a94064?style=for-the-badge)](https://ohsayan.github.io/thanks) +[![Contribute Now](https://img.shields.io/badge/%F0%9F%8C%9Fcontribute-now-a94064?style=for-the-badge)](https://ohsayan.github.io/skythanks) -**Yes - we need you!** Be it a typo, a bizarre idea, a dirty bug🐞 or an amazing patch - you're welcome to contribute to Skybase! Beginner friendly issues are marked with the [](https://github.com/skybasedb/skybase/labels/L-easy) label. Read the guide [here](./CONTRIBUTING.md). +**Yes - we need you!** Be it a typo, a bizarre idea, a dirty bug🐞 or an amazing patch - you're welcome to contribute to Skytable! Beginner friendly issues are marked with the [](https://github.com/skytable/skytable/labels/L-easy) label. Read the guide [here](./CONTRIBUTING.md). ## Contributors -You can see a full list of contributors [here](https://ohsayan.github.io/thanks) +You can see a full list of contributors [here](https://ohsayan.github.io/skythanks) ## License diff --git a/actions.jsonc b/actions.jsonc index 4fdc7483..867e9b73 100644 --- a/actions.jsonc +++ b/actions.jsonc @@ -1,8 +1,8 @@ /* * Created on Thu Aug 27 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. @@ -24,8 +24,8 @@ * */ /* - * This file is used by Skybase's documentation website for automatically - * generating documentation for the actions. It will also be used by the Skybase + * This file is used by Skytable's documentation website for automatically + * generating documentation for the actions. It will also be used by the Skytable * server in the future */ [ diff --git a/ci/doc.sh b/ci/doc.sh index a7583f57..513812f1 100644 --- a/ci/doc.sh +++ b/ci/doc.sh @@ -4,7 +4,7 @@ C_USER=$(git show -s --format='%an' HEAD) C_MAIL=$(git show -s --format='%ae' HEAD) cd .. - git clone https://github.com/Skybase/docs.git + git clone https://github.com/Skytable/docs.git cd docs chmod +x builddoc.sh sh ./builddoc.sh diff --git a/cli/src/argparse.rs b/cli/src/argparse.rs index 3155642c..74c72813 100644 --- a/cli/src/argparse.rs +++ b/cli/src/argparse.rs @@ -1,8 +1,8 @@ /* * Created on Wed Jul 01 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. @@ -31,7 +31,7 @@ use libsky::terrapipe::ADDR; use protocol::{Con, Connection, SslConnection}; use std::io::{self, prelude::*}; use std::process; -const MSG_WELCOME: &'static str = "Skybase v0.5.1"; +const MSG_WELCOME: &'static str = "Skytable v0.5.1"; /// This creates a REPL on the command line and also parses command-line arguments /// diff --git a/cli/src/cli.yml b/cli/src/cli.yml index 5b78c8c5..55ea4e4c 100644 --- a/cli/src/cli.yml +++ b/cli/src/cli.yml @@ -1,7 +1,7 @@ # # Created on Tue Nov 03 2020 # -# This file is a part of Skybase +# This file is a part of Skytable # Copyright (c) 2020, Sayan Nandan # # This program is free software: you can redistribute it and/or modify @@ -19,10 +19,10 @@ # # -name: Skybase Shell +name: Skytable Shell version: 0.5.1 author: Sayan N. -about: The Skybase Shell (skysh) +about: The Skytable Shell (skysh) args: - host: short: h diff --git a/cli/src/main.rs b/cli/src/main.rs index 66a66f36..91533795 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -1,8 +1,8 @@ /* * Created on Wed Jul 01 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/cli/src/protocol/deserializer.rs b/cli/src/protocol/deserializer.rs index 9ca73efd..65a6a54f 100644 --- a/cli/src/protocol/deserializer.rs +++ b/cli/src/protocol/deserializer.rs @@ -1,8 +1,8 @@ /* * Created on Tue Aug 04 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/cli/src/protocol/mod.rs b/cli/src/protocol/mod.rs index b6c33451..bf6967c3 100644 --- a/cli/src/protocol/mod.rs +++ b/cli/src/protocol/mod.rs @@ -1,8 +1,8 @@ /* * Created on Tue Aug 04 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/libsky/src/lib.rs b/libsky/src/lib.rs index 063d47e2..a8230ca0 100644 --- a/libsky/src/lib.rs +++ b/libsky/src/lib.rs @@ -1,8 +1,8 @@ /* * Created on Mon Jul 20 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. @@ -24,7 +24,7 @@ * */ -//! The core library for the Skybase +//! The core library for the Skytable //! //! This contains modules which are shared by both the `cli` and the `server` modules diff --git a/libsky/src/terrapipe.rs b/libsky/src/terrapipe.rs index 703a6ed0..488c95fa 100644 --- a/libsky/src/terrapipe.rs +++ b/libsky/src/terrapipe.rs @@ -1,8 +1,8 @@ /* * Created on Sat Jul 18 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/libsky/src/util.rs b/libsky/src/util.rs index ec2031ec..8ab736b5 100644 --- a/libsky/src/util.rs +++ b/libsky/src/util.rs @@ -1,8 +1,8 @@ /* * Created on Tue Aug 18 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/native/fscposix.c b/server/native/fscposix.c index 0747f00e..4a48c5c7 100644 --- a/server/native/fscposix.c +++ b/server/native/fscposix.c @@ -1,8 +1,8 @@ /* * Created on Fri Aug 07 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/admin/mksnap.rs b/server/src/admin/mksnap.rs index 2e31a342..9ff4c019 100644 --- a/server/src/admin/mksnap.rs +++ b/server/src/admin/mksnap.rs @@ -1,8 +1,8 @@ /* * Created on Tue Oct 13 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/admin/mod.rs b/server/src/admin/mod.rs index 8b25fe85..fd04d0d6 100644 --- a/server/src/admin/mod.rs +++ b/server/src/admin/mod.rs @@ -1,8 +1,8 @@ /* * Created on Tue Nov 03 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. @@ -24,6 +24,6 @@ * */ -//! Modules for administration of Skybase +//! Modules for administration of Skytable pub mod mksnap; diff --git a/server/src/cli.yml b/server/src/cli.yml index dabac2ab..589288af 100644 --- a/server/src/cli.yml +++ b/server/src/cli.yml @@ -1,7 +1,7 @@ -name: Skybase Server +name: Skytable Server version: 0.5.1 author: Sayan N. -about: The Skybase Database server +about: The Skytable Database server args: - config: short: c diff --git a/server/src/config/mod.rs b/server/src/config/mod.rs index dafa13f5..6a876652 100644 --- a/server/src/config/mod.rs +++ b/server/src/config/mod.rs @@ -1,8 +1,8 @@ /* * Created on Tue Sep 01 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. @@ -52,7 +52,7 @@ pub struct Config { /* TODO(@ohsayan): As of now, we will keep this optional, but post 0.5.1, * we will make it compulsory (so that we don't break semver) * See the link below for more details: - * https://github.com/Skybase/Skybase/issues/21#issuecomment-693217709 + * https://github.com/Skytable/Skytable/issues/21#issuecomment-693217709 */ bgsave: Option, /// The snapshot key diff --git a/server/src/coredb/mod.rs b/server/src/coredb/mod.rs index aee0b827..65149faa 100644 --- a/server/src/coredb/mod.rs +++ b/server/src/coredb/mod.rs @@ -1,8 +1,8 @@ /* * Created on Mon Jul 13 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/dbnet.rs b/server/src/dbnet.rs index 15a6b651..da4de582 100644 --- a/server/src/dbnet.rs +++ b/server/src/dbnet.rs @@ -1,8 +1,8 @@ /* * Created on Tue Jul 21 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/diskstore/mod.rs b/server/src/diskstore/mod.rs index 537082bf..54288c73 100644 --- a/server/src/diskstore/mod.rs +++ b/server/src/diskstore/mod.rs @@ -1,8 +1,8 @@ /* * Created on Wed Aug 05 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/diskstore/snapshot.rs b/server/src/diskstore/snapshot.rs index 24a71546..130f25fd 100644 --- a/server/src/diskstore/snapshot.rs +++ b/server/src/diskstore/snapshot.rs @@ -1,8 +1,8 @@ /* * Created on Thu Oct 01 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/diskstore/snapstore.rs b/server/src/diskstore/snapstore.rs index 85d6fb49..02d805fc 100644 --- a/server/src/diskstore/snapstore.rs +++ b/server/src/diskstore/snapstore.rs @@ -1,8 +1,8 @@ /* * Created on Wed Dec 02 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/kvengine/dbsize.rs b/server/src/kvengine/dbsize.rs index cb427659..3f2b553e 100644 --- a/server/src/kvengine/dbsize.rs +++ b/server/src/kvengine/dbsize.rs @@ -1,8 +1,8 @@ /* * Created on Thu Sep 24 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/kvengine/del.rs b/server/src/kvengine/del.rs index c65dc42e..83d24677 100644 --- a/server/src/kvengine/del.rs +++ b/server/src/kvengine/del.rs @@ -1,8 +1,8 @@ /* * Created on Wed Aug 19 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/kvengine/exists.rs b/server/src/kvengine/exists.rs index 90b78e76..5e4a0ec5 100644 --- a/server/src/kvengine/exists.rs +++ b/server/src/kvengine/exists.rs @@ -1,8 +1,8 @@ /* * Created on Wed Aug 19 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/kvengine/flushdb.rs b/server/src/kvengine/flushdb.rs index f378c115..cf25460f 100644 --- a/server/src/kvengine/flushdb.rs +++ b/server/src/kvengine/flushdb.rs @@ -1,8 +1,8 @@ /* * Created on Thu Sep 24 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/kvengine/get.rs b/server/src/kvengine/get.rs index 0f8df424..e0c4cf21 100644 --- a/server/src/kvengine/get.rs +++ b/server/src/kvengine/get.rs @@ -1,8 +1,8 @@ /* * Created on Fri Aug 14 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/kvengine/jget.rs b/server/src/kvengine/jget.rs index 1194b207..cda0079f 100644 --- a/server/src/kvengine/jget.rs +++ b/server/src/kvengine/jget.rs @@ -1,8 +1,8 @@ /* * Created on Mon Aug 31 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/kvengine/keylen.rs b/server/src/kvengine/keylen.rs index 8ef2a7b2..8b567875 100644 --- a/server/src/kvengine/keylen.rs +++ b/server/src/kvengine/keylen.rs @@ -1,8 +1,8 @@ /* * Created on Sun Sep 27 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/kvengine/mget.rs b/server/src/kvengine/mget.rs index 5a48c112..89e21f11 100644 --- a/server/src/kvengine/mget.rs +++ b/server/src/kvengine/mget.rs @@ -1,8 +1,8 @@ /* * Created on Thu Aug 27 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/kvengine/mod.rs b/server/src/kvengine/mod.rs index bfa326ac..8ff00490 100644 --- a/server/src/kvengine/mod.rs +++ b/server/src/kvengine/mod.rs @@ -1,8 +1,8 @@ /* * Created on Wed Aug 19 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. @@ -25,7 +25,7 @@ */ //! # The Key/Value Engine -//! This is Skybase's K/V engine. It contains utilities to interface with +//! This is Skytable's K/V engine. It contains utilities to interface with //! sdb's K/V store pub mod dbsize; diff --git a/server/src/kvengine/mset.rs b/server/src/kvengine/mset.rs index d030fc14..d8d1c11c 100644 --- a/server/src/kvengine/mset.rs +++ b/server/src/kvengine/mset.rs @@ -1,8 +1,8 @@ /* * Created on Thu Aug 27 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/kvengine/mupdate.rs b/server/src/kvengine/mupdate.rs index 7d86093a..42e52240 100644 --- a/server/src/kvengine/mupdate.rs +++ b/server/src/kvengine/mupdate.rs @@ -1,8 +1,8 @@ /* * Created on Thu Aug 27 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/kvengine/set.rs b/server/src/kvengine/set.rs index 53221e9c..720d3bc9 100644 --- a/server/src/kvengine/set.rs +++ b/server/src/kvengine/set.rs @@ -1,8 +1,8 @@ /* * Created on Fri Aug 14 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/kvengine/strong.rs b/server/src/kvengine/strong.rs index 67ef5b35..4087ab4a 100644 --- a/server/src/kvengine/strong.rs +++ b/server/src/kvengine/strong.rs @@ -1,8 +1,8 @@ /* * Created on Mon Sep 21 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/kvengine/update.rs b/server/src/kvengine/update.rs index bad5ce74..c99e76cf 100644 --- a/server/src/kvengine/update.rs +++ b/server/src/kvengine/update.rs @@ -1,8 +1,8 @@ /* * Created on Mon Aug 17 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/kvengine/uset.rs b/server/src/kvengine/uset.rs index 275c68d1..e101fbd0 100644 --- a/server/src/kvengine/uset.rs +++ b/server/src/kvengine/uset.rs @@ -1,8 +1,8 @@ /* * Created on Fri Sep 25 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/main.rs b/server/src/main.rs index 69304850..42c6d2b9 100644 --- a/server/src/main.rs +++ b/server/src/main.rs @@ -1,8 +1,8 @@ /* * Created on Thu Jul 02 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. @@ -24,9 +24,9 @@ * */ -//! # Skybase +//! # Skytable //! -//! The `sdb` crate (or the `server` folder) is Skybase's database server and maybe +//! The `sdb` crate (or the `server` folder) is Skytable's database server and maybe //! is the most important part of the project. There are several modules within this crate; see //! the modules for their respective documentation. @@ -59,20 +59,9 @@ use jemallocator::Jemalloc; static GLOBAL: Jemalloc = Jemalloc; /// The version text -static MSG: &'static str = "Skybase v0.5.1 | https://github.com/skybasedb/skybase"; +static MSG: &'static str = "Skytable v0.5.1 | https://github.com/skytable/skytable\n"; /// The terminal art for `!noart` configurations -static TEXT: &'static str = " - _______ _ _____ ____ - |__ __| | | | __ \\ | _ \\ - | | ___ _ __ _ __ __ _ | |__ __ _ ___ ___ | | | || |_) | - | | / _ \\| '__|| '__|/ _` || '_ \\ / _` |/ __| / _ \\| | | || _ < - | || __/| | | | | (_| || |_) || (_| |\\__ \\| __/| |__| || |_) | - |_| \\___||_| |_| \\__,_||_.__/ \\__,_||___/ \\___||_____/ |____/ - - +-++-++-+ +-++-++-++-+ +-++-++-++-++-+ +-++-++-++-++-++-++-++-+ - |T||h||e| |n||e||x||t| |N||o||S||Q||L| |d||a||t||a||b||a||s||e| - +-++-++-+ +-++-++-++-+ +-++-++-++-++-+ +-++-++-++-++-++-++-++-+ -"; +static TEXT: &'static str = "███████ ██  ██ ██  ██ ████████  █████  ██████  ██  ███████ \n██      ██  ██   ██  ██     ██    ██   ██ ██   ██ ██  ██      \n███████ █████    ████   ██  ███████ ██████  ██  █████  \n     ██ ██  ██   ██   ██  ██   ██ ██   ██ ██  ██     \n███████ ██  ██  ██  ██  ██  ██ ██████  ███████ ███████ \n                                                       \n "; #[tokio::main] async fn main() { Builder::new() @@ -104,7 +93,7 @@ async fn check_args_and_get_cfg() -> ( let binding_and_cfg = match cfg { Ok(config::ConfigType::Custom(cfg, file)) => { if cfg.is_artful() { - println!("{}\n{}", TEXT, MSG); + println!("{}\n{}", MSG, TEXT); } else { println!("{}", MSG); } @@ -112,7 +101,7 @@ async fn check_args_and_get_cfg() -> ( (cfg.ports, cfg.bgsave, cfg.snapshot, file) } Ok(config::ConfigType::Def(cfg, file)) => { - println!("{}\n{}", TEXT, MSG); + println!("{}\n{}", MSG, TEXT); log::warn!("No configuration file supplied. Using default settings"); (cfg.ports, cfg.bgsave, cfg.snapshot, file) } diff --git a/server/src/protocol/deserializer.rs b/server/src/protocol/deserializer.rs index f6326a26..e18fa811 100644 --- a/server/src/protocol/deserializer.rs +++ b/server/src/protocol/deserializer.rs @@ -1,8 +1,8 @@ /* * Created on Thu Jul 30 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/protocol/mod.rs b/server/src/protocol/mod.rs index b8ccf505..2031fd1f 100644 --- a/server/src/protocol/mod.rs +++ b/server/src/protocol/mod.rs @@ -1,8 +1,8 @@ /* * Created on Thu Jul 30 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/protocol/responses.rs b/server/src/protocol/responses.rs index d596e051..43dec294 100644 --- a/server/src/protocol/responses.rs +++ b/server/src/protocol/responses.rs @@ -1,8 +1,8 @@ /* * Created on Sat Aug 22 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/protocol/tls.rs b/server/src/protocol/tls.rs index 96aac7c1..5fd92e7e 100644 --- a/server/src/protocol/tls.rs +++ b/server/src/protocol/tls.rs @@ -1,8 +1,8 @@ /* * Created on Fri Dec 18 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/queryengine/mod.rs b/server/src/queryengine/mod.rs index e70d70a9..3eacfc8e 100644 --- a/server/src/queryengine/mod.rs +++ b/server/src/queryengine/mod.rs @@ -1,8 +1,8 @@ /* * Created on Mon Aug 03 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/resp/mod.rs b/server/src/resp/mod.rs index d522f612..6d2d4cfa 100644 --- a/server/src/resp/mod.rs +++ b/server/src/resp/mod.rs @@ -1,8 +1,8 @@ /* * Created on Mon Aug 17 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/tests/kvengine.rs b/server/src/tests/kvengine.rs index 462651be..e486b1c4 100644 --- a/server/src/tests/kvengine.rs +++ b/server/src/tests/kvengine.rs @@ -1,8 +1,8 @@ /* * Created on Thu Sep 10 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/server/src/tests/mod.rs b/server/src/tests/mod.rs index 694eaea2..e35fb47e 100644 --- a/server/src/tests/mod.rs +++ b/server/src/tests/mod.rs @@ -1,8 +1,8 @@ /* * Created on Tue Aug 25 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/sky-bench/src/cli.yml b/sky-bench/src/cli.yml index 4c1ccaee..b1f03444 100644 --- a/sky-bench/src/cli.yml +++ b/sky-bench/src/cli.yml @@ -1,7 +1,7 @@ # # Created on Tue Nov 03 2020 # -# This file is a part of Skybase +# This file is a part of Skytable # Copyright (c) 2020, Sayan Nandan # # This program is free software: you can redistribute it and/or modify @@ -19,12 +19,12 @@ # # -name: Skybase Benchmark Tool +name: Skytable Benchmark Tool version: 0.5.1 author: Sayan N. about: | - The Skybase benchmark tool can be used to benchmark Skybase installations. - If you find any issues, then report one here: https://github.com/skybasedb/skybase + The Skytable benchmark tool can be used to benchmark Skytable installations. + If you find any issues, then report one here: https://github.com/skytable/skytable args: - connections: short: c diff --git a/sky-bench/src/main.rs b/sky-bench/src/main.rs index 4545facd..bc1f6398 100644 --- a/sky-bench/src/main.rs +++ b/sky-bench/src/main.rs @@ -1,8 +1,8 @@ /* * Created on Sun Sep 13 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. diff --git a/sky-macros/src/lib.rs b/sky-macros/src/lib.rs index 369a72cc..08ff7bc4 100644 --- a/sky-macros/src/lib.rs +++ b/sky-macros/src/lib.rs @@ -1,8 +1,8 @@ /* * Created on Sun Sep 13 2020 * - * This file is a part of Skybase - * Skybase (formerly known as TerrabaseDB) is a free and open-source + * This file is a part of Skytable + * Skytable (formerly known as TerrabaseDB or Skybase) is a free and open-source * NoSQL database written by Sayan Nandan ("the Author") with the * vision to provide flexibility in data modelling without compromising * on performance, queryability or scalability. @@ -24,7 +24,7 @@ * */ -//! A library containing a collection of custom derives used by Skybase +//! A library containing a collection of custom derives used by Skytable //! //! ## Ghost values //! We extensively use jargon like 'Ghost values'...but what exactly are they?