Skip to content

Commit 6902a88

Browse files
committed
Polish GitHub landing and documentation
1 parent 520c558 commit 6902a88

22 files changed

Lines changed: 1716 additions & 96 deletions

‎.github/dependabot.yml‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "nuget"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
open-pull-requests-limit: 5
8+
9+
- package-ecosystem: "github-actions"
10+
directory: "/"
11+
schedule:
12+
interval: "weekly"
13+
open-pull-requests-limit: 5

‎.github/workflows/deploy-pages.yml‎

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Deploy GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
paths:
7+
- "docs/**"
8+
- ".github/workflows/deploy-pages.yml"
9+
workflow_dispatch:
10+
11+
permissions:
12+
contents: read
13+
pages: write
14+
id-token: write
15+
16+
concurrency:
17+
group: github-pages
18+
cancel-in-progress: false
19+
20+
jobs:
21+
deploy:
22+
name: Publish documentation website
23+
environment:
24+
name: github-pages
25+
url: ${{ steps.deployment.outputs.page_url }}
26+
runs-on: ubuntu-latest
27+
28+
steps:
29+
- name: Checkout
30+
uses: actions/checkout@v4
31+
32+
- name: Setup Pages
33+
uses: actions/configure-pages@v5
34+
35+
- name: Upload Pages artifact
36+
uses: actions/upload-pages-artifact@v3
37+
with:
38+
path: docs
39+
40+
- name: Deploy to GitHub Pages
41+
id: deployment
42+
uses: actions/deploy-pages@v4

‎.github/workflows/dotnet-ci.yml‎

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: .NET CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
paths:
7+
- "src/**"
8+
- "apps/**"
9+
- "tests/**"
10+
- "samples/**"
11+
- "*.slnx"
12+
- "Directory.Build.props"
13+
- ".github/workflows/dotnet-ci.yml"
14+
pull_request:
15+
branches: [ main ]
16+
workflow_dispatch:
17+
18+
permissions:
19+
contents: read
20+
21+
jobs:
22+
build-test:
23+
name: Build and test
24+
runs-on: windows-latest
25+
26+
steps:
27+
- name: Checkout
28+
uses: actions/checkout@v4
29+
30+
- name: Setup .NET
31+
uses: actions/setup-dotnet@v4
32+
with:
33+
dotnet-version: "8.0.x"
34+
35+
- name: Restore
36+
run: dotnet restore ARIEC61850.slnx
37+
38+
- name: Build
39+
run: dotnet build ARIEC61850.slnx -c Release --no-restore
40+
41+
- name: Test
42+
run: dotnet test ARIEC61850.slnx -c Release --no-build --verbosity normal

‎CONTRIBUTING.md‎

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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

Comments
 (0)