Thank you for your interest in contributing! This document provides guidelines for contributing to this project.
If you find a bug or have a suggestion:
- Check if the issue already exists in the GitHub Issues
- If not, create a new issue with:
- Clear title and description
- Steps to reproduce (for bugs)
- Expected vs actual behavior
- Your environment (Python version, WordPress version, etc.)
-
Fork the repository
-
Create a feature branch
git checkout -b feature/your-feature-name
-
Make your changes
- Follow the existing code style
- Add comments for complex logic
- Update documentation if needed
-
Test your changes
- Test with both simple and complex configurations
- Use dry-run mode to verify behavior
- Test error handling
-
Commit your changes
git commit -m "Add feature: description of your changes" -
Push to your fork
git push origin feature/your-feature-name
-
Create a Pull Request
- Provide a clear description of the changes
- Reference any related issues
- Explain why the change is needed
Python:
- Follow PEP 8 style guide
- Use type hints where appropriate
- Add docstrings for functions and classes
- Use meaningful variable and function names
- Update README.md if you add new features
- Update QUICKSTART.md for user-facing changes
- Add examples for new configuration options
- Keep documentation clear and beginner-friendly
Before submitting a PR, test your changes:
-
Syntax Check
python -m py_compile scripts/create_events.py
-
Dry Run Test
python scripts/create_events.py --config examples/simple-config.json --dry-run
-
Configuration Validation
- Test with missing required fields
- Test with invalid date/time formats
- Test with both single
eventand multieventsconfig formats
Here are some ideas for potential contributions:
- Batch update existing events
- Delete events by criteria
- Export events from WordPress to JSON
- YAML configuration file support
- CSV import for bulk event creation
- Configuration templates for common use cases
- Environment variable support for credentials
- Better error messages with suggestions
- Retry logic for failed requests
- Rollback mechanism for failed batch operations
- Validation warnings before creation
- Video tutorial
- WordPress plugin documentation
- API endpoint reference
- Troubleshooting flowchart
- Unit tests for utility functions
- Integration tests with mock WordPress API
- Test configuration files
- CI/CD pipeline
If you have questions about contributing:
- Open an issue with the "question" label
- Check existing documentation in the
docs/directory - Review closed issues for similar questions
- Be respectful and inclusive
- Provide constructive feedback
- Help others learn and grow
- Follow the project's guidelines
Thank you for contributing!