Thank you for your interest in contributing to netcon-sync! This document provides guidelines and instructions for contributing.
Please be respectful and constructive in all interactions with other contributors.
- Clone the repository:
git clone https://github.com/yourusername/netcon-sync.git
cd netcon-sync- Create a development virtual environment:
./install_deps.sh
source ~/.venv-netcon-sync/bin/activate- Make your changes
- Follow PEP 8 style guidelines
- Use meaningful variable and function names
- Add docstrings to functions and modules
- Keep functions focused and testable
All Python files must include the GPL-3.0 license header:
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright (C) 2025 netcon-sync contributors
#
# This file is part of netcon-sync.
# netcon-sync is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
"""Module description."""- Write clear, descriptive commit messages
- Keep commits focused on a single change
- Reference issues where applicable:
Fix #123
Before submitting:
- Test your changes thoroughly
- Test with edge cases
- Test with the actual services (UniFi, pfSense) if possible
- Update README.md if adding new features
- Add docstrings to new functions
- Document any new environment variables
- Update documentation and code as needed
- Ensure no credentials or secrets are in the code
- Create a descriptive pull request title and description
- Link related issues
- Be responsive to feedback during review
When reporting issues, include:
- Python version
- Operating system
- What you were trying to do
- Error messages or unexpected behavior
- Steps to reproduce (if applicable)
- Relevant configuration (without credentials)
- Bug fixes
- Documentation improvements
- Test coverage
- Performance optimizations
- Additional UniFi/pfSense features
- Error handling improvements
Open an issue with the label question or discussion.
Thank you for contributing to netcon-sync!