pharaoh icon indicating copy to clipboard operation
pharaoh copied to clipboard

Add Contributing .md file

Open mihrab34 opened this issue 3 years ago • 5 comments

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!

mihrab34 avatar Nov 30 '23 12:11 mihrab34

This will make a good contribution @mihrab34. Thanks for taking this up

codekeyz avatar Nov 30 '23 15:11 codekeyz

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

  1. Create a ticket for the bug you want to fix or the feature that you want to add.
  2. Create your own fork on GitHub, then checkout your fork.
  3. Insert project setup guide here. See README.md file for that.

  4. 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.
  5. To run the test suite, run melos run all tests.
  6. Ensure your code is linted by running melos run lint:all to any issue and fix them.
  7. 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.

codekeyz avatar Nov 30 '23 15:11 codekeyz

Sure i will

mihrab34 avatar Dec 04 '23 11:12 mihrab34

@mihrab34 Do we have an update on this ticket? 🤔

codekeyz avatar Dec 10 '23 12:12 codekeyz

Opened a draft PR. Should be ready for review before EOD @codekeyz

mihrab34 avatar Dec 11 '23 11:12 mihrab34