We welcome contributions from the community. Whether you're fixing a bug, adding a feature, or improving documentation, thank you for helping make Dalli better.
- Fork the repository on GitHub.
- Create a topic branch from
mainfor your change. - Make your changes and ensure they include tests that verify the fix or feature.
- Update the CHANGELOG with a one-sentence description of your change so you get credit as a contributor.
- Make sure
bundle exec rubocoppasses with no offenses. - Make sure
bundle exec rakepasses with no test failures. - Submit a pull request.
Issues and pull requests from AI bots or AI-assisted tools are welcome. They are held to the same standards as any other contribution:
- Include tests that verify the change.
- Update the changelog.
- Pass CI (tests and linting).
Disclosure is required. If a contribution is authored or substantially generated by AI, indicate this in one of the following ways:
- Submit from a clearly identified bot account.
- Include a note in the PR or issue body (e.g., "This PR was generated with the assistance of [tool name]").
- Apply a
generated-by-ailabel.
After cloning the repo:
bundle install # Install dependencies
bundle exec rake # Run the full test suite (requires memcached 1.6+ locally)
bundle exec rubocop # Run the linterSee the README and wiki for more details on the project and its architecture.