Skip to content

Latest commit

 

History

History
77 lines (49 loc) · 3.54 KB

File metadata and controls

77 lines (49 loc) · 3.54 KB

Contributing

First, thank you for contributing to Iggy! The goal of this document is to provide everything you need to start contributing to Iggy. The following TOC is sorted progressively, starting with the basics and expanding into more specifics.

Your First Contribution

  1. Ensure your change has an issue! Find an existing issue or open a new issue.
  2. Fork the Iggy repository in your own GitHub account.
  3. Create a new Git branch.
  4. Make your changes.
  5. Submit the branch as a pull request to the master Iggy repo. An Iggy team member should comment and/or review your pull request within a few days. Although, depending on the circumstances, it may take longer.

Workflow

Git Branches

All changes must be made in a branch and submitted as pull requests. Iggy does not adopt any type of branch naming style, but please use something descriptive of your changes.

GitHub Pull Requests

Once your changes are ready you must submit your branch as a pull request.

Title

The pull request title must follow the format outlined in the conventional commits spec. Conventional commits is a standardized format for commit messages. Iggy only requires this format for commits on the master branch. And because Iggy squashes commits before merging branches, this means that only the pull request title must conform to this format.

The following are all good examples of pull request titles:

fix(ci): add Cross.toml for CI builds
chore(repo): add ASF license header to all the files
refactor(server): remove redundant sha1 print
chore(docs): add contributing guide
refactor(server): remove redundant sha1 print

Reviews & Approvals

All pull requests should be reviewed by at least two Iggy committers.

Merge Style

All pull requests are squash merged. We generally discourage large pull requests that are over 300–500 lines of diff. If you would like to propose a change that is larger, we suggest coming onto our Discussions and discussing it with us. This way we can talk through the solution and discuss if a change that large is even needed! This will produce a quicker response to the change and likely produce code that aligns better with our process.

CI

Currently, Iggy uses GitHub Actions to run tests. The workflows are defined in .github/workflows.

Setup

Bring your own toolbox

Iggy is primarily a Rust project. To build Iggy, you will need to set up Rust development first. We highly recommend using rustup for the setup process.

For Linux or macOS, use the following command:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

For Windows, download rustup-init.exe from the Windows installer instead.

Rustup will read Iggy's Cargo.toml and set up everything else automatically. To ensure that everything works correctly, run cargo version under Iggy's root directory:

$ cargo version
cargo 1.86.0 (adf9b6ad1 2025-02-28)

How to build

See Quick Start