From 74348a39caf2985d475d30408b353cac07b260b7 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 8 Mar 2025 13:53:54 +0800 Subject: *: Add missing license headers --- .editorconfig | 3 +++ fedauth.go | 3 +++ scripts/lint | 3 +++ scripts/update_deps | 3 +++ sql/purge.sql | 3 +++ sql/test.sql | 3 +++ 6 files changed, 18 insertions(+) diff --git a/.editorconfig b/.editorconfig index 9ae36a9..bd3997b 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,3 +1,6 @@ +# SPDX-License-Identifier: AGPL-3.0-only +# SPDX-FileContributor: Runxi Yu + root = true [*] diff --git a/fedauth.go b/fedauth.go index 8b1b764..e1fcfff 100644 --- a/fedauth.go +++ b/fedauth.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu + package main import ( diff --git a/scripts/lint b/scripts/lint index 7850f0e..14e5002 100755 --- a/scripts/lint +++ b/scripts/lint @@ -1,3 +1,6 @@ #!/bin/sh +# SPDX-License-Identifier: AGPL-3.0-only +# SPDX-FileContributor: Runxi Yu + golangci-lint run . --enable-all --disable wsl,wrapcheck,nlreturn,nonamedreturns,mnd,lll,intrange,godox,gochecknoglobals,gochecknoinits,forcetypeassert,gofmt,gofumpt,revive,stylecheck,exhaustruct,godot,unparam,err113,depguard diff --git a/scripts/update_deps b/scripts/update_deps index 723e858..448dff3 100755 --- a/scripts/update_deps +++ b/scripts/update_deps @@ -1,5 +1,8 @@ #!/bin/sh +# SPDX-License-Identifier: AGPL-3.0-only +# SPDX-FileContributor: Runxi Yu + set -eux go get -t -u diff --git a/sql/purge.sql b/sql/purge.sql index 03eecc3..1bada45 100644 --- a/sql/purge.sql +++ b/sql/purge.sql @@ -1,2 +1,5 @@ +-- SPDX-License-Identifier: AGPL-3.0-only +-- SPDX-FileContributor: Runxi Yu + DROP SCHEMA public CASCADE; CREATE SCHEMA public; diff --git a/sql/test.sql b/sql/test.sql index b270b76..2ad621c 100644 --- a/sql/test.sql +++ b/sql/test.sql @@ -1,3 +1,6 @@ +-- SPDX-License-Identifier: AGPL-3.0-only +-- SPDX-FileContributor: Runxi Yu + WITH parent_group AS ( INSERT INTO groups (name, description) VALUES ('lindenii', 'The Lindenii Project') -- cgit v1.2.3