diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-03 21:14:55 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-03 21:14:55 +0800 |
commit | 446de568db01780443d91d0dfb16c129497709db (patch) | |
tree | 9dfd21a0d7d537a931d314f9770374efb70c5ab5 | |
parent | README: Update (diff) | |
download | forge-446de568db01780443d91d0dfb16c129497709db.tar.gz forge-446de568db01780443d91d0dfb16c129497709db.tar.zst forge-446de568db01780443d91d0dfb16c129497709db.zip |
Add SPDX license headers to all Go files
Diffstat (limited to '')
37 files changed, 111 insertions, 0 deletions
@@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/database.go b/database.go index e2591d2..14e19c0 100644 --- a/database.go +++ b/database.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/git_format_patch.go b/git_format_patch.go index 2ebd2c2..ecec6d9 100644 --- a/git_format_patch.go +++ b/git_format_patch.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/git_hooks_deploy.go b/git_hooks_deploy.go index 7ac24c2..99e5464 100644 --- a/git_hooks_deploy.go +++ b/git_hooks_deploy.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/git_hooks_handle.go b/git_hooks_handle.go index 59d29c7..47e856c 100644 --- a/git_hooks_handle.go +++ b/git_hooks_handle.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/git_init.go b/git_init.go index 10b0382..2e10633 100644 --- a/git_init.go +++ b/git_init.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/git_misc.go b/git_misc.go index 2827c17..80ac6e8 100644 --- a/git_misc.go +++ b/git_misc.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/http_auth.go b/http_auth.go index eb6e604..b88fb45 100644 --- a/http_auth.go +++ b/http_auth.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/http_global.go b/http_global.go index ac66069..20a1cbc 100644 --- a/http_global.go +++ b/http_global.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main // global_data is passed as "global" when rendering HTML templates. diff --git a/http_handle_group_index.go b/http_handle_group_index.go index a7d0879..7bb3c14 100644 --- a/http_handle_group_index.go +++ b/http_handle_group_index.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/http_handle_index.go b/http_handle_index.go index 6a870c2..9d424c7 100644 --- a/http_handle_index.go +++ b/http_handle_index.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/http_handle_login.go b/http_handle_login.go index 5aed680..545cc85 100644 --- a/http_handle_login.go +++ b/http_handle_login.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/http_handle_repo_commit.go b/http_handle_repo_commit.go index 0e57002..ba09d25 100644 --- a/http_handle_repo_commit.go +++ b/http_handle_repo_commit.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/http_handle_repo_contrib_index.go b/http_handle_repo_contrib_index.go index e864dfa..2e0dc1d 100644 --- a/http_handle_repo_contrib_index.go +++ b/http_handle_repo_contrib_index.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/http_handle_repo_contrib_one.go b/http_handle_repo_contrib_one.go index 8926155..43c8996 100644 --- a/http_handle_repo_contrib_one.go +++ b/http_handle_repo_contrib_one.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/http_handle_repo_index.go b/http_handle_repo_index.go index cd41f50..d83739e 100644 --- a/http_handle_repo_index.go +++ b/http_handle_repo_index.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/http_handle_repo_info.go b/http_handle_repo_info.go index 2927982..5ff8c58 100644 --- a/http_handle_repo_info.go +++ b/http_handle_repo_info.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/http_handle_repo_log.go b/http_handle_repo_log.go index f2c96b4..52762a3 100644 --- a/http_handle_repo_log.go +++ b/http_handle_repo_log.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/http_handle_repo_raw.go b/http_handle_repo_raw.go index 6c4550c..68b69f6 100644 --- a/http_handle_repo_raw.go +++ b/http_handle_repo_raw.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/http_handle_repo_tree.go b/http_handle_repo_tree.go index 10dc2a1..a6173ae 100644 --- a/http_handle_repo_tree.go +++ b/http_handle_repo_tree.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/http_handle_repo_upload_pack.go b/http_handle_repo_upload_pack.go index a19b081..95003f7 100644 --- a/http_handle_repo_upload_pack.go +++ b/http_handle_repo_upload_pack.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/http_handle_users.go b/http_handle_users.go index bf5939e..8a66d56 100644 --- a/http_handle_users.go +++ b/http_handle_users.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/http_render_readme.go b/http_render_readme.go index 497b3ec..0cd80fa 100644 --- a/http_render_readme.go +++ b/http_render_readme.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/http_server.go b/http_server.go index 2a92f76..1d91874 100644 --- a/http_server.go +++ b/http_server.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/http_template.go b/http_template.go index 96338a3..be175f1 100644 --- a/http_template.go +++ b/http_template.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import "net/http" diff --git a/http_template_funcs.go b/http_template_funcs.go index 19a92ec..119a800 100644 --- a/http_template_funcs.go +++ b/http_template_funcs.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/remote_url.go b/remote_url.go index 8a192a8..e478324 100644 --- a/remote_url.go +++ b/remote_url.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/resources.go b/resources.go index 81830a4..6c3cece 100644 --- a/resources.go +++ b/resources.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/ssh_handle_receive_pack.go b/ssh_handle_receive_pack.go index 971d11c..27a60f7 100644 --- a/ssh_handle_receive_pack.go +++ b/ssh_handle_receive_pack.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/ssh_handle_upload_pack.go b/ssh_handle_upload_pack.go index a62f918..3332631 100644 --- a/ssh_handle_upload_pack.go +++ b/ssh_handle_upload_pack.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/ssh_server.go b/ssh_server.go index f6cb542..59df15a 100644 --- a/ssh_server.go +++ b/ssh_server.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( diff --git a/ssh_utils.go b/ssh_utils.go index 6074dff..b3f048c 100644 --- a/ssh_utils.go +++ b/ssh_utils.go @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( @@ -1,3 +1,6 @@ +// SPDX-License-Identifier: AGPL-3.0-only +// SPDX-FileContributor: Runxi Yu <https://runxiyu.org> + package main import ( |