We want to make contributing to this project as approachable and transparent as possible.
In short, when you submit code changes, your submissions are understood to be under the same MIT License that covers the project. Feel free to contact us if that's a concern.
Kroger has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.
We use GitHub to track issues and feature requests, as well as accept pull requests.
If you intend to change the public API, or make any non-trivial changes to the implementation, we recommend filing an issue. This lets us reach an agreement on your proposal before you put significant effort into it.
If you’re only fixing a bug we still recommend to file an issue detailing what you’re fixing. This is helpful in case we don’t accept that specific fix but want to keep track of the issue.
We actively welcome your pull requests.
- Fork the repo and create your branch from
main
. - Make commits of logical units.
- Write meaningful, descriptive commit messages.
- If you've added code that should be tested, add tests. Changes that lower test coverage may not be considered for merge.
- If you've changed APIs, update the documentation.
- Ensure the test suite passes.
- Make sure your code lints.
- All CI pipelines must pass.
All submissions, including submissions by project members, require review. We use GitHub pull requests for this purpose. Consult GitHub Help for more information on using pull requests.
We use GitHub issues to track public bugs. Please ensure your description is clear and has sufficient instructions to be able to reproduce the issue.
If possible please provide a minimal demo of the problem.
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)
Here are some tags that we're using to better organize issues in this repo:
good first issue
- Good candidates for someone new to the project to contribute.help wanted
- Issues that should be addressed and which we would welcome a PR for but may need significant investigation or work.support
- Request for help with a concept or piece of code but this isn't an issue with the project.needs more info
- Missing repro steps or context for both project issues & support questions.discussion
- Issues where folks are discussing various approaches and ideas.question
- Something that is a question specifically for the maintainers.documentation
- Relating to improving documentation for the project.
- Browser & OS-specific tags for anything that is specific to a particular
environment (e.g.
chrome
,firefox
,macos
,android
and so forth).
Our philosophy regarding API changes is as follows:
- We will avoid changing APIs and core behaviors in general
- In order to avoid stagnation we will allow for API changes in cases where there is no other way to achieve a high priority bug fix or improvement.
- When there is an API change:
- Changes will have a well documented reason and migration path
- When deprecating a pattern, these steps will be followed:
- We will test the change internally first at Kroger
- A version will be released that supports both, with deprecation warnings
- The following version will fully remove the deprecated pattern