2025-11-08 11:09:45 +02:00
|
|
|
# Contributing to Ghost
|
|
|
|
|
|
2025-11-20 14:28:27 +02:00
|
|
|
Thank you for your interest in contributing to Ghost!
|
2025-11-08 11:09:45 +02:00
|
|
|
|
2025-11-20 14:28:27 +02:00
|
|
|
## Getting Started
|
2025-11-08 11:09:45 +02:00
|
|
|
|
2025-11-20 14:28:27 +02:00
|
|
|
1. Fork the repository
|
|
|
|
|
2. Clone your fork
|
|
|
|
|
3. Create a branch: `git checkout -b feature/your-feature`
|
|
|
|
|
4. Make changes and test: `cargo test --all`
|
|
|
|
|
5. Format code: `cargo fmt --all`
|
|
|
|
|
6. Check lints: `cargo clippy --all`
|
|
|
|
|
7. Commit: `git commit -m "feat: description"`
|
|
|
|
|
8. Push and open a Pull Request
|
2025-11-08 11:09:45 +02:00
|
|
|
|
|
|
|
|
## Code Style
|
|
|
|
|
|
2025-11-20 14:28:27 +02:00
|
|
|
- Follow Rust conventions
|
|
|
|
|
- Use rustfmt and clippy
|
|
|
|
|
- Write clear, documented code
|
|
|
|
|
- Add tests for new features
|
2025-11-08 11:09:45 +02:00
|
|
|
|
2025-11-20 14:28:27 +02:00
|
|
|
## Commit Messages
|
2025-11-08 11:09:45 +02:00
|
|
|
|
2025-11-20 14:28:27 +02:00
|
|
|
Use conventional commits:
|
|
|
|
|
- `feat:` New feature
|
|
|
|
|
- `fix:` Bug fix
|
|
|
|
|
- `docs:` Documentation
|
|
|
|
|
- `refactor:` Code refactoring
|
|
|
|
|
- `test:` Tests
|
2025-11-08 11:09:45 +02:00
|
|
|
|
2025-11-20 14:28:27 +02:00
|
|
|
## Areas for Contribution
|
2025-11-08 11:09:45 +02:00
|
|
|
|
2025-11-20 14:28:27 +02:00
|
|
|
- macOS support
|
|
|
|
|
- Threat intelligence feeds
|
|
|
|
|
- eBPF implementation
|
|
|
|
|
- Test coverage
|
|
|
|
|
- Documentation
|
2025-11-08 11:09:45 +02:00
|
|
|
|
2025-11-20 14:28:27 +02:00
|
|
|
Thank you for contributing!
|