From ee6dbedae7a8bcd947b3e4d4e2f1f0347146c435 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 31 Mar 2025 14:11:45 +0800 Subject: [PATCH] Replace FileContributor with FileCopyrightText --- .editorconfig | 2 +- Makefile | 2 +- acl.go | 2 +- cache_commit_path_file_html.go | 2 +- cache_commit_path_file_raw.go | 2 +- cache_commit_tree_readme.go | 2 +- cache_index_commits_display.go | 2 +- config.go | 2 +- database.go | 2 +- fedauth.go | 2 +- git_format_patch.go | 2 +- git_hooks_deploy.go | 2 +- git_hooks_handle_linux.go | 2 +- git_hooks_handle_other.go | 2 +- git_init.go | 2 +- git_misc.go | 2 +- git_ref.go | 2 +- hookc/hookc.c | 4 ++-- http_auth.go | 2 +- http_error_page.go | 2 +- http_global.go | 2 +- http_handle_branches.go | 2 +- http_handle_gc.go | 2 +- http_handle_group_index.go | 2 +- http_handle_index.go | 2 +- http_handle_login.go | 2 +- http_handle_repo_commit.go | 2 +- http_handle_repo_contrib_index.go | 2 +- http_handle_repo_contrib_one.go | 2 +- http_handle_repo_index.go | 2 +- http_handle_repo_info.go | 2 +- http_handle_repo_log.go | 2 +- http_handle_repo_raw.go | 2 +- http_handle_repo_tree.go | 2 +- http_handle_repo_upload_pack.go | 2 +- http_handle_users.go | 2 +- http_server.go | 2 +- http_template.go | 2 +- http_template_funcs.go | 2 +- main.go | 2 +- man/forge.5 | 2 +- man/hookc.1 | 2 +- readme_to_html.go | 2 +- remote_url.go | 2 +- resources.go | 2 +- scripts/update_deps | 2 +- sql/purge.sql | 2 +- sql/schema.sql | 2 +- sql/test.sql | 2 +- ssh_handle_receive_pack.go | 2 +- ssh_handle_upload_pack.go | 2 +- ssh_server.go | 2 +- ssh_utils.go | 2 +- static/chroma.css | 2 +- static/style.css | 6 +++--- templates/400.tmpl | 2 +- templates/403.tmpl | 2 +- templates/404.tmpl | 2 +- templates/451.tmpl | 2 +- templates/500.tmpl | 2 +- templates/501.tmpl | 2 +- templates/_footer.tmpl | 2 +- templates/_group_path.tmpl | 2 +- templates/_group_view.tmpl | 2 +- templates/_head.tmpl | 2 +- templates/_header.tmpl | 2 +- templates/group.tmpl | 2 +- templates/index.tmpl | 2 +- templates/login.tmpl | 2 +- templates/repo_branches.tmpl | 2 +- templates/repo_commit.tmpl | 2 +- templates/repo_contrib_index.tmpl | 2 +- templates/repo_contrib_one.tmpl | 2 +- templates/repo_index.tmpl | 2 +- templates/repo_log.tmpl | 2 +- templates/repo_raw_dir.tmpl | 2 +- templates/repo_tree_dir.tmpl | 2 +- templates/repo_tree_file.tmpl | 2 +- url.go | 2 +- users.go | 2 +- utils.go | 2 +- diff --git a/.editorconfig b/.editorconfig index bd3997bc364675da873a862f25b1fa7dd6995aed..5e44971642ba07868019ec81f40a201293ad2a95 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,5 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-only -# SPDX-FileContributor: Runxi Yu +# SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu root = true diff --git a/Makefile b/Makefile index 4344a99556c24c95769b44f4c07f1c8109213a0b..a5e77177a0a4f6abbcc138c1e36a41ba365fe9d5 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-only -# SPDX-FileContributor: Runxi Yu +# SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu .PHONY: clean version.go man source.tar.gz diff --git a/acl.go b/acl.go index bbb03e978dd77c3e3557cc0c900199f84cf26b43..0595d55c9fa4b434ff31c897b6a2a73036b84300 100644 --- a/acl.go +++ b/acl.go @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-only -// SPDX-FileContributor: Runxi Yu +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/cache_commit_path_file_html.go b/cache_commit_path_file_html.go index ec5f67a6c5a825528ef496e872c092734788ead0..944a6e77b51da2c59b20b7e55d1d29435b39b30e 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/cache_commit_path_file_raw.go b/cache_commit_path_file_raw.go index 4a4de6206322d4148d442f019b258258b2a8dc0a..bd7cc7e05eff28ab6090f54125ce64a1a5324bae 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/cache_commit_tree_readme.go b/cache_commit_tree_readme.go index dcd5f9c59098944115b27e0b421e82074ac6bc3e..de58d71a9a3356683486326a389e9f887a5a77ad 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/cache_index_commits_display.go b/cache_index_commits_display.go index 5d809437c95d9c17ab16b29f8635d1c86093c6e2..786c3d3581b4275b370d48b5b63b20c83efb1aeb 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/config.go b/config.go index b09bbfd5eaad7e9304cf785f421b779574485495..8bf05d92f7c4c06d744f8fd69dbf29d2c65d6857 100644 --- a/config.go +++ b/config.go @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-only -// SPDX-FileContributor: Runxi Yu +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/database.go b/database.go index 2406d01adab62361da7e810d8a56a29d5a5f4fc8..5205214f30040768a6679014cf5d96e90af16e35 100644 --- a/database.go +++ b/database.go @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-only -// SPDX-FileContributor: Runxi Yu +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/fedauth.go b/fedauth.go index 0528fa3b86bf5f0173fbe8ddc59590fbc0859b0c..ef1b5ecc999cb55d6ffe4b58a241b832bde77507 100644 --- a/fedauth.go +++ b/fedauth.go @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-only -// SPDX-FileContributor: Runxi Yu +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/git_format_patch.go b/git_format_patch.go index 56474d216245085c72883bcc280f9fae5e2761f7..5b5e04e89b1bf22f1b89ffadde6afa13a1cb7920 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/git_hooks_deploy.go b/git_hooks_deploy.go index 5952c83aef2e22de739f5c1e9f19ca683d4a1dff..eeb043e0dc6d885eb96f107f64177b3d4137fcd1 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/git_hooks_handle_linux.go b/git_hooks_handle_linux.go index 36034f28afc3822d790207057b115a89bb4e52fa..686d560cbf00abdec813dbed15238b3f9d5170d2 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu // //go:build linux diff --git a/git_hooks_handle_other.go b/git_hooks_handle_other.go index 02236c750256608104b405dd8047d815b7476166..0d197a39386e1eb01852c2a59e9bff89e0868bcf 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu // //go:build !linux diff --git a/git_init.go b/git_init.go index 045ddd2335eb6716f6825d723c97ce245fcd7822..3ea4f5835d9a0a6ba2dfa671e2c24364c31a8545 100644 --- a/git_init.go +++ b/git_init.go @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-only -// SPDX-FileContributor: Runxi Yu +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/git_misc.go b/git_misc.go index 273c28b78f057f647f3e8197f7f3eb5ca4cde54a..7a5e7e25b60abaf825f9753d92d9f8e1f75b699f 100644 --- a/git_misc.go +++ b/git_misc.go @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-only -// SPDX-FileContributor: Runxi Yu +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/git_ref.go b/git_ref.go index f073d3794d28f43e8cfa3dae06793335aaffb470..921359ea1d4ffff6aab968b7c073f751891fc22b 100644 --- a/git_ref.go +++ b/git_ref.go @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-only -// SPDX-FileContributor: Runxi Yu +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/hookc/hookc.c b/hookc/hookc.c index 83b3a5e13ee1ada450d133d1828460ed510137b0..56cb96ebe00aa5b4f87e5c3927d1909cf4e22578 100644 --- a/hookc/hookc.c +++ b/hookc/hookc.c @@ -1,7 +1,7 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * SPDX-FileContributor: Runxi Yu - * SPDX-FileContributor: Test_User + * SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu + * SPDX-FileCopyrightText: Copyright (c) 2025 Test_User */ #include diff --git a/http_auth.go b/http_auth.go index 9fb5a2e503120a4894d803fabcfc2579cb03d410..8208daf9a102556316769d8681af088f11024234 100644 --- a/http_auth.go +++ b/http_auth.go @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-only -// SPDX-FileContributor: Runxi Yu +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/http_error_page.go b/http_error_page.go index 355b5047795d6f3591c640e5c68735a7c775e3fe..85ad85973fb67bf4d771bfec5ab873dc63be766d 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/http_global.go b/http_global.go index f793c24b305814b66c52d6383f7367358f8ce9cb..02892c95a2d8fd2b3a0b6a22b81ba9bcb010ea9b 100644 --- a/http_global.go +++ b/http_global.go @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-only -// SPDX-FileContributor: Runxi Yu +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/http_handle_branches.go b/http_handle_branches.go index c7f9d39b7c76a52cafafca63396138ab4408ac8a..fa3bbab30ce32dc63684bdd45e227a2e2b1900c8 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/http_handle_gc.go b/http_handle_gc.go index 73bd2a662e5f5825eab2c7480dec284189cb66c2..3322c77a899957f9cd6fd7fc0eeb85d39464a110 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/http_handle_group_index.go b/http_handle_group_index.go index eef66821eb98a7fb0abcfbd2fd454e51dd0e606e..500824660e67c0f16135da8ddd921f101bf97e8e 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/http_handle_index.go b/http_handle_index.go index a9a4b886debf12c1efd03d691c9e9fcbefa8e7cf..9840e83f263b2708035b7db15299a4c86dcd5022 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/http_handle_login.go b/http_handle_login.go index 424c42f4dc2826d5f2e5dd681b7d9b3155484b1c..8a181337d95d71871414a79bd386d7b2ad8ce86d 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/http_handle_repo_commit.go b/http_handle_repo_commit.go index c15ae7dc61e61ce35a351efb77e091fdcbbc6f96..7b967fa7f94bae539925368f3ee111faef284d61 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/http_handle_repo_contrib_index.go b/http_handle_repo_contrib_index.go index caffbe96e710dd921286b7cd891568befb504c01..4f54836692f0afb9e717f1f758b00ce7d6aec038 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/http_handle_repo_contrib_one.go b/http_handle_repo_contrib_one.go index 642323ba6e75a2d7295bafd4026f00eae5469558..485362d4f51868f1c94a78dbeace1d4861a104f3 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/http_handle_repo_index.go b/http_handle_repo_index.go index 21493c00630f281b37c1a1b4be121451aa3599d0..2b84f89433e0705ebfb831c3c9d03657075957ac 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/http_handle_repo_info.go b/http_handle_repo_info.go index 9857b773364b5325e99a395913ad2855ff10a4ea..c4562e5d8cf685c3ff3c9e8fef1c7cdf7c9997d5 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/http_handle_repo_log.go b/http_handle_repo_log.go index 9980f04dbc43fd4acb63551db07d31aa99278b89..50e4eb156109f3acdb96aa7f6e47e5f651e43c64 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/http_handle_repo_raw.go b/http_handle_repo_raw.go index 1b4181b3c5b5ba41b7d546d161c9d5aefff908d4..858f9121f0c0c641701284891f3c70f96aa50111 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/http_handle_repo_tree.go b/http_handle_repo_tree.go index 3c6e8df81810263cb3f631b15ab702d3fa89e486..714ecdd301c0998413c5b4660fc3591034301824 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/http_handle_repo_upload_pack.go b/http_handle_repo_upload_pack.go index a5a0036e0fc62e8e538b0efaf92d11a5c5384dca..6cea52810377a4127374bbaa5868fe6d2a995cd5 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/http_handle_users.go b/http_handle_users.go index ba6755d002f3e80341aac25147de5f022fb74770..f68f3c2ad883d0ad1a7f4676b101e287104ec30d 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/http_server.go b/http_server.go index a877b1695c3ca5a023501f71a4717f6585b78a54..2b1f77a57f353a80ee4c4cb6b2267f506dd5e9b1 100644 --- a/http_server.go +++ b/http_server.go @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-only -// SPDX-FileContributor: Runxi Yu +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/http_template.go b/http_template.go index 82a149778574f0480c8f4c64336eed0f72b31f4f..c1f5fc4aaa93e25cecab4748a525e1d7d24bd5c0 100644 --- a/http_template.go +++ b/http_template.go @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-only -// SPDX-FileContributor: Runxi Yu +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/http_template_funcs.go b/http_template_funcs.go index b94e5284388878747ad883b6fb42f424b9043d86..f466f07fa2681ad6fbe3130f45dddfd07ce3982a 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/main.go b/main.go index 444e5b0da1e36bff4cb67fbb9f55055b255d2033..90a0bac19a622cbd14bab818987ec1f57009c40f 100644 --- a/main.go +++ b/main.go @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-only -// SPDX-FileContributor: Runxi Yu +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/man/forge.5 b/man/forge.5 index a6d1b7c6d7813d2f482eb2a0af81541131a42f05..c8eed431b93890b936a15506fccd78a0fe5a67a9 100644 --- a/man/forge.5 +++ b/man/forge.5 @@ -1,5 +1,5 @@ .\" SPDX-License-Identifier: AGPL-3.0-only -.\" SPDX-FileContributor: Runxi Yu +.\" SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu .Dd March 30, 2025 .Dt FORGE 5 .Os Lindenii Forge diff --git a/man/hookc.1 b/man/hookc.1 index 7be5380c8ef1b0826d483e1d4b79daad8f51a07e..c46c8820c5ed6917215acda7a7917a76bcb777fd 100644 --- a/man/hookc.1 +++ b/man/hookc.1 @@ -1,5 +1,5 @@ .\" SPDX-License-Identifier: AGPL-3.0-only -.\" SPDX-FileContributor: Runxi Yu +.\" SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu .Dd March 30, 2025 .Dt HOOKC 1 .Os Lindenii Forge diff --git a/readme_to_html.go b/readme_to_html.go index 91312079ade129258c3e6ec662c94df3a6716516..22f23a18e799efceba64d93d1f4c916b86bae080 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/remote_url.go b/remote_url.go index f5ebfcd2b5435ac35b682ed7b9c4491c35a9f1d8..9ddc54878741b6218333e17f3c2dfdfc4e3bd2cf 100644 --- a/remote_url.go +++ b/remote_url.go @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-only -// SPDX-FileContributor: Runxi Yu +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/resources.go b/resources.go index b0db7ee16ad5ee74d478043b57dd5fa3b1c92002..015f33fe412257ffb7192f011a3849a133de926b 100644 --- a/resources.go +++ b/resources.go @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-only -// SPDX-FileContributor: Runxi Yu +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/scripts/update_deps b/scripts/update_deps index 6a640260b59890e2aefb83266fd16196e1c79936..e39ae6951120c82f5c11dc97c7d64c6f3a7b899c 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 +# SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu set -eux diff --git a/sql/purge.sql b/sql/purge.sql index 1bada454ebb2acdad83d51522f4ee46ba8fbc625..6699817d083dcf225df214ad6617fc116da07741 100644 --- a/sql/purge.sql +++ b/sql/purge.sql @@ -1,5 +1,5 @@ -- SPDX-License-Identifier: AGPL-3.0-only --- SPDX-FileContributor: Runxi Yu +-- SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu DROP SCHEMA public CASCADE; CREATE SCHEMA public; diff --git a/sql/schema.sql b/sql/schema.sql index 1a038aecac2c7d79c327e4c04501c45ea2993a45..72a4c6fb37d12b0870d72a828dd0c19f7dff7b61 100644 --- a/sql/schema.sql +++ b/sql/schema.sql @@ -1,5 +1,5 @@ -- SPDX-License-Identifier: AGPL-3.0-only --- SPDX-FileContributor: Runxi Yu +-- SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu CREATE TABLE groups ( id INTEGER GENERATED ALWAYS AS IDENTITY PRIMARY KEY, diff --git a/sql/test.sql b/sql/test.sql index 2ad621c035663dafdfdebfc24857f9c9bbfa1441..a016df97b40ef862cd638f21315d0d2f3e98a2a9 100644 --- a/sql/test.sql +++ b/sql/test.sql @@ -1,5 +1,5 @@ -- SPDX-License-Identifier: AGPL-3.0-only --- SPDX-FileContributor: Runxi Yu +-- SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu WITH parent_group AS ( INSERT INTO groups (name, description) diff --git a/ssh_handle_receive_pack.go b/ssh_handle_receive_pack.go index e42bca4e09b0ec492480631e91febfb2c8542590..0b3c19affb0bab50fc7fb5c3c33aeac08b487c8d 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/ssh_handle_upload_pack.go b/ssh_handle_upload_pack.go index f0edee2e19c861f715a59dcba5c4da6b9a5cfd0d..d732a72f591eab38ce1653038791aabf8f718081 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 +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/ssh_server.go b/ssh_server.go index 8fc39182905813a500ca1dea5077c4beef330981..8afbd2aed18dad0c009c340a2417d74dede5c08d 100644 --- a/ssh_server.go +++ b/ssh_server.go @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-only -// SPDX-FileContributor: Runxi Yu +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/ssh_utils.go b/ssh_utils.go index 562234ef06a093f8ad01826a7fc9c13c2e7b39ba..ef6b33bb9882172f94eea70a99f0fd9f07bd3289 100644 --- a/ssh_utils.go +++ b/ssh_utils.go @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-only -// SPDX-FileContributor: Runxi Yu +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/static/chroma.css b/static/chroma.css index 8037dcbe67bac30ded74abdb6b004d3847d93e8f..1f7219a9cee8e79ed96c50e7030ed0ea76cb8eef 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 a33314fa18463d3b23c976a43622448dabdb2c75..626ebd59ca6676a9b0760399d566789ff2e9433a 100644 --- a/static/style.css +++ b/static/style.css @@ -1,8 +1,8 @@ /* * SPDX-License-Identifier: AGPL-3.0-only - * SPDX-FileContributor: Runxi Yu - * SPDX-FileContributor: luk3yx - * SPDX-FileContributor: Drew DeVault + * SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu + * SPDX-FileCopyrightText: Copyright (c) 2025 luk3yx + * SPDX-FileCopyrightText: Copyright (c) 2017-2025 Drew DeVault * * 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 d141ed507d4183faef9aefbf6a87c49b33c2c6a1..58ce7686c896e2c587caf2f19b920cac701217d0 100644 --- a/templates/400.tmpl +++ b/templates/400.tmpl @@ -1,6 +1,6 @@ {{/* SPDX-License-Identifier: AGPL-3.0-only - SPDX-FileContributor: Runxi Yu + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */}} {{- define "400" -}} diff --git a/templates/403.tmpl b/templates/403.tmpl index 62a265410388c0123e14923a670272fb62f3eb9c..86d551826cc0b73043e39774619f3e0290a9413a 100644 --- a/templates/403.tmpl +++ b/templates/403.tmpl @@ -1,6 +1,6 @@ {{/* SPDX-License-Identifier: AGPL-3.0-only - SPDX-FileContributor: Runxi Yu + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */}} {{- define "403" -}} diff --git a/templates/404.tmpl b/templates/404.tmpl index c994e1aebaa36bf06375f2192cbdd7415285997c..2eabb06568b55f0a4930ea8ad275635d8f79c88c 100644 --- a/templates/404.tmpl +++ b/templates/404.tmpl @@ -1,6 +1,6 @@ {{/* SPDX-License-Identifier: AGPL-3.0-only - SPDX-FileContributor: Runxi Yu + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */}} {{- define "404" -}} diff --git a/templates/451.tmpl b/templates/451.tmpl index 114fde668fefe3c7ea6500b98f9441059ec9a30a..ed6343ce38234ca6d4310cd75e20fa710159f5b3 100644 --- a/templates/451.tmpl +++ b/templates/451.tmpl @@ -1,6 +1,6 @@ {{/* SPDX-License-Identifier: AGPL-3.0-only - SPDX-FileContributor: Runxi Yu + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */}} {{- define "451" -}} diff --git a/templates/500.tmpl b/templates/500.tmpl index 2fe66b84e814e0e48d0bdf28b9efbc0b413159d9..3a540e667dd4ae7595da723c373a9372c7a9d59d 100644 --- a/templates/500.tmpl +++ b/templates/500.tmpl @@ -1,6 +1,6 @@ {{/* SPDX-License-Identifier: AGPL-3.0-only - SPDX-FileContributor: Runxi Yu + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */}} {{- define "500" -}} diff --git a/templates/501.tmpl b/templates/501.tmpl index b49bc36b27fb0541fe145754197162304e4b4617..b6ab2f040107af7b0ded127515133b86f3ae54cd 100644 --- a/templates/501.tmpl +++ b/templates/501.tmpl @@ -1,6 +1,6 @@ {{/* SPDX-License-Identifier: AGPL-3.0-only - SPDX-FileContributor: Runxi Yu + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */}} {{- define "501" -}} diff --git a/templates/_footer.tmpl b/templates/_footer.tmpl index 43611f51b54d353e187ffee846d9de5df90f8637..b0d02bd2ee568da741e4ac3fe99adb6ab06ff226 100644 --- a/templates/_footer.tmpl +++ b/templates/_footer.tmpl @@ -1,6 +1,6 @@ {{/* SPDX-License-Identifier: AGPL-3.0-only - SPDX-FileContributor: Runxi Yu + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */}} {{- define "footer" -}} Lindenii Forge diff --git a/templates/_group_path.tmpl b/templates/_group_path.tmpl index 8904563968696b57abc9dbd7be4fcc858edaafab..f5d3bf87bf345802a852d80c61600450fe2890a6 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 + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */}} {{- define "group_path_plain" -}} {{- $p := . -}} diff --git a/templates/_group_view.tmpl b/templates/_group_view.tmpl index dbfbe07139b37a6fd1e432606c8f0f66b10c1087..d72b55b4aeb6bc367f5255f30c78497ee7694006 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 + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */}} {{- define "group_view" -}} {{- if .subgroups -}} diff --git a/templates/_head.tmpl b/templates/_head.tmpl index 922be7a658a7fef4f67111edea8aff76afb1b3d0..96575fa475e86959bb60250e9cb9c595072d84eb 100644 --- a/templates/_head.tmpl +++ b/templates/_head.tmpl @@ -1,6 +1,6 @@ {{/* SPDX-License-Identifier: AGPL-3.0-only - SPDX-FileContributor: Runxi Yu + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */}} {{- define "head_common" -}} diff --git a/templates/_header.tmpl b/templates/_header.tmpl index 30162e58fc6c4314b8f6b29e3aa84e2372a1a660..f1222af4dab3e15363633836300d85c52c782f78 100644 --- a/templates/_header.tmpl +++ b/templates/_header.tmpl @@ -1,6 +1,6 @@ {{/* SPDX-License-Identifier: AGPL-3.0-only - SPDX-FileContributor: Runxi Yu + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */}} {{- define "header" -}}
diff --git a/templates/group.tmpl b/templates/group.tmpl index 7a9574a6e0960806ffc6afd882afc67d0dd18099..b15c3160c56b51899306d790acf4e47d9d90b6e0 100644 --- a/templates/group.tmpl +++ b/templates/group.tmpl @@ -1,6 +1,6 @@ {{/* SPDX-License-Identifier: AGPL-3.0-only - SPDX-FileContributor: Runxi Yu + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */}} {{- define "group" -}} {{- $group_path := .group_path -}} diff --git a/templates/index.tmpl b/templates/index.tmpl index 8f901f6d223d66de4f4cebbaf05afc8fb21f63f9..28eab37b23209b9e1fa00317eebc22021e50a60d 100644 --- a/templates/index.tmpl +++ b/templates/index.tmpl @@ -1,6 +1,6 @@ {{/* SPDX-License-Identifier: AGPL-3.0-only - SPDX-FileContributor: Runxi Yu + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */}} {{- define "index" -}} diff --git a/templates/login.tmpl b/templates/login.tmpl index 47c4fc403b867eba3bad795c9486c79489f3600c..1e26c82709184fc6baf137ea489b2e99b5dc0df7 100644 --- a/templates/login.tmpl +++ b/templates/login.tmpl @@ -1,6 +1,6 @@ {{/* SPDX-License-Identifier: AGPL-3.0-only - SPDX-FileContributor: Runxi Yu + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */}} {{- define "login" -}} diff --git a/templates/repo_branches.tmpl b/templates/repo_branches.tmpl index b06da10f6b626e82f7b7ba83a66a574bc6f4fb1b..d561e0c06b19a958b9c8953778783af583479f55 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 + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */}} {{- define "repo_branches" -}} {{- $root := . -}} diff --git a/templates/repo_commit.tmpl b/templates/repo_commit.tmpl index be71211d50571184ded0295466168a428b0e4aa4..470bba91f7bfff7da94d3fafdf88d53d351c385e 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 + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */}} {{- define "repo_commit" -}} {{- $root := . -}} diff --git a/templates/repo_contrib_index.tmpl b/templates/repo_contrib_index.tmpl index 671e0d33099f8e324b88c1add1b270ba10481f24..ddd86cfefeb8ee35504475f5f8b496e11533ea18 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 + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */}} {{- define "repo_contrib_index" -}} {{- $root := . -}} diff --git a/templates/repo_contrib_one.tmpl b/templates/repo_contrib_one.tmpl index 8e10e9b837512d8b4cf926857263e6aded03807e..a5f35d3f119d335c1b32adf295d708ea9e67693e 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 + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */}} {{- define "repo_contrib_one" -}} {{- $root := . -}} diff --git a/templates/repo_index.tmpl b/templates/repo_index.tmpl index 4726445fe094a2a093650717979ac4f1c36704a5..59efd15e33de1a7257a51078d0995e91cc36860d 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 + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */}} {{- define "repo_index" -}} {{- $root := . -}} diff --git a/templates/repo_log.tmpl b/templates/repo_log.tmpl index 41a091c2d95270cca3b6dab5beb9f6e696445015..b334439f643fb61bf6d3764cd370af08e776199d 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 + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */}} {{- define "repo_log" -}} {{- $root := . -}} diff --git a/templates/repo_raw_dir.tmpl b/templates/repo_raw_dir.tmpl index 927101b183519990fc705ee318be3b4f4ad4831a..c0df8fd118751fef7fb0b63be6795dabc87fbe3b 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 + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */}} {{- define "repo_raw_dir" -}} {{- $root := . -}} diff --git a/templates/repo_tree_dir.tmpl b/templates/repo_tree_dir.tmpl index bc7279a232302332e93a664861485504b02a83a9..3f430645e7d6cb2002f7913ab7adb6dc89ccea57 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 + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */}} {{- define "repo_tree_dir" -}} {{- $root := . -}} diff --git a/templates/repo_tree_file.tmpl b/templates/repo_tree_file.tmpl index 56159aaa123faf6b5f89b01133fd0e9597c33f8d..0d8c69ebc53e1b0ed7df02eef3143b4c2514f2f0 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 + SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */}} {{- define "repo_tree_file" -}} {{- $root := . -}} diff --git a/url.go b/url.go index a981a92c0ad556960739a13aa9bcb2f01d241c9d..f415c2dd46bdb95e055a5e72ddb8e68852e95cde 100644 --- a/url.go +++ b/url.go @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-only -// SPDX-FileContributor: Runxi Yu +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/users.go b/users.go index 47375bea3e8367d076299b2dde452250e8ea5c4a..5f5a4b2066cae73ae8d86245de6099832cb8a7f1 100644 --- a/users.go +++ b/users.go @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-only -// SPDX-FileContributor: Runxi Yu +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main diff --git a/utils.go b/utils.go index 965a83982115de2b97e1471f0572c471c2ea6a1a..bac82323581f28666a5a2d0ae47b2e7a322833cf 100644 --- a/utils.go +++ b/utils.go @@ -1,5 +1,5 @@ // SPDX-License-Identifier: AGPL-3.0-only -// SPDX-FileContributor: Runxi Yu +// SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu package main -- 2.48.1