This repository has been archived on 2026-11-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
WGTools-Extended/CONTRIBUTING.md
T
asminme affe28ad71
Wydanie WGTools-Extended / release (push) Failing after 16s
1.0.0
2026-10-30 00:35:08 +01:00

44 lines
1.2 KiB
Markdown

# Contributing to WGTools
Thanks for helping improve WGTools.
## Before opening an issue
- Check whether the problem occurs on the latest release.
- Run the built-in Server diagnostics.
- Remove private keys, Telegram tokens, public endpoints and sensitive topology details from logs/screenshots.
- Never upload a `.wgtbackup` archive to a public issue.
Useful diagnostic commands include:
```bash
systemctl status wgtools --no-pager -l
systemctl status wgtools-telegram --no-pager -l
journalctl -u wgtools -n 100 --no-pager
journalctl -u wgtools-telegram -n 100 --no-pager
wg show
ip rule show
ip route show table all
iptables -S
iptables -t nat -S
```
Sanitize outputs before posting them publicly.
## Pull requests
Please keep changes focused and readable.
For changes that touch routing, firewall, WireGuard configuration or backup/restore logic, describe:
1. the previous behavior;
2. the new behavior;
3. how rollback/failure is handled;
4. how the change was tested.
Do not commit generated databases, private keys, `.conf` files, `.wgtbackup` archives, `.venv`, `__pycache__` or production logs.
## Language
Source code, identifiers and primary documentation should remain English. User-facing UI text can be added to both English and Russian locale files.