We are excited that you're interested in contributing to Xyfin! Whether you're fixing a bug, adding new features, or improving the documentation, your contributions are highly appreciated. This guide will help you get started.
Start by forking the Xyfin repository. This will create a copy of the repository under your GitHub account.
Clone the forked repository to your local machine:
git clone https://github.com/arya2004/xyfin.git
cd xyfin
Follow the instructions in the README.md
file to set up your development environment. Ensure you have Docker, Go, and all necessary dependencies installed.
Create a new branch for your work. Use a descriptive name that reflects the scope of your contribution:
git checkout -b feature/your-feature-name
Make your changes, whether it’s fixing a bug, adding a feature, or improving documentation. Be sure to:
- Write clean, readable code.
- Follow the project's coding style and conventions.
- Include comments where necessary.
- Write or update tests for any new functionality.
Ensure all tests pass before committing your changes:
make test
Once you're satisfied with your changes, commit them to your branch:
git add .
git commit -m "Description of your changes"
Push your changes to your forked repository:
git push origin feature/your-feature-name
Go to the original Xyfin repository on GitHub and create a new Pull Request from your branch. Provide a clear description of your changes and the problem they solve.
Your Pull Request will be reviewed by other contributors or maintainers. They may ask for changes or clarifications before it can be merged. Please be responsive to feedback and make any necessary updates.
- Follow the Go Code Review Comments.
- Keep the codebase clean and maintainable.
- Write meaningful commit messages.
- Ensure that your code changes do not break existing tests.
- Write tests for any new functionality you introduce.
- Aim for high test coverage.
- Update documentation to reflect your changes, especially if they affect the public API.
- Ensure your documentation is clear and easy to understand.
- Once your Pull Request is approved, a maintainer will merge it into the main branch.
- Make sure your branch is up-to-date with the main branch before merging.
If you find a bug or have a feature request, please create an issue on GitHub. Provide as much detail as possible, including steps to reproduce the issue or a detailed description of the feature you would like to see.
Please note that this project is governed by a Code of Conduct. By participating in this project, you agree to abide by its terms.
Thank you for contributing to Xyfin! Your help is greatly appreciated, and we're thrilled to have you on board. If you have any questions, feel free to ask in an issue or reach out to the maintainers.
Happy coding!