Contributions are welcome, and they are greatly appreciated! Every little bit helps, and credit will always be given.
You can contribute in many ways:
Report bugs at https://github.com/esnet/gdg/issues.
If you are reporting a bug, please include:
- Your operating system name and version.
- Any details about your local setup that might be helpful in troubleshooting.
- Detailed steps to reproduce the bug.
Any code submitted to enhance this project is great appreciated, but here's a check list to look at which will help ensure a successful code review.
- Make sure the code works, compiles and so on.
- We have a docker-compose file that will bring up an instance of grafana. A variety of integration tests exists under the
integration_tests
folder. Ideally each new entity we introduce should have tests that go with it. Please make sure you have a test for you code submission. - Configuration Changes: Please update the conf/importer-example.yml if you are introducing any new configs
- Document the code, not every line needs docs, but explaining what the function does is helpful for those that follow.
- The generated docs live under
documentation/content/en/docs/
Please update the md files to reflect your changes to let others know how to use the tool.usage_guide.md
is likely the only file you'll need to update.- documentation/content/en/docs/releases contains a list of changes, if you are adding a new feature, please add a short description of the upcoming new feature.
- documentation/content/en/docs/usage_guide.md provides simple examples. If you're adding a new entity please document its behavior.
- If you've introduced a major change that affects the configuration, please take the time to update the context new wizard to ensure it's captured.
The best way to send feedback is to file an issue at https://github.com/esnet/gdg/issues.
If you are proposing a feature:
- Explain in detail how it would work.
- Keep the scope as narrow as possible, to make it easier to implement.
- Remember that this is a volunteer-driven project, and that contributions are welcome :)
Ready to contribute? Here's how to set up gdg
for local development.
- Fork the
gdg
repo on GitHub. - Clone your fork locally::
$ git clone [email protected]:your_name_here/gdg.git
- Create a branch for local development::
$ git checkout -b name-of-your-bugfix-or-feature
Now you can make your changes locally.
- When you're done making changes, check that your changes pass the tests::
$ make test
- Commit your changes and push your branch to GitHub::
$ git add .
$ git commit -m "Your detailed description of your changes."
$ git push origin name-of-your-bugfix-or-feature
- Submit a pull request through the GitHub website.
Before you submit a pull request, check that it meets these guidelines:
- The pull request should include tests.
- If the pull request adds functionality, the docs should be updated. Put your new functionality into a function with a docstring, and add the feature to the list in README.md.