|
| 1 | +# Contributing to ARIEC61850 |
| 2 | + |
| 3 | +ARIEC61850 is a clean-room IEC 61850 stack. Contributions must preserve that |
| 4 | +boundary. |
| 5 | + |
| 6 | +## Clean-room rules |
| 7 | + |
| 8 | +- Do not copy or translate GPL source code into this repository. |
| 9 | +- Do not paste source from commercial tools or decompiled binaries. |
| 10 | +- Use external projects only as behavioral references, documentation pointers, |
| 11 | + or interoperability peers. |
| 12 | +- Keep protocol code in `src/`. |
| 13 | +- Keep tester app code in `apps/`. |
| 14 | + |
| 15 | +## Development workflow |
| 16 | + |
| 17 | +Before opening a pull request: |
| 18 | + |
| 19 | +```powershell |
| 20 | +dotnet build .\ARIEC61850.slnx -c Release |
| 21 | +dotnet test .\ARIEC61850.slnx -c Release --no-build |
| 22 | +``` |
| 23 | + |
| 24 | +Add or update tests for: |
| 25 | + |
| 26 | +- protocol codec changes, |
| 27 | +- SCL parsing behavior, |
| 28 | +- publisher/subscriber state machines, |
| 29 | +- malformed input handling, |
| 30 | +- PCAP read/write behavior. |
| 31 | + |
| 32 | +## Active network features |
| 33 | + |
| 34 | +Any feature that sends traffic to a NIC must: |
| 35 | + |
| 36 | +- require explicit adapter selection, |
| 37 | +- have an in-memory test path, |
| 38 | +- document safety limitations, |
| 39 | +- avoid hidden background publishing, |
| 40 | +- expose enough evidence for operator review. |
0 commit comments