aiven-client icon indicating copy to clipboard operation
aiven-client copied to clipboard

Add contributing file

Open laysauchoa opened this issue 3 years ago • 5 comments

What can we help you with?

Hey 🙋🏻‍♀️, do you think is a good idea to add a contributing file with the steps in how to get started contributing to this repository? I think it makes sense to have some quick HowTo:

  • run the tests
  • debugging steps
  • how to run
  • about commit messages
  • issues
  • others

Where would you expect to find this information?

It should have it's own file and be linked to the readme of the repository

laysauchoa avatar Jan 12 '22 14:01 laysauchoa

Have you seen: https://github.com/aiven/aiven-client/blob/master/.github/CONTRIBUTING.md?

rominf avatar Jan 18 '22 07:01 rominf

ah, not really! do you think it make sense to link to the readme?

laysauchoa avatar Jan 18 '22 07:01 laysauchoa

Yes, I do.

rominf avatar Jan 18 '22 07:01 rominf

Partial implementation: #261.

rominf avatar Jan 18 '22 08:01 rominf

I think there is still a need to expand the CONTRIBUTING file to explain how to setup the development environment in order to allow running the tests.

This needs (at least):

  • pip install -r requirements.dev.txt
  • pip install requests

(so maybe requests should be added to the requirements.dev.txt file).

Also, the suggested pipenv install --three -e command complains about the -e switch, and I'm assuming we no longer support Python 2? So it might be simpler just to recommend using python -m venv venv to create a virtualenv, and then activate that.

Also explain the expected use of make lint and make reformat (or make validate-style), and the use of make pytest and when new unit tests are expected for a PR.

TibsAtWork avatar May 30 '22 17:05 TibsAtWork