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.
- Reviewing pull requests.
- Adding new planes or images.
- Becoming a maintainer.
We use github to host code, track issues and feature requests, and 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
main
. - Create a new feature branch (e.g.
patch
) to implement your changes on. - Make your changes.
- Add tests if you've added code that should be tested.
- If you've changed the internal working of the repository, update the documentation.
- Ensure the test suite passes.
- Make sure your code lints.
- Issue that pull request!
- Merge your feature branch into your own
main
branch, so you don't have to wait for the PR to be merged.
Refer to the README for details on contributing to the following main databases:
Please note that other databases are automatically generated via GitHub Actions and should not be manually edited.
The readme is dynamically generated through the update_readme.yml action using the mustache template language and the chevron parser. For any modifications, exclusively edit the readme.mustache file.
You can keep your fork, and thus your private Vercel instance up to date with the upstream using GitHubs' Sync Fork button. You can also use the pull package created by @wei to automate this process.
As the README explains, this repository uses GitHub actions to create several derivative databases from the main databases. By default, to prevent conflicts, the create_db_derivatives.yaml action is disabled on forks. You can, however, set the CREATE_DERIVATIVES
repository variable to true
in your repository settings (see the GitHub documentation) if you want to create the derivative database on your fork automatically.
Warning If you enable the building of the derivative databases on your fork, please use a feature branch (e.g.
patch
) when creating pull requests to the main repository. This will prevent your PR from being flagged asinvalid
since commits made by the create_db_derivatives.yaml do not re-trigger the PR check actions. You can then merge your changes into your main branch without waiting for the PR to be merged.
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!
This is an example of a bug report, and I think it's a good model. Here's another example from Craig Hockenberry, an app developer greatly respected in the community.
Great Bug Reports tend to have:
- A quick summary and/or background.
- Steps to reproduce:
- Be specific!
- Give sample code if you can. A stackoverflow question includes sample code that anyone with a base R setup can run to reproduce the error.
- 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.
We use black formatter to format our python code. You are advised to use flake8 for linting your code.
This document was adapted from the open-source contribution guidelines for Facebook's Draft.