Thank you for considering contributing to Mistral AI Client for Dart! We appreciate your time and effort.
Before submitting a bug report, please check if the issue has already been reported in the issue tracker. If it hasn't, create a new issue with a clear title and description, including steps to reproduce the bug and labeling issue as bug
.
To make it easier we have a bug report template which gives you all the things you need to create a bug report and help us squash those bugs.
If you have an idea for an improvement or a new feature, we'd love to hear about it! Create a new issue in the issue tracker with your suggestion, and we can discuss it further.
Make sure that you mark an issue with enhancement
label or use our feature request issue template.
We welcome contributions to the codebase. To contribute:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with clear and concise messages.
- Push your changes to your fork.
- Submit a pull request, explaining the changes you made.
Improving documentation is a valuable contribution. If you find areas that need clarification or have ideas for better explanations, please make the necessary updates.
To contribute to documentation follow the same steps as in Code Contributions.
- Install Dart SDK
- Using Flutter SDK installation gude when you also want to develop apps
- Using standalone installation
- Install your favourite IDE
- Run
dart pub get
in terminal to get dependencies - If everything went well you're good to go 😊
The package uses code generation to generate API client code from the OpenAPI specification. More details about it can be found in the Client Code Generation document.
We following official dart code style as a base style guide.
On top of that we are using very_good_analysis package to keep code as consistent as we can with strict rules the package provides.
After submitting pull request few things will happen:
-
Reviewers Assigned:
- The maintainers will be automatically notified of your pull request.
- They will assign one or more reviewers to assess your changes.
-
Address Feedback:
- Respond promptly to any feedback or comments from reviewers.
- Make additional commits to address concerns raised during the review.
-
Continuous Integration (CI):
- Automated tests will be run on your changes using our CI system.
- Ensure that all tests pass successfully.
-
Approval and Merging:
- Once your changes are approved, a maintainer will merge your pull request.
- The changes will be reflected in the main branch.
-
Celebrate:
- Congratulations! Your contribution has been successfully merged.
- Also, you will be mentioned in the changelog when your change is released!