Thank you for your interest in contributing to Tree Navigator! This document provides guidelines and instructions for contributing.
- GNAT Ada compiler (GCC 12.0 or later with Ada 2022 support)
- GPRbuild
- Git
git clone https://github.com/yourusername/tree-navigator.git
cd tree-navigator
gprbuild -P tree_navigator.gpr
./bin/mainThis project follows Ada 2022 standards with these conventions:
- Indentation: 3 spaces (Ada standard)
- Line length: Keep under 100 characters where practical
- Naming: Use
Snake_Casefor identifiers - Comments: Use
--for single-line comments - Pragmas: Place
pragma Ada_2022;at the top of each file
tree-navigator/
├── src/ # Ada source files (.ads/.adb)
├── obj/ # Compiled objects (gitignored)
├── bin/ # Compiled executable (gitignored)
├── tree_navigator.gpr # GNAT project file
└── README.md
Before submitting a pull request:
- Ensure your code compiles without errors:
gprbuild -P tree_navigator.gpr- Test basic functionality:
./bin/main --help
./bin/main- Verify no new warnings are introduced
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
- Provide a clear description of the changes
- Reference any related issues
- Ensure code compiles cleanly
- Update documentation if needed
- Add yourself to CONTRIBUTORS.md
Be respectful, constructive, and professional in all interactions.
Open an issue for questions, bug reports, or feature requests.