Thank you for your interest in contributing to GhostScope!
- Use GitHub Issues
- Provide detailed reproduction steps
- Include system information and error logs
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-feature - Commit your changes:
git commit -m 'feat: add new feature' - Push the branch:
git push origin feature/your-feature - Create a Pull Request
Use conventional commits format:
git commit -m "feat: add wildcard support for function tracing"
git commit -m "fix: resolve memory leak in DWARF parser"
git commit -m "docs: update installation instructions"Before committing:
- Must run
cargo fmtto format code - Check
git statusto avoid committing test files (*.c, *.rs test files, etc.) - Keep messages concise (2-3 lines maximum)
Common prefixes:
feat:New featurefix:Bug fixdocs:Documentationtest:Testsrefactor:Code refactoringperf:Performance improvement
- Follow Rust standard format (use
cargo fmt) - Run
cargo clippyfor linting - Add test cases
- Update relevant documentation
Please refer to the Development Guide for setting up your development environment.