Contributing to tergite
This project is currently not accepting pull requests from the general public yet.
It is currently being developed by the core developers only.
We love your input! We want to make contributing to this project as easy and transparent as possible, whether it’s:
- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing new features
- Becoming a maintainer
Government Model
Chalmers Next Labs AB (CNL) manages and maintains this project on behalf of all contributors.
Version Control
Tergite is developed on a separate version control system and mirrored on GitHub. If you are reading this on GitHub, then you are looking at a mirror.
Contacting the Tergite Developers
Since the GitHub repositories are only mirrors, no GitHub pull requests or GitHub issue/bug reports are looked at. Please get in touch via email quantum-nextlabs@chalmers.se instead.
Take note that the maintainers may not answer every email.
But We Use GitHub Flow, So All Code Changes Happen Through Pull Requests
Pull requests are the best way to propose changes to the codebase (we use GitHub Flow). We actively welcome your pull requests:
- Clone the repo and create your branch from
main
. - If you’ve added code that should be tested, add tests.
- If you’ve changed APIs, update the documentation.
- Ensure the test suite passes.
- Make sure your code lints.
- Issue that pull request!
Any contributions you make will be under the Apache 2.0 Software Licenses
In short, when you submit code changes, your submissions are understood to be under the same Apache 2.0 License that covers the project. Feel free to contact the maintainers if that’s a concern.
Write bug reports with detail, background, and sample code
This is an example. Here’s another example from Craig Hockenberry.
Great Bug Reports tend to have:
- A quick summary and/or background
- Steps to reproduce
- Be specific!
- Give sample code if you can.
- What you expected would happen
- What actually happens
- Notes (possibly including why you think this might be happening, or stuff you tried that didn’t work)
People love thorough bug reports. I’m not even kidding.
License
By contributing, you agree that your contributions will be licensed under its Apache 2.0 License.
Contributor Licensing Agreement
Before you can submit any code, all contributors must sign a contributor license agreement (CLA). By signing a CLA, you’re attesting that you are the author of the contribution, and that you’re freely contributing it under the terms of the Apache-2.0 license.
“The individual CLA document is available for review as a PDF.
Please note that if your contribution is part of your employment or your contribution is the property of your employer, you will also most likely need to sign a corporate CLA.
All signed CLAs are emails to us at quantum-nextlabs@chalmers.se.”
References
This document was adapted from a gist by Brian A. Danielak