December 11, 2024 Dimitrije Lilić

Contributor Guide

Documentation
Contributor Guide

Welcome to our Git Contributor Guide! This document outlines the steps to effectively contribute to our project. Please follow these guidelines to ensure a smooth collaboration process.

1. Fork the Repository

To start contributing, fork the main repository to your own GitHub account:

1. Navigate to the repository you want to contribute to.

2. Click the Fork button in the upper-right corner. (This is example for OpenEPT/FEPLib repo)

3. This will create a copy of the repository under your GitHub account.

3. This will create a copy of the repository under your GitHub account.

3. This will create a copy of the repository under your GitHub account.

2. Clone the Forked Repository

Once the repository is forked, clone it to your local machine:

3. Create a New Branch

Before making changes, create a new branch based on the type of contribution:

  • For new features, name the branch feature/<name>.
  • For bug fixes, name the branch bug/<name>.

To create a branch:

4. Make Your Changes

Make the necessary changes to your branch. Test thoroughly to ensure your contribution does not introduce new issues.

5. Commit Your Changes

Once your changes are ready, stage and commit them:

6. Push Your Changes to Your Fork

Push the changes to your forked repository:

7. Create a Pull Request

1. Navigate to your forked repository on GitHub.

2. Switch to the branch you just pushed.

3. Click the Compare & pull request button.

4. Ensure the base repository is set to the main/master repository and the base branch is `main

4. Ensure the base repository is set to the main/master repository and the base branch is `main

4. Ensure the base repository is set to the main/master repository and the base branch is `main

5. Provide a descriptive title and detailed description for your pull request.

6. Add appropriate reviewers

7. Submit the pull request.

8. Collaborate on the Review Process

Once the pull request is submitted:

1. Wait for project maintainers to review your changes.

2. Address any feedback provided by making additional commits to your branch.

3. Once approved, the maintainers will merge your changes.

9. Sync with the Main Repository

After your changes are merged, keep your fork updated with the main repository to avoid conflicts:

  • Follow coding standards and guidelines outlined in the project documentation.
  • Keep your branch focused on a single feature or bug fix to simplify the review process.
  • Write clear commit messages to explain what and why changes were made.

Thank you for contributing to our project! Your efforts make a big difference.

About the author

Dimitrije Lilić

Dimitrije Lilić

Firmware and Application Developer

Master electrical engineer specialized in low-level programming for embedded systems, firmware and GUI. With a solid five-year track record in the field, I thrive in the dynamic nature of my work, constantly seeking opportunities to expand my knowledge base. My dedication to pushing the boundaries of technology is evident in my pursuit of innovation and my enthusiasm for learning something new with each passing day.