aboutsummaryrefslogtreecommitdiffstats
path: root/docs/superpowers/plans/2026-09-15-notifyd.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-09-15 13:46:36 +0200
committerDanilo M. <danix@danix.xyz>2026-09-15 13:46:36 +0200
commit473c9633073ca74d9266f7050bbe424bebd1280f (patch)
treefafee0beb31523474439eff1b5fc22abdc6ab473 /docs/superpowers/plans/2026-09-15-notifyd.md
parent2dedc1c7e5808257a2cb508641bc427f229a53a2 (diff)
downloadquickshell-473c9633073ca74d9266f7050bbe424bebd1280f.tar.gz
quickshell-473c9633073ca74d9266f7050bbe424bebd1280f.zip
docs: give the plan's test files the GPLv2 header
The test snippets omitted the header the global constraints require on every .go file, which a task review flagged against the first one shipped. The snippets now carry it, so later tasks do not repeat the gap.
Diffstat (limited to 'docs/superpowers/plans/2026-09-15-notifyd.md')
-rw-r--r--docs/superpowers/plans/2026-09-15-notifyd.md44
1 files changed, 44 insertions, 0 deletions
diff --git a/docs/superpowers/plans/2026-09-15-notifyd.md b/docs/superpowers/plans/2026-09-15-notifyd.md
index 3b3e491..fdc3967 100644
--- a/docs/superpowers/plans/2026-09-15-notifyd.md
+++ b/docs/superpowers/plans/2026-09-15-notifyd.md
@@ -92,6 +92,17 @@ Expected: `GNU GENERAL PUBLIC LICENSE` and `Version 2, June 1991`.
Create `internal/notify/policy_test.go`:
```go
+// Copyright (C) 2026 Danilo M. <danix@danix.xyz>
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License version 2 as
+// published by the Free Software Foundation.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
package notify
import (
@@ -350,6 +361,17 @@ spellings, and the action pair parse."
Create `internal/notify/store_test.go`:
```go
+// Copyright (C) 2026 Danilo M. <danix@danix.xyz>
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License version 2 as
+// published by the Free Software Foundation.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
package notify
import "testing"
@@ -739,6 +761,17 @@ in history. Replacing reuses the id and emits nothing."
Create `internal/notify/files_test.go`:
```go
+// Copyright (C) 2026 Danilo M. <danix@danix.xyz>
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License version 2 as
+// published by the Free Software Foundation.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
package notify
import (
@@ -901,6 +934,17 @@ null, because the renderer parses it as an array."
Create `internal/notify/service_test.go`:
```go
+// Copyright (C) 2026 Danilo M. <danix@danix.xyz>
+//
+// This program is free software; you can redistribute it and/or modify
+// it under the terms of the GNU General Public License version 2 as
+// published by the Free Software Foundation.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
package notify
import (