Making your own PR to the SurrealDB source code
Blog post from SurrealDB
SurrealDB, an open-source database written entirely in Rust, welcomes contributions from developers through pull requests (PRs) on GitHub, even for those unfamiliar with Rust. The blog post provides a detailed guide on setting up the necessary tools, such as Rust and Cargo, to make and test changes to the SurrealDB codebase. Rust's strict compiler and single package manager make it relatively easy to run and test changes, encouraging user contributions. The post walks through the process of creating a simple PR by adding a new predefined variable, $pep_talk, to the database, demonstrating the ease with which developers can interact with Rust code. It highlights Rust's user-friendly compiler, which aids in identifying and correcting errors, making it accessible for developers from different programming backgrounds. The final steps involve testing the new feature and submitting the PR with a template to provide context and motivation for the changes, illustrating the open-source community's collaborative nature in enhancing SurrealDB.