Archived
1 parent
f5bdd7e21c
commit
affe28ad71
110 files changed
+52936
-14
No files matched your search
@@ -0,0 +1,43 @@
|
||||
# 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.
|
||||
Reference in new issue
Block a user