Skip to content

Latest commit

 

History

History
84 lines (53 loc) · 2.12 KB

CONTRIBUTING.rst

File metadata and controls

84 lines (53 loc) · 2.12 KB

Contributing to qibuild

Reporting bugs

Please see the appropriate section in the documentation

In short:

  • Use -v and post all output
  • Use qibuild configure with --trace-cmake if it's a compilation-related bug.

Want to contribute but don't know where to start?

Have a look at the issues marked with the "easy" label

Submitting pull requests

As usual contributions should take the form of "pull requests", like most of github projects. But keep reading below for a list of particularities.

Base your work on 'next' branch

'master' branch is reserved for bug fixes and maintenance releases. Development occurs on 'next' branch.

Test your pull request before submitting it

Before submitting your pull request, you should check that the tests still pass, and that pylint finds no errors

To do so:

virtualenv ~/.venvs/qibuild
source ~/.venvs/qibuild/bin/activate
  • Install dependencies in the virtualenv:
pip install -r requirements.txt
pip install -e .
  • Run pylint to check for errors:
pylint --errors-only /path/to/file.py
  • Run the whole test suite:
cd python
py.test -n NUM_CPUS

Make sure to update the changelog

If one of your commits introduces a change in qibuild's behavior, you should document it in the changelog. (In doc/source/changes/<version>.rst)

You can do that in a separate commit or in the same commit that introduces the change.

Add yourself to the AUTHORS file

All of qibuild contributors are listed in the AUTHORS file. Feel free to send patches to it :)