Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.
Contributions to this project are released to the public under the project's open source license.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
This project considers the following contributions, in order of priority:
- Bug fixes: Fixing bugs in the qtil library.
- Additional language support: Adding or improving qtil support for current or additional languages
- Performance improvements: Improving the performance of the qtil library.
- Documentation improvements: Clarifying how features work, adding examples, correcting incorrect information.
- New features: We really would love to see what new features you can come up with! No feature is too small or too big, so long as it is useful to the community. That said -- we reserve the right to be strict about which new features we will accept. If in doubt, please open an issue to discuss it first!
The next step, after registering and discussing your improvement, is proposing the improvement in a pull request.
- Fork and clone the repository
- Configure and install the CodeQL CLI.
- Create a new branch:
git checkout -b my-branch-name - Make your changes and commit them:
git commit -m 'Add some feature' - Ensure the files are appropriately formatted: QL files should be formatted with
codeql query format. - Create new tests for any new features or changes to existing features. Ensure all existing tests pass. Tests can be run with
codeql test run $DIR, where$DIRis either/testin the repo root, or$LANG/testfor a specific language. - If relevant, ensure the change will be applied to all languages supported by qtil. Exceptions can be applied if necessary.
- Push to your fork and submit a draft pull request. Make sure to select Create Draft Pull Request.
- Address failed checks, if any.
- Mark the pull request ready for review.
- Pat your self on the back and wait for your pull request to be reviewed and merged.
Here are a few things you can do that will increase the likelihood of your pull request being accepted:
- Ensure all PR checks succeed.
- Keep your change as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as separate pull requests.
- Write a good commit message.