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
We use github to host code, to track issues and feature requests, as well as accept pull requests.
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:
- Fork the repo and create your branch from
master. - 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!
OneUptime is developed in one repository with two licenses, and the license
that covers your contribution depends on where the change lands. The preamble
of the root LICENSE file sets out the split:
- Everything outside the
ee/directory is licensed under the Apache License 2.0, whose text follows that preamble. When you submit changes there, your submissions are understood to be under that same license. - The
ee/directory holds the OneUptime Enterprise Edition and is licensed under the OneUptime Enterprise License, not Apache 2.0. By submitting changes toee/, you agree that your contribution is licensed underee/LICENSEand that OneUptime may use, modify, distribute, sublicense and sell it as part of its commercial products and services.
A pull request that touches both is covered by both rules, each for its own
files. OneUptime may ask you to sign a Contributor License Agreement (CLA)
before merging changes to ee/. Changes to ee/ and to the license files are
reviewed by the code owners listed in CODEOWNERS.
Feel free to contact the maintainers if that's a concern.
Report bugs using Github's issues
We use GitHub issues to track public bugs. Report a bug by opening a new issue; it's that easy!
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)
- You can try running
npm run fixfor style unification
By contributing, you agree that your contributions outside the ee/ directory
will be licensed under the Apache License 2.0, and your contributions to the
ee/ directory under the OneUptime Enterprise License, as described in
Licensing of contributions.