Contributing to Vectra

We welcome contributions! Hereโ€™s how to get started.

Development Setup

  1. Clone the repository:
    git clone https://github.com/stokry/vectra.git
    cd vectra
    
  2. Install dependencies:
    bundle install
    
  3. Run tests:
    bundle exec rspec
    

Making Changes

  1. Create a feature branch:
    git checkout -b feature/your-feature-name
    
  2. Make your changes and write tests
  3. Run linter:
    bundle exec rubocop
    
  4. Commit and push:
    git add .
    git commit -m "Description of changes"
    git push origin feature/your-feature-name
    
  5. 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:

Questions?

Feel free to:

Thank you for contributing! ๐Ÿ™Œ