Thank you for considering contributing to BAK! We appreciate your time and effort to improve our project. This guide will help you get started with contributing, whether you're fixing bugs, implementing new features, or improving documentation.
Before you begin contributing, please ensure you have read and understood the following:
- Code of Conduct: Be sure to follow our Code of Conduct to create a welcoming environment for everyone.
- Issues: If you're unsure what to contribute, take a look at our Issues page. It contains a list of bugs, feature requests, and enhancements we need help with.
You can contribute to BAK in many ways:
- Reporting bugs
- Fixing bugs
- Implementing new features
- Writing and improving documentation
- Reviewing pull requests
- Suggesting new features and ideas
Before making any changes, fork the repository:
- Click the "Fork" button at the top right of this repository.
- You will have a personal copy of the repository under your GitHub account.
Clone your fork to your local development environment:
git clone https://github.com/<your-username>/BAK.git
cd BAK
Always create a new branch for your contributions. Don’t make changes directly to the main branch.
Create a branch specific to the issue you’re working on:
git checkout -b feature/<your-feature-name>
Make your changes using a good development practice, ensuring that the code is clean, efficient, and adheres to our coding standards.
- Write meaningful commit messages.
- Ensure your code follows our existing architecture and patterns.
Before submitting your contribution, make sure you test your changes thoroughly. If you’re adding a new feature, write appropriate tests to ensure your code works as expected.
Run the following command to lint and test your code:
flutter analyze
flutter test
Once your changes are ready, commit them to your branch:
git add .
git commit -m "Description of your changes"
Ensure your commit message is descriptive and clear.
Push your changes to GitHub:
git push origin feature/<your-feature-name>
Once your branch is pushed to GitHub, create a Pull Request (PR):
- Navigate to the original repository: BAK Tracker.
- Click on the “Pull Requests” tab.
- Click on “New Pull Request.”
- Select the branch you just pushed from your fork and submit a PR.
In the PR description, clearly explain what changes you made and why they are necessary. Link to the relevant issue if applicable.
Once you’ve created the pull request, a reviewer will go through your code. If any changes are requested, update your branch and push again. Continue this process until your contribution is approved and merged.
- Write Clean Code: Follow clean code principles. Keep your code modular, readable, and well-commented.
- Follow Coding Standards: Ensure that your code adheres to the project’s coding standards and architecture.
- Stay Consistent: Maintain consistency with the project’s existing code style.
- Write Tests: Ensure your changes are covered with unit or integration tests where applicable.
- Keep Commits Focused: Make sure each commit is focused and addresses a single issue or task. Avoid large commits that change too many things at once.
If you come across any issues, please create an issue on the GitHub repository. When creating an issue, include as much detail as possible:
- Steps to reproduce the issue
- Expected behavior
- Actual behavior
- Screenshots (if applicable)
- Any relevant logs or error messages
We encourage you to check existing issues before submitting a new one to avoid duplicates.
We are committed to fostering a welcoming, inclusive, and respectful environment. Please make sure you follow our Code of Conduct in all your interactions within the community.
By contributing to BAK, you agree that your contributions will be licensed under the GPL-3.0 License.
We appreciate your contributions to BAK. Your effort helps improve the app for associations, and we look forward to working together!