aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-31 14:11:45 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-31 14:11:45 +0800
commitee6dbedae7a8bcd947b3e4d4e2f1f0347146c435 (patch)
tree71421fdb0a662e6125d2e003ad01412830256dd8
parentUnify spelling of Author date (diff)
downloadforge-ee6dbedae7a8bcd947b3e4d4e2f1f0347146c435.tar.gz
forge-ee6dbedae7a8bcd947b3e4d4e2f1f0347146c435.tar.zst
forge-ee6dbedae7a8bcd947b3e4d4e2f1f0347146c435.zip
Replace FileContributor with FileCopyrightText
-rw-r--r--.editorconfig2
-rw-r--r--Makefile2
-rw-r--r--acl.go2
-rw-r--r--cache_commit_path_file_html.go2
-rw-r--r--cache_commit_path_file_raw.go2
-rw-r--r--cache_commit_tree_readme.go2
-rw-r--r--cache_index_commits_display.go2
-rw-r--r--config.go2
-rw-r--r--database.go2
-rw-r--r--fedauth.go2
-rw-r--r--git_format_patch.go2
-rw-r--r--git_hooks_deploy.go2
-rw-r--r--git_hooks_handle_linux.go2
-rw-r--r--git_hooks_handle_other.go2
-rw-r--r--git_init.go2
-rw-r--r--git_misc.go2
-rw-r--r--git_ref.go2
-rw-r--r--hookc/hookc.c4
-rw-r--r--http_auth.go2
-rw-r--r--http_error_page.go2
-rw-r--r--http_global.go2
-rw-r--r--http_handle_branches.go2
-rw-r--r--http_handle_gc.go2
-rw-r--r--http_handle_group_index.go2
-rw-r--r--http_handle_index.go2
-rw-r--r--http_handle_login.go2
-rw-r--r--http_handle_repo_commit.go2
-rw-r--r--http_handle_repo_contrib_index.go2
-rw-r--r--http_handle_repo_contrib_one.go2
-rw-r--r--http_handle_repo_index.go2
-rw-r--r--http_handle_repo_info.go2
-rw-r--r--http_handle_repo_log.go2
-rw-r--r--http_handle_repo_raw.go2
-rw-r--r--http_handle_repo_tree.go2
-rw-r--r--http_handle_repo_upload_pack.go2
-rw-r--r--http_handle_users.go2
-rw-r--r--http_server.go2
-rw-r--r--http_template.go2
-rw-r--r--http_template_funcs.go2
-rw-r--r--main.go2
-rw-r--r--man/forge.52
-rw-r--r--man/hookc.12
-rw-r--r--readme_to_html.go2
-rw-r--r--remote_url.go2
-rw-r--r--resources.go2
-rwxr-xr-xscripts/update_deps2
-rw-r--r--sql/purge.sql2
-rw-r--r--sql/schema.sql2
-rw-r--r--sql/test.sql2
-rw-r--r--ssh_handle_receive_pack.go2
-rw-r--r--ssh_handle_upload_pack.go2
-rw-r--r--ssh_server.go2
-rw-r--r--ssh_utils.go2
-rw-r--r--static/chroma.css2
-rw-r--r--static/style.css6
-rw-r--r--templates/400.tmpl2
-rw-r--r--templates/403.tmpl2
-rw-r--r--templates/404.tmpl2
-rw-r--r--templates/451.tmpl2
-rw-r--r--templates/500.tmpl2
-rw-r--r--templates/501.tmpl2
-rw-r--r--templates/_footer.tmpl2
-rw-r--r--templates/_group_path.tmpl2
-rw-r--r--templates/_group_view.tmpl2
-rw-r--r--templates/_head.tmpl2
-rw-r--r--templates/_header.tmpl2
-rw-r--r--templates/group.tmpl2
-rw-r--r--templates/index.tmpl2
-rw-r--r--templates/login.tmpl2
-rw-r--r--templates/repo_branches.tmpl2
-rw-r--r--templates/repo_commit.tmpl2
-rw-r--r--templates/repo_contrib_index.tmpl2
-rw-r--r--templates/repo_contrib_one.tmpl2
-rw-r--r--templates/repo_index.tmpl2
-rw-r--r--templates/repo_log.tmpl2
-rw-r--r--templates/repo_raw_dir.tmpl2
-rw-r--r--templates/repo_tree_dir.tmpl2
-rw-r--r--templates/repo_tree_file.tmpl2
-rw-r--r--url.go2
-rw-r--r--users.go2
-rw-r--r--utils.go2
81 files changed, 84 insertions, 84 deletions
diff --git a/.editorconfig b/.editorconfig
index bd3997b..5e44971 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
-# SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+# SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
root = true
diff --git a/Makefile b/Makefile
index 4344a99..a5e7717 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
# SPDX-License-Identifier: AGPL-3.0-only
-# SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+# SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
.PHONY: clean version.go man source.tar.gz
diff --git a/acl.go b/acl.go
index bbb03e9..0595d55 100644
--- a/acl.go
+++ b/acl.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/cache_commit_path_file_html.go b/cache_commit_path_file_html.go
index ec5f67a..944a6e7 100644
--- a/cache_commit_path_file_html.go
+++ b/cache_commit_path_file_html.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/cache_commit_path_file_raw.go b/cache_commit_path_file_raw.go
index 4a4de62..bd7cc7e 100644
--- a/cache_commit_path_file_raw.go
+++ b/cache_commit_path_file_raw.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/cache_commit_tree_readme.go b/cache_commit_tree_readme.go
index dcd5f9c..de58d71 100644
--- a/cache_commit_tree_readme.go
+++ b/cache_commit_tree_readme.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/cache_index_commits_display.go b/cache_index_commits_display.go
index 5d80943..786c3d3 100644
--- a/cache_index_commits_display.go
+++ b/cache_index_commits_display.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/config.go b/config.go
index b09bbfd..8bf05d9 100644
--- a/config.go
+++ b/config.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/database.go b/database.go
index 2406d01..5205214 100644
--- a/database.go
+++ b/database.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/fedauth.go b/fedauth.go
index 0528fa3..ef1b5ec 100644
--- a/fedauth.go
+++ b/fedauth.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/git_format_patch.go b/git_format_patch.go
index 56474d2..5b5e04e 100644
--- a/git_format_patch.go
+++ b/git_format_patch.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/git_hooks_deploy.go b/git_hooks_deploy.go
index 5952c83..eeb043e 100644
--- a/git_hooks_deploy.go
+++ b/git_hooks_deploy.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/git_hooks_handle_linux.go b/git_hooks_handle_linux.go
index 36034f2..686d560 100644
--- a/git_hooks_handle_linux.go
+++ b/git_hooks_handle_linux.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
//
//go:build linux
diff --git a/git_hooks_handle_other.go b/git_hooks_handle_other.go
index 02236c7..0d197a3 100644
--- a/git_hooks_handle_other.go
+++ b/git_hooks_handle_other.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
//
//go:build !linux
diff --git a/git_init.go b/git_init.go
index 045ddd2..3ea4f58 100644
--- a/git_init.go
+++ b/git_init.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/git_misc.go b/git_misc.go
index 273c28b..7a5e7e2 100644
--- a/git_misc.go
+++ b/git_misc.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/git_ref.go b/git_ref.go
index f073d37..921359e 100644
--- a/git_ref.go
+++ b/git_ref.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/hookc/hookc.c b/hookc/hookc.c
index 83b3a5e..56cb96e 100644
--- a/hookc/hookc.c
+++ b/hookc/hookc.c
@@ -1,7 +1,7 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
- * SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
- * SPDX-FileContributor: Test_User <hax@runxiyu.org>
+ * SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+ * SPDX-FileCopyrightText: Copyright (c) 2025 Test_User <hax@runxiyu.org>
*/
#include <errno.h>
diff --git a/http_auth.go b/http_auth.go
index 9fb5a2e..8208daf 100644
--- a/http_auth.go
+++ b/http_auth.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/http_error_page.go b/http_error_page.go
index 355b504..85ad859 100644
--- a/http_error_page.go
+++ b/http_error_page.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/http_global.go b/http_global.go
index f793c24..02892c9 100644
--- a/http_global.go
+++ b/http_global.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/http_handle_branches.go b/http_handle_branches.go
index c7f9d39..fa3bbab 100644
--- a/http_handle_branches.go
+++ b/http_handle_branches.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/http_handle_gc.go b/http_handle_gc.go
index 73bd2a6..3322c77 100644
--- a/http_handle_gc.go
+++ b/http_handle_gc.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/http_handle_group_index.go b/http_handle_group_index.go
index eef6682..5008246 100644
--- a/http_handle_group_index.go
+++ b/http_handle_group_index.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/http_handle_index.go b/http_handle_index.go
index a9a4b88..9840e83 100644
--- a/http_handle_index.go
+++ b/http_handle_index.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/http_handle_login.go b/http_handle_login.go
index 424c42f..8a18133 100644
--- a/http_handle_login.go
+++ b/http_handle_login.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/http_handle_repo_commit.go b/http_handle_repo_commit.go
index c15ae7d..7b967fa 100644
--- a/http_handle_repo_commit.go
+++ b/http_handle_repo_commit.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/http_handle_repo_contrib_index.go b/http_handle_repo_contrib_index.go
index caffbe9..4f54836 100644
--- a/http_handle_repo_contrib_index.go
+++ b/http_handle_repo_contrib_index.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/http_handle_repo_contrib_one.go b/http_handle_repo_contrib_one.go
index 642323b..485362d 100644
--- a/http_handle_repo_contrib_one.go
+++ b/http_handle_repo_contrib_one.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/http_handle_repo_index.go b/http_handle_repo_index.go
index 21493c0..2b84f89 100644
--- a/http_handle_repo_index.go
+++ b/http_handle_repo_index.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/http_handle_repo_info.go b/http_handle_repo_info.go
index 9857b77..c4562e5 100644
--- a/http_handle_repo_info.go
+++ b/http_handle_repo_info.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/http_handle_repo_log.go b/http_handle_repo_log.go
index 9980f04..50e4eb1 100644
--- a/http_handle_repo_log.go
+++ b/http_handle_repo_log.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/http_handle_repo_raw.go b/http_handle_repo_raw.go
index 1b4181b..858f912 100644
--- a/http_handle_repo_raw.go
+++ b/http_handle_repo_raw.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/http_handle_repo_tree.go b/http_handle_repo_tree.go
index 3c6e8df..714ecdd 100644
--- a/http_handle_repo_tree.go
+++ b/http_handle_repo_tree.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/http_handle_repo_upload_pack.go b/http_handle_repo_upload_pack.go
index a5a0036..6cea528 100644
--- a/http_handle_repo_upload_pack.go
+++ b/http_handle_repo_upload_pack.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/http_handle_users.go b/http_handle_users.go
index ba6755d..f68f3c2 100644
--- a/http_handle_users.go
+++ b/http_handle_users.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/http_server.go b/http_server.go
index a877b16..2b1f77a 100644
--- a/http_server.go
+++ b/http_server.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/http_template.go b/http_template.go
index 82a1497..c1f5fc4 100644
--- a/http_template.go
+++ b/http_template.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/http_template_funcs.go b/http_template_funcs.go
index b94e528..f466f07 100644
--- a/http_template_funcs.go
+++ b/http_template_funcs.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/main.go b/main.go
index 444e5b0..90a0bac 100644
--- a/main.go
+++ b/main.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/man/forge.5 b/man/forge.5
index a6d1b7c..c8eed43 100644
--- a/man/forge.5
+++ b/man/forge.5
@@ -1,5 +1,5 @@
.\" SPDX-License-Identifier: AGPL-3.0-only
-.\" SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+.\" SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
.Dd March 30, 2025
.Dt FORGE 5
.Os Lindenii Forge
diff --git a/man/hookc.1 b/man/hookc.1
index 7be5380..c46c882 100644
--- a/man/hookc.1
+++ b/man/hookc.1
@@ -1,5 +1,5 @@
.\" SPDX-License-Identifier: AGPL-3.0-only
-.\" SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+.\" SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
.Dd March 30, 2025
.Dt HOOKC 1
.Os Lindenii Forge
diff --git a/readme_to_html.go b/readme_to_html.go
index 9131207..22f23a1 100644
--- a/readme_to_html.go
+++ b/readme_to_html.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/remote_url.go b/remote_url.go
index f5ebfcd..9ddc548 100644
--- a/remote_url.go
+++ b/remote_url.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/resources.go b/resources.go
index b0db7ee..015f33f 100644
--- a/resources.go
+++ b/resources.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/scripts/update_deps b/scripts/update_deps
index 6a64026..e39ae69 100755
--- a/scripts/update_deps
+++ b/scripts/update_deps
@@ -1,7 +1,7 @@
#!/bin/sh
# SPDX-License-Identifier: AGPL-3.0-only
-# SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+# SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
set -eux
diff --git a/sql/purge.sql b/sql/purge.sql
index 1bada45..6699817 100644
--- a/sql/purge.sql
+++ b/sql/purge.sql
@@ -1,5 +1,5 @@
-- SPDX-License-Identifier: AGPL-3.0-only
--- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+-- SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
DROP SCHEMA public CASCADE;
CREATE SCHEMA public;
diff --git a/sql/schema.sql b/sql/schema.sql
index 1a038ae..72a4c6f 100644
--- a/sql/schema.sql
+++ b/sql/schema.sql
@@ -1,5 +1,5 @@
-- SPDX-License-Identifier: AGPL-3.0-only
--- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+-- SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
CREATE TABLE groups (
id INTEGER GENERATED ALWAYS AS IDENTITY PRIMARY KEY,
diff --git a/sql/test.sql b/sql/test.sql
index 2ad621c..a016df9 100644
--- a/sql/test.sql
+++ b/sql/test.sql
@@ -1,5 +1,5 @@
-- SPDX-License-Identifier: AGPL-3.0-only
--- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+-- SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
WITH parent_group AS (
INSERT INTO groups (name, description)
diff --git a/ssh_handle_receive_pack.go b/ssh_handle_receive_pack.go
index e42bca4..0b3c19a 100644
--- a/ssh_handle_receive_pack.go
+++ b/ssh_handle_receive_pack.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/ssh_handle_upload_pack.go b/ssh_handle_upload_pack.go
index f0edee2..d732a72 100644
--- a/ssh_handle_upload_pack.go
+++ b/ssh_handle_upload_pack.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/ssh_server.go b/ssh_server.go
index 8fc3918..8afbd2a 100644
--- a/ssh_server.go
+++ b/ssh_server.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/ssh_utils.go b/ssh_utils.go
index 562234e..ef6b33b 100644
--- a/ssh_utils.go
+++ b/ssh_utils.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/static/chroma.css b/static/chroma.css
index 8037dcb..1f7219a 100644
--- a/static/chroma.css
+++ b/static/chroma.css
@@ -1,6 +1,6 @@
/*
* SPDX-License-Identifier: MIT AND BSD-2-Clause
- * SPDX-FileContributor: Pygments and Chroma authors
+ * SPDX-FileCopyrightText: Copyright (c) 2018-2025 Pygments and Chroma authors
*/
@media (prefers-color-scheme: light) {
diff --git a/static/style.css b/static/style.css
index a33314f..626ebd5 100644
--- a/static/style.css
+++ b/static/style.css
@@ -1,8 +1,8 @@
/*
* SPDX-License-Identifier: AGPL-3.0-only
- * SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
- * SPDX-FileContributor: luk3yx <https://luk3yx.github.io>
- * SPDX-FileContributor: Drew DeVault <https://drewdevault.com>
+ * SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
+ * SPDX-FileCopyrightText: Copyright (c) 2025 luk3yx <https://luk3yx.github.io>
+ * SPDX-FileCopyrightText: Copyright (c) 2017-2025 Drew DeVault <https://drewdevault.com>
*
* Drew did not directly contribute here but we took significant portions of
* SourceHut's CSS.
diff --git a/templates/400.tmpl b/templates/400.tmpl
index d141ed5..58ce768 100644
--- a/templates/400.tmpl
+++ b/templates/400.tmpl
@@ -1,6 +1,6 @@
{{/*
SPDX-License-Identifier: AGPL-3.0-only
- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+ SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "400" -}}
<!DOCTYPE html>
diff --git a/templates/403.tmpl b/templates/403.tmpl
index 62a2654..86d5518 100644
--- a/templates/403.tmpl
+++ b/templates/403.tmpl
@@ -1,6 +1,6 @@
{{/*
SPDX-License-Identifier: AGPL-3.0-only
- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+ SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "403" -}}
<!DOCTYPE html>
diff --git a/templates/404.tmpl b/templates/404.tmpl
index c994e1a..2eabb06 100644
--- a/templates/404.tmpl
+++ b/templates/404.tmpl
@@ -1,6 +1,6 @@
{{/*
SPDX-License-Identifier: AGPL-3.0-only
- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+ SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "404" -}}
<!DOCTYPE html>
diff --git a/templates/451.tmpl b/templates/451.tmpl
index 114fde6..ed6343c 100644
--- a/templates/451.tmpl
+++ b/templates/451.tmpl
@@ -1,6 +1,6 @@
{{/*
SPDX-License-Identifier: AGPL-3.0-only
- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+ SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "451" -}}
<!DOCTYPE html>
diff --git a/templates/500.tmpl b/templates/500.tmpl
index 2fe66b8..3a540e6 100644
--- a/templates/500.tmpl
+++ b/templates/500.tmpl
@@ -1,6 +1,6 @@
{{/*
SPDX-License-Identifier: AGPL-3.0-only
- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+ SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "500" -}}
<!DOCTYPE html>
diff --git a/templates/501.tmpl b/templates/501.tmpl
index b49bc36..b6ab2f0 100644
--- a/templates/501.tmpl
+++ b/templates/501.tmpl
@@ -1,6 +1,6 @@
{{/*
SPDX-License-Identifier: AGPL-3.0-only
- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+ SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "501" -}}
<!DOCTYPE html>
diff --git a/templates/_footer.tmpl b/templates/_footer.tmpl
index 43611f5..b0d02bd 100644
--- a/templates/_footer.tmpl
+++ b/templates/_footer.tmpl
@@ -1,6 +1,6 @@
{{/*
SPDX-License-Identifier: AGPL-3.0-only
- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+ SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "footer" -}}
<a href="https://lindenii.runxiyu.org/forge/">Lindenii Forge</a>
diff --git a/templates/_group_path.tmpl b/templates/_group_path.tmpl
index 8904563..f5d3bf8 100644
--- a/templates/_group_path.tmpl
+++ b/templates/_group_path.tmpl
@@ -1,6 +1,6 @@
{{/*
SPDX-License-Identifier: AGPL-3.0-only
- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+ SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "group_path_plain" -}}
{{- $p := . -}}
diff --git a/templates/_group_view.tmpl b/templates/_group_view.tmpl
index dbfbe07..d72b55b 100644
--- a/templates/_group_view.tmpl
+++ b/templates/_group_view.tmpl
@@ -1,6 +1,6 @@
{{/*
SPDX-License-Identifier: AGPL-3.0-only
- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+ SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "group_view" -}}
{{- if .subgroups -}}
diff --git a/templates/_head.tmpl b/templates/_head.tmpl
index 922be7a..96575fa 100644
--- a/templates/_head.tmpl
+++ b/templates/_head.tmpl
@@ -1,6 +1,6 @@
{{/*
SPDX-License-Identifier: AGPL-3.0-only
- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+ SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "head_common" -}}
<meta charset="utf-8" />
diff --git a/templates/_header.tmpl b/templates/_header.tmpl
index 30162e5..f1222af 100644
--- a/templates/_header.tmpl
+++ b/templates/_header.tmpl
@@ -1,6 +1,6 @@
{{/*
SPDX-License-Identifier: AGPL-3.0-only
- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+ SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "header" -}}
<header id="main-header">
diff --git a/templates/group.tmpl b/templates/group.tmpl
index 7a9574a..b15c316 100644
--- a/templates/group.tmpl
+++ b/templates/group.tmpl
@@ -1,6 +1,6 @@
{{/*
SPDX-License-Identifier: AGPL-3.0-only
- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+ SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "group" -}}
{{- $group_path := .group_path -}}
diff --git a/templates/index.tmpl b/templates/index.tmpl
index 8f901f6..28eab37 100644
--- a/templates/index.tmpl
+++ b/templates/index.tmpl
@@ -1,6 +1,6 @@
{{/*
SPDX-License-Identifier: AGPL-3.0-only
- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+ SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "index" -}}
<!DOCTYPE html>
diff --git a/templates/login.tmpl b/templates/login.tmpl
index 47c4fc4..1e26c82 100644
--- a/templates/login.tmpl
+++ b/templates/login.tmpl
@@ -1,6 +1,6 @@
{{/*
SPDX-License-Identifier: AGPL-3.0-only
- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+ SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "login" -}}
<!DOCTYPE html>
diff --git a/templates/repo_branches.tmpl b/templates/repo_branches.tmpl
index b06da10..d561e0c 100644
--- a/templates/repo_branches.tmpl
+++ b/templates/repo_branches.tmpl
@@ -1,6 +1,6 @@
{{/*
SPDX-License-Identifier: AGPL-3.0-only
- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+ SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "repo_branches" -}}
{{- $root := . -}}
diff --git a/templates/repo_commit.tmpl b/templates/repo_commit.tmpl
index be71211..470bba9 100644
--- a/templates/repo_commit.tmpl
+++ b/templates/repo_commit.tmpl
@@ -1,6 +1,6 @@
{{/*
SPDX-License-Identifier: AGPL-3.0-only
- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+ SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "repo_commit" -}}
{{- $root := . -}}
diff --git a/templates/repo_contrib_index.tmpl b/templates/repo_contrib_index.tmpl
index 671e0d3..ddd86cf 100644
--- a/templates/repo_contrib_index.tmpl
+++ b/templates/repo_contrib_index.tmpl
@@ -1,6 +1,6 @@
{{/*
SPDX-License-Identifier: AGPL-3.0-only
- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+ SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "repo_contrib_index" -}}
{{- $root := . -}}
diff --git a/templates/repo_contrib_one.tmpl b/templates/repo_contrib_one.tmpl
index 8e10e9b..a5f35d3 100644
--- a/templates/repo_contrib_one.tmpl
+++ b/templates/repo_contrib_one.tmpl
@@ -1,6 +1,6 @@
{{/*
SPDX-License-Identifier: AGPL-3.0-only
- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+ SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "repo_contrib_one" -}}
{{- $root := . -}}
diff --git a/templates/repo_index.tmpl b/templates/repo_index.tmpl
index 4726445..59efd15 100644
--- a/templates/repo_index.tmpl
+++ b/templates/repo_index.tmpl
@@ -1,6 +1,6 @@
{{/*
SPDX-License-Identifier: AGPL-3.0-only
- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+ SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "repo_index" -}}
{{- $root := . -}}
diff --git a/templates/repo_log.tmpl b/templates/repo_log.tmpl
index 41a091c..b334439 100644
--- a/templates/repo_log.tmpl
+++ b/templates/repo_log.tmpl
@@ -1,6 +1,6 @@
{{/*
SPDX-License-Identifier: AGPL-3.0-only
- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+ SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "repo_log" -}}
{{- $root := . -}}
diff --git a/templates/repo_raw_dir.tmpl b/templates/repo_raw_dir.tmpl
index 927101b..c0df8fd 100644
--- a/templates/repo_raw_dir.tmpl
+++ b/templates/repo_raw_dir.tmpl
@@ -1,6 +1,6 @@
{{/*
SPDX-License-Identifier: AGPL-3.0-only
- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+ SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "repo_raw_dir" -}}
{{- $root := . -}}
diff --git a/templates/repo_tree_dir.tmpl b/templates/repo_tree_dir.tmpl
index bc7279a..3f43064 100644
--- a/templates/repo_tree_dir.tmpl
+++ b/templates/repo_tree_dir.tmpl
@@ -1,6 +1,6 @@
{{/*
SPDX-License-Identifier: AGPL-3.0-only
- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+ SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "repo_tree_dir" -}}
{{- $root := . -}}
diff --git a/templates/repo_tree_file.tmpl b/templates/repo_tree_file.tmpl
index 56159aa..0d8c69e 100644
--- a/templates/repo_tree_file.tmpl
+++ b/templates/repo_tree_file.tmpl
@@ -1,6 +1,6 @@
{{/*
SPDX-License-Identifier: AGPL-3.0-only
- SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+ SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "repo_tree_file" -}}
{{- $root := . -}}
diff --git a/url.go b/url.go
index a981a92..f415c2d 100644
--- a/url.go
+++ b/url.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/users.go b/users.go
index 47375be..5f5a4b2 100644
--- a/users.go
+++ b/users.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main
diff --git a/utils.go b/utils.go
index 965a839..bac8232 100644
--- a/utils.go
+++ b/utils.go
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
-// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
package main