1.7 KiB
1.7 KiB
Contributing to AREDN Firmware Sync Script
Thanks for your interest in contributing! This project is maintained by volunteers at
Disaster Response Communications & Information Technology (DRCIT) and is intended to be reused by other ham radio groups.
How to Contribute
-
Fork the repository
- Click the Fork button on the top right of the repo.
- Clone your fork to your local system.
-
Create a new branch
git checkout -b feature/my-improvement
Use a descriptive branch name (e.g.,
fix/logrotate-perms
ordocs/readme-typo
). -
Make your changes
- Keep commits focused and meaningful.
- If you change script behavior, please also update the README if necessary.
-
Test your changes
- Run the sync script manually.
- Confirm the log is written,
config.js
is patched, andcollect.py
regenerates JSON successfully.
-
Submit a Pull Request
- Push your branch to your fork.
- Open a Pull Request (PR) back to the
main
branch of this repo. - Describe what you changed and why.
Coding Style
- Keep scripts bash-compatible.
- Use
set -Eeuo pipefail
for safety where appropriate. - Use clear variable names (
ROOT
,AFS
,LOG
, etc.). - Keep user-facing docs in Markdown with code fenced in triple backticks.
Reporting Issues
If you find a bug or have a feature idea, please open an Issue on the repo with:
- Steps to reproduce
- What you expected
- What actually happened
- Your OS and shell (e.g., Ubuntu 22.04 / bash 5.x)
License
By contributing, you agree that your contributions will be licensed under the same MIT License as the project.