Thank you for considering contributing to Cloudflare Speedtest Exporter! We appreciate your interest in helping us improve the project.
- Introduction
- Getting Started
- Contributing Guidelines
- Where do I go from here?
- Fork & create a branch
- Get the test suite running
- Implement your fix or feature
- Make a Pull request
- Keeping your Pull Request updates
- License
This document outlines the guidelines for contributing to the Cloudflare Speedtest Exporter project. It provides information on how you can get started, the contributing guidelines, code of conduct, and license.
To get started with contributing to the project, follow these steps:
- Fork the repository on GitHub.
- Clone the forked repository to your local machine.
- Install the necessary dependencies.
- Make your changes or additions.
- Test your changes to ensure they work as expected.
- Commit your changes and push them to your forked repository.
- Submit a pull request to the main repository.
Please follow these guidelines when contributing to the project:
- Ensure your code follows the project's coding style and conventions.
- Write clear and concise commit messages.
- Include tests for any new functionality or bugfixes.
- Document any changes or additions in the project's documentation.
If you've noticed a bug or have a feature request, make one! It's generally best if you get confirmation of your bug or approval for your feature request this way before starting to code.
If this is something you think you can fix, then fork and create a branch with a descriptive name.
A good branch name would be (where issue #325 is the ticket you're working on):
git checkout -b 325-add-jitter-to-output
Make sure you're using a venv with the Python version that matches the one used in the project. Install the development requirements:
pip install -r requirements.txt
At this point, you're ready to make your changes! Feel free to ask for help; everyone is a beginner at first 😸
After you have implemented your changes and tested them, it's time to submit a pull request. Here's how you can do it:
git remote add upstream [email protected]:original/cloudflare-speedtest-exporter.git
git checkout master
git pull upstream master
Then update your feature branch from your local copy of master, and push it!
git checkout 325-add-jitter-to-output
git rebase master
git push --set-upstream origin 325-add-jitter-to-output
Go to the repository and make a Pull Request. The PR text should be useful to someone reading it in the future. Explain the issue that your PR is solving and how you solved it.
While your pull request is under review, you may need to make updates based on the feedback received. Here's how you can keep your pull request up to date:
git checkout 325-add-jitter-to-output
git pull --rebase upstream master
git push --force-with-lease 325-add-jitter-to-output
Cloudflare Speedtest Exporter is licensed under the GNU GENERAL PUBLIC LICENSE. By contributing to this project, you agree to license your contributions under the same license.
We appreciate your contributions and look forward to your involvement in the project!