aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--acl.go3
-rw-r--r--config.go3
-rw-r--r--database.go3
-rw-r--r--git_format_patch.go3
-rw-r--r--git_hooks_deploy.go3
-rw-r--r--git_hooks_handle.go3
-rw-r--r--git_init.go3
-rw-r--r--git_misc.go3
-rw-r--r--git_ref.go3
-rw-r--r--http_auth.go3
-rw-r--r--http_global.go3
-rw-r--r--http_handle_group_index.go3
-rw-r--r--http_handle_index.go3
-rw-r--r--http_handle_login.go3
-rw-r--r--http_handle_repo_commit.go3
-rw-r--r--http_handle_repo_contrib_index.go3
-rw-r--r--http_handle_repo_contrib_one.go3
-rw-r--r--http_handle_repo_index.go3
-rw-r--r--http_handle_repo_info.go3
-rw-r--r--http_handle_repo_log.go3
-rw-r--r--http_handle_repo_raw.go3
-rw-r--r--http_handle_repo_tree.go3
-rw-r--r--http_handle_repo_upload_pack.go3
-rw-r--r--http_handle_users.go3
-rw-r--r--http_render_readme.go3
-rw-r--r--http_server.go3
-rw-r--r--http_template.go3
-rw-r--r--http_template_funcs.go3
-rw-r--r--main.go3
-rw-r--r--remote_url.go3
-rw-r--r--resources.go3
-rw-r--r--ssh_handle_receive_pack.go3
-rw-r--r--ssh_handle_upload_pack.go3
-rw-r--r--ssh_server.go3
-rw-r--r--ssh_utils.go3
-rw-r--r--url.go3
-rw-r--r--users.go3
37 files changed, 111 insertions, 0 deletions
diff --git a/acl.go b/acl.go
index 414e102..a629da6 100644
--- a/acl.go
+++ b/acl.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/config.go b/config.go
index 78c2cc4..36ae521 100644
--- a/config.go
+++ b/config.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/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 (
diff --git a/git_ref.go b/git_ref.go
index ce4e067..dbfe1fa 100644
--- a/git_ref.go
+++ b/git_ref.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_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 (
diff --git a/main.go b/main.go
index 9f1606b..0750303 100644
--- a/main.go
+++ b/main.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/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 (
diff --git a/url.go b/url.go
index ea11555..d391de2 100644
--- a/url.go
+++ b/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/users.go b/users.go
index 9ac0798..884fac1 100644
--- a/users.go
+++ b/users.go
@@ -1,3 +1,6 @@
+// SPDX-License-Identifier: AGPL-3.0-only
+// SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
+
package main
import (