We love pull requests from everyone. By participating in this project, you agree to abide by our code of conduct (coming soon).
- Fork the repository
- Clone your fork:
git clone git@github.com:your-username/capistrano-sidekiq.git - Set up your development environment:
bundle install - Create a feature branch:
git checkout -b my-new-feature
- Make your changes
- Add tests for your changes
- Run the test suite:
bundle exec rake test - Update documentation if necessary
- Update CHANGELOG.md with your changes
- Follow Ruby community style guidelines
- Keep code simple and readable
- Add comments for complex logic
- Use meaningful variable and method names
- Write tests for any new functionality
- Ensure all tests pass before submitting
- Test with different Ruby versions if possible
- Test with Docker:
bundle exec rake test
- Push to your fork:
git push origin my-new-feature - Create a pull request
- Describe your changes in the PR description
- Reference any related issues
- Keep PRs focused on a single feature or fix
- Update documentation for any changed behavior
- Add entries to CHANGELOG.md
- Ensure CI passes
- Be responsive to feedback
- Use the GitHub issue tracker
- Check if the issue already exists
- Include reproduction steps
- Provide system information:
- Ruby version
- Capistrano version
- Sidekiq version
- Systemd version (if relevant)
# Clone the repo
git clone https://github.com/seuros/capistrano-sidekiq.git
cd capistrano-sidekiq
# Install dependencies
bundle install
# Run tests
bundle exec rake test
# Run tests in Docker
docker build -t capistrano-sidekiq-test test/
docker run capistrano-sidekiq-testReleases are managed by maintainers. The process is:
- Update version in
lib/capistrano/sidekiq/version.rb - Update CHANGELOG.md
- Run tests
- Build gem:
bundle exec rake build - Release:
bundle exec rake release
Feel free to open an issue for any questions about contributing.