Contributing to Vectra
We welcome contributions! Hereโs how to get started.
Development Setup
- Clone the repository:
git clone https://github.com/stokry/vectra.git cd vectra - Install dependencies:
bundle install - Run tests:
bundle exec rspec
Making Changes
- Create a feature branch:
git checkout -b feature/your-feature-name - Make your changes and write tests
- Run linter:
bundle exec rubocop - Commit and push:
git add . git commit -m "Description of changes" git push origin feature/your-feature-name - Create a Pull Request
Code Style
We use RuboCop for code style. Ensure your code passes:
bundle exec rubocop
Testing
All changes require tests:
# Run all tests
bundle exec rspec
# Run specific suite
bundle exec rspec spec/vectra
# Run with coverage
bundle exec rspec --cov
Documentation
Please update documentation for any changes:
- Update README.md for user-facing changes
- Update CHANGELOG.md
- Add examples if needed
Questions?
Feel free to:
- Open an issue on GitHub
- Check existing issues and discussions
- Read the Implementation Guide
Thank you for contributing! ๐