Contributing to prismAId


Thank you for your interest in contributing to prismAId! We welcome contributions from everyone and value your input and efforts to improve this project. Below, you will find guidelines and instructions on how to contribute effectively and ensure a smooth collaboration process.

Ways to Contribute

There are many ways to contribute to our project:

Code of Conduct

Participation in this project is governed by our Code of Conduct, which sets expectations for collaboration and communication. You can read the full text at CODE_OF_CONDUCT.md.

Getting Started

Here’s how to set up your development environment to start contributing:

  1. Fork and clone the repository:
    • Fork the project on GitHub and then clone your fork locally.
  2. Install dependencies:
    • Ensure you have Go installed on your system. Use go version to check your current Go version.
    • Download and install necessary Go packages with go get or manage dependencies with go mod.
  3. Run tests:
    • Run go test ./... to execute all tests and ensure they pass before you make changes.

Submitting Contributions

Please follow these steps to submit your contributions:

  1. Create a branch for your changes.
  2. Make your changes: Follow our coding guidelines and write clean, testable Go code.
  3. Write tests: Add or update tests as necessary for your changes.
  4. Run all tests to ensure nothing else was accidentally broken.
  5. Submit a pull request:
    • Push your branch to GitHub and open a pull request against the main branch.
    • Provide a clear description of the changes and any relevant issue numbers.

Style Guide and Coding Conventions

We follow the Go Code Review Comments and the Go Proverbs for best practices and coding conventions. Please make sure your code adheres to the Go style guide and use gofmt for code formatting.

Review Process

Our team will review all pull requests as soon as possible. During the review, we may ask for additional changes or clarification. Pull requests must be approved by at least one maintainer before merging.

Contributions that include new features or substantial changes should be discussed in the issue tracker or discussions before starting work.

Thank you again for considering contributing to prismAId. We look forward to your contributions and are excited to see what we can achieve together!