Skip to content

Latest commit

 

History

History
70 lines (46 loc) · 1.79 KB

CONTRIBUTING.md

File metadata and controls

70 lines (46 loc) · 1.79 KB

Contributing

Contributions are welcome and very much appreciated!

Code contributions

We accept code contributions through pull requests. In short, this is how that works.

Setup

  1. Fork the repository and clone the fork.

  2. Create a virtual environment using your tool of choice (e.g. virtualenv, conda, etc).

    conda env update -f environment.yml
    conda activate compas_mrr-dev
    pip install -e .[dev]
    virtualenv --python=python3.10 {{path/to/venv}}
    source {{path/to/venv}}/bin/activate
    pip install -e .[dev]
  3. (Optional) Make package accessible in Rhino and Grasshopper

    python -m compas_rhino.install

Make a pull request

  1. Make sure all tests pass on the unmodified code:

    pytest
  2. Start making your changes to the main branch (or branch off of it) on your fork.

  3. Make sure all tests still pass:

    pytest
  4. Document the changes in the CHANGELOG.md

  5. Commit your changes and push your branch to GitHub.

  6. Create a pull request through the GitHub website.

Bug reports

When reporting a bug please include:

  • Operating system name and version.
  • Any details about your local setup that might be helpful in troubleshooting.
  • Detailed steps to reproduce the bug.

Feature requests

When proposing a new feature please include:

  • Explain in detail how it would work.
  • Keep the scope as narrow as possible, to make it easier to implement.