Add Contributing .md file
Description I noticed that the project is currently missing a CONTRIBUTING.md file, which can serve as a valuable resource for new contributors and help streamline the contribution process. I propose adding this file to provide clear guidelines on contributing to the project.
Proposed Changes:
Create a CONTRIBUTING.md file in the project root and include sections such as:
- [ ] Introduction
- [ ] Code of Conduct
- [ ] How to Contribute
- [ ] Issue Reporting
- [ ] Pull Requests
- [ ] Coding Guidelines
- [ ] Testing
- [ ] Review Process
- [ ] Communication Channels
Additional Information I can create a pull request for this change and can collaborate with others to ensure the content is comprehensive and accurate.
Please share your thoughts and suggestions on this proposal @codekeyz
Thank you!
This will make a good contribution @mihrab34. Thanks for taking this up
PRs and Code contributions
- All Tests must pass.
- Follow the Dart Lint Style and
melos run lint:all. - If you fix a bug, add a test.
Branches
Use the main branch for bug fixes or minor work that is intended for the
current release stream.
Use the correspondingly named branch, e.g. 2.0, for anything intended for
a future release of Pharaoh.
Steps for contributing
- Create a ticket for the bug you want to fix or the feature that you want to add.
- Create your own fork on GitHub, then checkout your fork.
-
Insert project setup guide here. See
README.mdfile for that. - Write your code in your local copy. It's good practice to create a branch for each new issue you work on, although not compulsory.
- To run the test suite, run
melos run all tests. - Ensure your code is linted by running
melos run lint:allto any issue and fix them. - If the tests pass, you can commit your changes to your fork and then create
a pull request from there. Make sure to reference your issue from the pull
request comments by including the issue number e.g.
Resolves: #123.
Issues which are questions
We will typically close any vague issues or questions that are specific to some app you are writing. Please double check the docs and other references before being trigger happy with posting a question issue.
Things that will help get your question issue looked at:
- Full and runnable Dart code.
- Clear description of the problem or unexpected behavior.
- Clear description of the expected result.
- Steps you have taken to debug it yourself.
If you post a question and do not outline the above items or make it easy for us to understand and reproduce your issue, it will be closed.
@mihrab34 I think this should do. Also please do verify that the instructions on setting up the project actually works. Please let me know if you do need any extra info.
Sure i will
@mihrab34 Do we have an update on this ticket? 🤔
Opened a draft PR. Should be ready for review before EOD @codekeyz