How to Contribute to Hyvä
You can contribute to various Hyvä projects. This guide focuses on **Hyvä Core contributions** (Hyvä Themes, Checkout, Enterprise, UI). For other projects, see the specific guidelines:
- **Commercial Hyvä License Required** (access on gitlab.hyva.io):
- Compatibility Modules (contribution guideline)
- Hyvä Themes
- Hyvä Checkout
- Hyvä Enterprise
- Hyvä UI
- **Open-Source Projects** (free on GitHub, follow standard GitHub contribution processes):
Throughout this document, **GitLab** refers to gitlab.hyva.io.
Tip
If you get stuck, please ask for help in Slack. We're happy to assist and greatly value your contributions!
Hyvä Core Contribution Process: Step-by-Step
- Request GitLab fork permissions from a Hyvä team member in Slack.
- Fork the target repository into your GitLab group.
- Clone your forked repository to your local development environment.
- **Create or Link an Issue:** Before coding, ensure an issue exists in the original GitLab repository for your contribution. If not, create one with a descriptive title and reproduction steps (if applicable). Linking your merge request to an issue streamlines code review, helps others identify problems, and aids in changelog generation and attribution.
- Create a feature branch in your local environment.
- Implement your changes.
- Commit your changes regularly.
- Push your branch to GitLab and create a merge request, linking it to the relevant issue in the description.
Updating Outdated Forks
To update your fork with the latest changes from the Hyvä repository:
- Run the following command to fetch the latest changes from the Hyvä repository:
- Create a new branch based on the latest upstream changes:
Replace
with your desired branch name. - Push the new branch to your fork on GitLab:
Replace
with the same branch name used in the previous step.