Skip to content

Latest commit

 

History

History
74 lines (51 loc) · 2.36 KB

CONTRIBUTING.md

File metadata and controls

74 lines (51 loc) · 2.36 KB

Contributing

Thank you for your interest in contributing to Tuliprox! We welcome contributions of all kinds, including bug fixes, new features, documentation improvements, and more. To ensure a smooth contribution process, please follow the guidelines outlined below.

How to Contribute

Prerequisites

To contribute you will need Rust, cargo, cross, trunk, wasm-bindgen, and cargo-set-version installed. You can install them using the following command:

make install-tools

To force a reinstall of tooling or updating to the latest version, you can run:

make -B install-tools

make i18n-check and make pre-merge-check also need jq. make install-tools does not install it; use your system package manager:

sudo apt install jq   # Debian/Ubuntu
sudo dnf install jq   # Fedora
brew install jq       # macOS
winget install jqlang.jq  # Windows

Privacy Pre-Push Hook

CI scans every pull request with Gitleaks. To find secrets and personal data before you push, install Gitleaks and enable the pre-push hook as described in .githooks/README.md.

Steps to Contribute

  1. Fork the Repository: Start by forking the Tuliprox repository to your GitHub account.

  2. Clone Your Fork: Clone the forked repository to your local machine.

    git clone git@github.com:your-username/tuliprox.git
    cd tuliprox
  3. Create a Branch: Create a new branch for your contribution.

    git checkout -b feature/your-feature-name
  4. Make Your Changes: Implement your changes in the codebase. Please ensure that your code follows the existing style and conventions.

  5. Test Your Changes: Format, lint, and run tests to ensure that your changes are clean and tidy and do not break existing functionality.

    make fmt lint test
  6. Commit Your Changes: Commit your changes with a descriptive message.

    git add .
    git commit -m "Add your descriptive message here"
  7. Push Your Changes: Push your changes to your forked repository.

    git push origin feature/your-feature-name
  8. Create a Pull Request: Open a pull request on the original Tuliprox repository, describing your changes and their purpose.

  9. Address Feedback: Be responsive to any feedback or requests for changes from the maintainers.