Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
ebc2dfc
Implement standalone SignalRGB plugin
MAJ224 Oct 18, 2026
15a564b
Fix CI package source mapping
MAJ224 Oct 18, 2026
25f4a28
Add repository branch policy
MAJ224 Oct 18, 2026
94d9066
Merge PR #1: Add standalone SignalRGB plugin
Oct 18, 2026
49385a0
docs: point FocusRGB link at organization
MAJ224 Oct 19, 2026
c69a812
manifest: update plugin source repository
MAJ224 Oct 19, 2026
d176f54
build: retain legacy SDK package source
MAJ224 Oct 19, 2026
2c17b8f
ci: document temporary GitHub Packages dependency
MAJ224 Oct 19, 2026
8cba2b0
ci: add a safe release package dry run
MAJ224 Oct 19, 2026
cc713ab
docs: qualify the SDK migration issue
MAJ224 Oct 19, 2026
d569c2d
Merge pull request #3 from FocusRGB/chore/move-to-focusrgb-org
Oct 19, 2026
2d08c78
chore: ignore local graphify output
MAJ224 Oct 19, 2026
ace6af4
docs: document local graph navigation
MAJ224 Oct 19, 2026
57cecb8
Merge pull request #4: document local graph tooling
Oct 19, 2026
be29cf9
docs: move agent guidance out of README
MAJ224 Oct 20, 2026
35304de
Merge pull request #5 from FocusRGB/chore/tooling-guidance-followup
MAJ224 Oct 20, 2026
0bf3fd6
ci: add weekly Dependabot updates
MAJ224 Oct 20, 2026
d5fff7c
ci: allow Dependabot branches into develop
MAJ224 Oct 20, 2026
a37c731
Merge pull request #6 from FocusRGB/chore/dependabot-and-repo-hygiene
MAJ224 Oct 20, 2026
333c54c
chore: update plugin license ownership
MAJ224 Oct 20, 2026
6792fe9
docs: add the FocusRGB logo
MAJ224 Oct 20, 2026
b6d84df
Merge pull request #9 from FocusRGB/chore/devantix-license-owner
MAJ224 Oct 20, 2026
dd2e21f
Merge pull request #10 from FocusRGB/chore/add-focusrgb-branding
MAJ224 Oct 20, 2026
387509a
build: restore PluginSdk 1.0 from nuget.org
MAJ224 Oct 20, 2026
61af068
feat: adopt plugin contract 1.0
MAJ224 Oct 20, 2026
9bfe5fa
Merge pull request #11 from FocusRGB/slice/17-signalrgb-sdk-1.0
MAJ224 Oct 20, 2026
7c9e75e
test: keep manifest contract aligned with SDK
MAJ224 Oct 20, 2026
5d78022
Merge pull request #13 from FocusRGB/fix/manifest-contract-version
MAJ224 Oct 20, 2026
c440655
ci: publish discovery release assets
MAJ224 Oct 20, 2026
7f4fbc9
Merge pull request #14 from FocusRGB/feature/discovery-release-assets
MAJ224 Oct 20, 2026
e7a128f
ci: restrict release write permission
MAJ224 Oct 20, 2026
b4d7658
Merge pull request #15 from FocusRGB/chore/restrict-release-token
MAJ224 Oct 21, 2026
ef88e8c
chore(ci): Bump softprops/action-gh-release
dependabot[bot] Oct 21, 2026
5b0cb74
Merge pull request #8 from FocusRGB/dependabot/github_actions/develop…
MAJ224 Oct 21, 2026
3236533
chore: prepare SignalRGB plugin 1.0.0
MAJ224 Oct 21, 2026
b76d7a9
fix: report the built SignalRGB plugin version
MAJ224 Oct 21, 2026
eb1aab9
Merge pull request #17 from FocusRGB/chore/signalrgb-1.0.0
MAJ224 Oct 21, 2026
3192ff4
fix: write release checksums with LF endings
MAJ224 Oct 21, 2026
cb0bbaf
Merge pull request #18 from FocusRGB/fix/sha256sums-lf
MAJ224 Oct 21, 2026
96a2da0
docs: point agents at the workspace graph
MAJ224 Oct 21, 2026
ec59af7
docs: clarify workspace graph boundaries
MAJ224 Oct 21, 2026
70261df
Merge pull request #19 from FocusRGB/docs/workspace-graph
MAJ224 Oct 21, 2026
fec659d
chore: move agent instructions to workspace root
MAJ224 Oct 23, 2026
4b7e6f7
Merge pull request #20 from FocusRGB/chore/remove-repo-agents-md
MAJ224 Oct 23, 2026
99ee701
chore(deps): Bump the nuget-minor-and-patch group with 1 update
dependabot[bot] Oct 27, 2026
ecdae86
fix: align SignalRGB manifest with SDK contract 1.2
MAJ224 Oct 27, 2026
d30733a
Merge pull request #21 from FocusRGB/dependabot/nuget/develop/nuget-m…
MAJ224 Oct 27, 2026
e50a709
docs: link SignalRGB wiki guide from README
MAJ224 Oct 27, 2026
e27b649
Merge pull request #22 from FocusRGB/docs/link-wiki-guide
MAJ224 Oct 27, 2026
4c5ba78
chore: set SignalRGB plugin version to 0.2.0
MAJ224 Oct 27, 2026
351e2f4
ci: mark SignalRGB plugin releases as prereleases
MAJ224 Oct 27, 2026
b4f8681
Merge pull request #23 from FocusRGB/chore/beta-versioning
MAJ224 Oct 27, 2026
23df7c0
ci: validate SignalRGB release version and main ancestry
MAJ224 Oct 27, 2026
32c809d
Merge pull request #24 from FocusRGB/chore/release-main-ancestry
MAJ224 Oct 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true

