Thank you for your interest in contributing to madOS! This document provides guidelines for contributing to the project.
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR_USERNAME/mad-os.git - Create a feature branch:
git checkout -b feature/your-feature-name
main- Stable releases onlydevelop- Beta/development builds- Feature branches:
feature/,fix/,hotfix/
We follow Conventional Commits:
<type>(<scope>): <description>
[optional body]
[optional footer]
Types:
feat- New featurefix- Bug fixhotfix- Critical production fixdocs- Documentation onlyrefactor- Code refactoringtest- Adding/updating testsci- CI/CD changes
Examples:
feat(audio): add equalizer presets for headphones
fix(installer): correct disk partitioning on UEFI
hotfix(boot): fix kernel panic on AMD GPUs
docs: update build instructions
- Update documentation if needed
- Ensure all tests pass
- Update the CHANGELOG if applicable
- Submit a PR targeting
develop(for features) ormain(for hotfixes) - Fill out the PR template completely
# Install dependencies
sudo pacman -Syu --needed archiso
# Build
sudo mkarchiso -v -w /tmp/work -o out .- Shell scripts: Use ShellCheck
- Python: Follow PEP 8, use type hints
- Configuration: YAML for configs, JSON for data files
By contributing, you agree that your contributions will be licensed under the project's license.