[*.{csproj,props,targets,slnx,json,yml,yaml}]
indent_size = 2

[*.md]
trim_trailing_whitespace = false

[*.cs]
csharp_style_namespace_declarations = block_scoped:suggestion
csharp_new_line_before_open_brace = all
dotnet_sort_system_directives_first = true

[tests/**.cs]
dotnet_diagnostic.CA1707.severity = none
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* text=auto
*.cs text eol=crlf
*.ps1 text eol=crlf
*.cmd text eol=crlf
*.sh text eol=lf
25 changes: 25 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Weekly dependency updates into develop. Branches are named dependabot/*, which branch-policy allows.
version: 2
updates:
- package-ecosystem: nuget
directory: /
target-branch: develop
schedule:
interval: weekly
open-pull-requests-limit: 5
commit-message:
prefix: chore(deps)
groups:
nuget-minor-and-patch:
update-types: [minor, patch]
- package-ecosystem: github-actions
directory: /
target-branch: develop
schedule:
interval: weekly
open-pull-requests-limit: 5
commit-message:
prefix: chore(ci)
groups:
actions:
patterns: ["*"]
27 changes: 27 additions & 0 deletions .github/rulesets/develop.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "develop",
"target": "branch",
"enforcement": "active",
"conditions": {
"ref_name": {
"include": ["refs/heads/develop"],
"exclude": []
}
},
"rules": [
{ "type": "deletion" },
{ "type": "non_fast_forward" },
{
"type": "pull_request",
"parameters": {
"required_approving_review_count": 0,
"dismiss_stale_reviews_on_push": true,
"require_code_owner_review": false,
"require_last_push_approval": false,
"required_review_thread_resolution": true,
"allowed_merge_methods": ["squash", "merge"]
}
}
],
"bypass_actors": []
}
27 changes: 27 additions & 0 deletions .github/rulesets/main.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "main",
"target": "branch",
"enforcement": "active",
"conditions": {
"ref_name": {
"include": ["refs/heads/main"],
"exclude": []
}
},
"rules": [
{ "type": "deletion" },
{ "type": "non_fast_forward" },
{
"type": "pull_request",
"parameters": {
"required_approving_review_count": 0,
"dismiss_stale_reviews_on_push": true,
"require_code_owner_review": false,
"require_last_push_approval": false,
"required_review_thread_resolution": true,
"allowed_merge_methods": ["merge"]
}
}
],
"bypass_actors": []
}
38 changes: 38 additions & 0 deletions .github/workflows/branch-policy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Branch policy

on:
pull_request_target:
types: [opened, reopened, synchronize, edited]

permissions: {}

jobs:
branch-policy:
name: branch-policy
runs-on: ubuntu-latest
steps:
- name: Check source branch
env:
BASE: ${{ github.base_ref }}
HEAD: ${{ github.head_ref }}
HEAD_REPO: ${{ github.event.pull_request.head.repo.full_name }}
REPO: ${{ github.repository }}
run: |
case "$BASE" in
main)
if [ "$HEAD" != "develop" ] || [ "$HEAD_REPO" != "$REPO" ]; then
echo "::error::main accepts pull requests only from develop in $REPO (got $HEAD_REPO:$HEAD)."
exit 1
fi
;;
develop)
case "$HEAD" in
feature/*|slice/*|fix/*|chore/*|docs/*|dependabot/*) ;;
*)
echo "::error::develop accepts pull requests only from feature/, slice/, fix/, chore/, docs/, or dependabot/ branches (got $HEAD)."
exit 1
;;
esac
;;
esac
echo "Pull request $HEAD -> $BASE is allowed."
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI

on:
pull_request:
types: [opened, reopened, synchronize, edited]
push:
branches: [main, develop]

permissions:
contents: read

jobs:
build:
runs-on: windows-latest
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
steps:
- uses: actions/checkout@v7
- uses: actions/setup-dotnet@v6
with:
global-json-file: global.json
- run: dotnet restore FocusRGB-Plugin-SignalRGB.slnx
- run: dotnet build FocusRGB-Plugin-SignalRGB.slnx -c Release --no-restore
- run: dotnet test --solution FocusRGB-Plugin-SignalRGB.slnx -c Release --no-build
102 changes: 102 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
name: Release

on:
push:
tags: ['v*']
workflow_dispatch:
pull_request:
paths:
- .github/workflows/release.yml
- src/FocusRgb.Plugin.SignalRgb/**
- LICENSE

permissions:
contents: read

jobs:
release:
runs-on: windows-latest
env:
DOTNET_NOLOGO: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
PACKAGE_SUFFIX: ${{ github.event_name == 'push' && github.ref_name || format('dry-run-{0}', github.run_number) }}
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Validate release tag
if: github.event_name == 'push'
shell: pwsh
env:
RELEASE_REF: ${{ github.ref_name }}
run: |
if ($env:RELEASE_REF -notmatch '^v([0-9]+\.[0-9]+\.[0-9]+)$') {
throw "Release tags must use vMAJOR.MINOR.PATCH."
}
$tagVersion = $Matches[1]
$manifest = Get-Content src/FocusRgb.Plugin.SignalRgb/focusrgb-plugin.json -Raw | ConvertFrom-Json
if ($manifest.version -ne $tagVersion) {
throw "Plugin manifest version must equal tag version $tagVersion."
}
git fetch origin --no-tags "+refs/heads/main:refs/remotes/origin/main"
if ($LASTEXITCODE -ne 0) { throw "Could not refresh main history." }
git merge-base --is-ancestor $env:GITHUB_SHA origin/main
if ($LASTEXITCODE -ne 0) { throw "Release commits must belong to main history." }
exit 0
- uses: actions/setup-dotnet@v6
with:
global-json-file: global.json
- run: dotnet restore FocusRGB-Plugin-SignalRGB.slnx
- run: dotnet test --solution FocusRGB-Plugin-SignalRGB.slnx -c Release
- name: Assemble package
shell: pwsh
run: |
dotnet publish src/FocusRgb.Plugin.SignalRgb/FocusRgb.Plugin.SignalRgb.csproj -c Release --no-restore --no-self-contained -o build/package/signalrgb
Copy-Item src/FocusRgb.Plugin.SignalRgb/focusrgb-plugin.json build/package/signalrgb/
Copy-Item LICENSE build/package/signalrgb/
$zip = "build/FocusRGB-Plugin-SignalRGB-${{ env.PACKAGE_SUFFIX }}.zip"
$manifest = "build/focusrgb-plugin.json"
Compress-Archive build/package/signalrgb/* $zip
Copy-Item src/FocusRgb.Plugin.SignalRgb/focusrgb-plugin.json $manifest
$checksumLines = @($zip, $manifest) | ForEach-Object {
$hash = (Get-FileHash $_ -Algorithm SHA256).Hash.ToLowerInvariant()
"$hash $(Split-Path $_ -Leaf)"
}
$checksumPath = Join-Path $PWD build/SHA256SUMS
[IO.File]::WriteAllText(
$checksumPath, ($checksumLines -join "`n") + "`n", [Text.UTF8Encoding]::new($false))
if ([IO.File]::ReadAllText($checksumPath).Contains("`r")) {
throw "SHA256SUMS must use LF line endings."
}
if ((Get-Content build/SHA256SUMS).Count -ne 2) {
throw "SHA256SUMS must contain the package and manifest hashes."
}
- name: Upload release assets
uses: actions/upload-artifact@v7
with:
name: FocusRGB-Plugin-SignalRGB-${{ env.PACKAGE_SUFFIX }}
path: |
build/FocusRGB-Plugin-SignalRGB-${{ env.PACKAGE_SUFFIX }}.zip
build/focusrgb-plugin.json
build/SHA256SUMS
if-no-files-found: error

publish:
if: github.event_name == 'push'
needs: release
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/download-artifact@v8
with:
name: FocusRGB-Plugin-SignalRGB-${{ github.ref_name }}
path: build
- uses: softprops/action-gh-release@v3
with:
files: |
build/FocusRGB-Plugin-SignalRGB-${{ github.ref_name }}.zip
build/focusrgb-plugin.json
build/SHA256SUMS
generate_release_notes: true
prerelease: true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
build/
graphify-out/
bin/
obj/
TestResults/
Expand Down
19 changes: 19 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<Project>
<PropertyGroup>
<ArtifactsPath>$(MSBuildThisFileDirectory)build/artifacts</ArtifactsPath>
<TargetFramework>net10.0</TargetFramework>
<LangVersion>latest</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<AnalysisLevel>latest-recommended</AnalysisLevel>
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild Condition="'$(CI)' == 'true'">true</ContinuousIntegrationBuild>
<PathMap Condition="'$(ContinuousIntegrationBuild)' == 'true'">$(MSBuildThisFileDirectory)=/_/,$(ArtifactsPath)=/_/artifacts/</PathMap>
<Version>0.2.0</Version>
<Authors>Devantix</Authors>
<Company>Devantix</Company>
<Copyright>Copyright (c) 2026 Devantix</Copyright>
<Product>FocusRGB SignalRGB Plugin</Product>
</PropertyGroup>
</Project>
9 changes: 9 additions & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="FocusRgb.PluginSdk" Version="1.2.0" />
<PackageVersion Include="xunit.v3" Version="4.0.2" />
</ItemGroup>
</Project>
19 changes: 19 additions & 0 deletions FocusRGB-Plugin-SignalRGB.slnx
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<Solution>
<Folder Name="/Solution Items/">
<File Path=".editorconfig" />
<File Path=".gitattributes" />
<File Path=".gitignore" />
<File Path="Directory.Build.props" />
<File Path="Directory.Packages.props" />
<File Path="global.json" />
<File Path="LICENSE" />
<File Path="NuGet.Config" />
<File Path="README.md" />
</Folder>
<Folder Name="/src/">
<Project Path="src/FocusRgb.Plugin.SignalRgb/FocusRgb.Plugin.SignalRgb.csproj" />
</Folder>
<Folder Name="/tests/">
<Project Path="tests/FocusRgb.Plugin.SignalRgb.Tests/FocusRgb.Plugin.SignalRgb.Tests.csproj" />
</Folder>
</Solution>
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2026 Amin Javan
Copyright (c) 2026 Devantix

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
15 changes: 15 additions & 0 deletions NuGet.Config
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
</packageSources>
<packageSourceMapping>
<packageSource key="nuget.org">
<package pattern="FocusRgb.*" />
<package pattern="xunit.*" />
<package pattern="Microsoft.*" />
<package pattern="System.*" />
</packageSource>
</packageSourceMapping>
</configuration>
Loading
Loading